summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uvideo.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2008-08-02 21:52:38 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2008-08-02 21:52:38 +0000
commit019b530f92f1bdb6b05864ee38f79af88cec93ca (patch)
treefa6b7bd83e8744ea43e24fdad8ffc1f0383a78b7 /sys/dev/usb/uvideo.h
parent18d44e7c5370e87d46ed73fea60ebc7498089c55 (diff)
Use correct terms as in the specs;
"fragment" gets replaced by "sample". "sample" gets replaced by "frame". A sample is a peace of a frame (final image). No functional changes. OK deraadt@
Diffstat (limited to 'sys/dev/usb/uvideo.h')
-rw-r--r--sys/dev/usb/uvideo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/uvideo.h b/sys/dev/usb/uvideo.h
index 21b9aa5952e..0132e82150e 100644
--- a/sys/dev/usb/uvideo.h
+++ b/sys/dev/usb/uvideo.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvideo.h,v 1.26 2008/07/31 15:26:25 mglocker Exp $ */
+/* $OpenBSD: uvideo.h,v 1.27 2008/08/02 21:52:37 mglocker Exp $ */
/*
* Copyright (c) 2007 Robert Nagy <robert@openbsd.org>
@@ -390,8 +390,8 @@ struct uvideo_vs_iface {
int iface;
};
-struct uvideo_sample_buffer {
- int fragment;
+struct uvideo_frame_buffer {
+ int sample;
uint8_t fid;
int offset;
int buf_size;
@@ -483,7 +483,7 @@ struct uvideo_softc {
u_int32_t clock_frequency;
u_int32_t quirks;
- struct uvideo_sample_buffer sc_sample_buffer;
+ struct uvideo_frame_buffer sc_frame_buffer;
struct uvideo_mmap sc_mmap[UVIDEO_MAX_BUFFERS];
uint8_t *sc_mmap_buffer;