diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-10-24 21:37:06 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-10-24 21:37:06 +0000 |
commit | 75f2c20983b5f6893f243c31df0b9b0c07f5a0b3 (patch) | |
tree | b4967d37efca6905080d9c7fc25336b8ec8aa878 /libavcodec | |
parent | 4599d22c0cd7fa952bc02375d2899d8c9a31b9ae (diff) | |
download | ffmpeg-75f2c20983b5f6893f243c31df0b9b0c07f5a0b3.tar.gz |
spelling cosmetics
Originally committed as revision 15681 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dv.c | 14 | ||||
-rw-r--r-- | libavcodec/dvdata.h | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 7360f66527..75aaf014d6 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -138,7 +138,7 @@ static av_cold int dvvideo_init(AVCodecContext *avctx) done = 1; - /* dv_anchor lets each thread know its Id */ + /* dv_anchor lets each thread know its ID */ for (i=0; i<DV_ANCHOR_SIZE; i++) dv_anchor[i] = (void*)(size_t)i; @@ -967,7 +967,7 @@ static inline void dv_encode_video_segment(DVVideoContext *s, } } - /* Third and final pass over the whole vides segment space */ + /* Third and final pass over the whole video segment space */ pb= &pbs[0]; for (j=0; j<5*6; j++) { if (enc_blks[j].partial_bit_count) @@ -1119,7 +1119,7 @@ static inline int dv_write_pack(enum dv_pack_type pack_id, DVVideoContext *c, ui buf[1] = 0xff; /* reserved -- always 1 */ buf[2] = (1 << 7) | /* B/W: 0 - b/w, 1 - color */ (1 << 6) | /* following CLF is valid - 0, invalid - 1 */ - (3 << 4) | /* CLF: color frames id (see ITU-R BT.470-4) */ + (3 << 4) | /* CLF: color frames ID (see ITU-R BT.470-4) */ 0xf; /* reserved -- always 1 */ buf[3] = (3 << 6) | /* reserved -- always 1 */ (c->sys->dsf << 5) | /* system: 60fields/50fields */ @@ -1131,9 +1131,9 @@ static inline int dv_write_pack(enum dv_pack_type pack_id, DVVideoContext *c, ui 0x3f; /* reserved -- always 1 */ buf[2] = 0xc8 | /* reserved -- always b11001xxx */ aspect; - buf[3] = (1 << 7) | /* Frame/field flag 1 -- frame, 0 -- field */ - (1 << 6) | /* First/second field flag 0 -- field 2, 1 -- field 1 */ - (1 << 5) | /* Frame change flag 0 -- same picture as before, 1 -- different */ + buf[3] = (1 << 7) | /* frame/field flag 1 -- frame, 0 -- field */ + (1 << 6) | /* first/second field flag 0 -- field 2, 1 -- field 1 */ + (1 << 5) | /* frame change flag 0 -- same picture as before, 1 -- different */ (1 << 4) | /* 1 - interlaced, 0 - noninterlaced */ 0xc; /* reserved -- always b1100 */ buf[4] = 0xff; /* reserved -- always 1 */ @@ -1151,7 +1151,7 @@ static void dv_format_frame(DVVideoContext* c, uint8_t* buf) for (chan = 0; chan < c->sys->n_difchan; chan++) { for (i = 0; i < c->sys->difseg_size; i++) { - memset(buf, 0xff, 80 * 6); /* First 6 DIF blocks are for control data */ + memset(buf, 0xff, 80 * 6); /* first 6 DIF blocks are for control data */ /* DV header: 1DIF */ buf += dv_write_dif_id(dv_sect_header, chan, i, 0, buf); diff --git a/libavcodec/dvdata.h b/libavcodec/dvdata.h index 5bc21bccde..6d0f90e9d4 100644 --- a/libavcodec/dvdata.h +++ b/libavcodec/dvdata.h @@ -6073,7 +6073,7 @@ static const int dv_iweight_248[64] = { }; /** - * the "inverse" DV100 weights are actually just the spec weights (zig-zagged) + * The "inverse" DV100 weights are actually just the spec weights (zig-zagged). */ static const int dv_iweight_1080_y[64] = { 128, 16, 16, 17, 17, 17, 18, 18, |