# HG changeset patch # User diego # Date 1196610188 0 # Node ID 15ed47af183868a7dd72c2c92fef58d6255c1669 # Parent 1275461ae6f88ff3c9fe81de83e4764ec6007881 Misc spelling fixes, prefer American over British English. diff -r 1275461ae6f8 -r 15ed47af1838 ac3dec.c --- a/ac3dec.c Sun Dec 02 14:06:28 2007 +0000 +++ b/ac3dec.c Sun Dec 02 15:43:08 2007 +0000 @@ -73,7 +73,7 @@ /** dynamic range table. converts codes to scale factors. */ static float dynrng_tab[256]; -/** dialogue normalization table */ +/** dialog normalization table */ static float dialnorm_tab[32]; /** Adjustments in dB gain */ @@ -161,7 +161,7 @@ int out_channels; ///< number of output channels float downmix_coeffs[AC3_MAX_CHANNELS][2]; ///< stereo downmix coefficients - float dialnorm[2]; ///< dialogue normalization + float dialnorm[2]; ///< dialog normalization float dynrng[2]; ///< dynamic range float cplco[AC3_MAX_CHANNELS][18]; ///< coupling coordinates int ncplbnd; ///< number of coupling bands @@ -276,7 +276,7 @@ dynrng_tab[i] = powf(2.0f, v) * ((i & 0x1F) | 0x20); } - /* generate dialogue normalization table + /* generate dialog normalization table references: Section 5.4.2.8 dialnorm Section 7.6 Dialogue Normalization */ for(i=1; i<32; i++) { @@ -382,7 +382,7 @@ /* read the rest of the bsi. read twice for dual mono mode. */ i = !(ctx->acmod); do { - ctx->dialnorm[i] = dialnorm_tab[get_bits(gb, 5)]; // dialogue normalization + ctx->dialnorm[i] = dialnorm_tab[get_bits(gb, 5)]; // dialog normalization if (get_bits1(gb)) skip_bits(gb, 8); //skip compression if (get_bits1(gb)) diff -r 1275461ae6f8 -r 15ed47af1838 armv4l/simple_idct_arm.S --- a/armv4l/simple_idct_arm.S Sun Dec 02 14:06:28 2007 +0000 +++ b/armv4l/simple_idct_arm.S Sun Dec 02 15:43:08 2007 +0000 @@ -79,7 +79,7 @@ __row_loop: - @@ read the row and check if it is null, almost null, or not, according to strongarm specs, it is not necessary to optimise ldr accesses (i.e. split 32bits in 2 16bits words), at least it gives more usable registers :) + @@ read the row and check if it is null, almost null, or not, according to strongarm specs, it is not necessary to optimize ldr accesses (i.e. split 32bits in 2 16bits words), at least it gives more usable registers :) ldr r1, [r14, #0] @ R1=(int32)(R12)[0]=ROWr32[0] (relative row cast to a 32b pointer) ldr r2, [r14, #4] @ R2=(int32)(R12)[1]=ROWr32[1] ldr r3, [r14, #8] @ R3=ROWr32[2] @@ -421,7 +421,7 @@ @@ col[40] = ((a2 - b2) >> COL_SHIFT); @@ col[48] = ((a1 - b1) >> COL_SHIFT); @@ col[56] = ((a0 - b0) >> COL_SHIFT); - @@@@@ no optimisation here @@@@@ + @@@@@ no optimization here @@@@@ add r8, r6, r0 @ R8=a0+b0 add r9, r2, r1 @ R9=a1+b1 mov r8, r8, asr #COL_SHIFT diff -r 1275461ae6f8 -r 15ed47af1838 avcodec.h --- a/avcodec.h Sun Dec 02 14:06:28 2007 +0000 +++ b/avcodec.h Sun Dec 02 15:43:08 2007 +0000 @@ -2039,11 +2039,11 @@ * - decoding: unused */ int partitions; -#define X264_PART_I4X4 0x001 /* Analyse i4x4 */ -#define X264_PART_I8X8 0x002 /* Analyse i8x8 (requires 8x8 transform) */ -#define X264_PART_P8X8 0x010 /* Analyse p16x8, p8x16 and p8x8 */ -#define X264_PART_P4X4 0x020 /* Analyse p8x4, p4x8, p4x4 */ -#define X264_PART_B8X8 0x100 /* Analyse b16x8, b8x16 and b8x8 */ +#define X264_PART_I4X4 0x001 /* Analyze i4x4 */ +#define X264_PART_I8X8 0x002 /* Analyze i8x8 (requires 8x8 transform) */ +#define X264_PART_P8X8 0x010 /* Analyze p16x8, p8x16 and p8x8 */ +#define X264_PART_P4X4 0x020 /* Analyze p8x4, p4x8, p4x4 */ +#define X264_PART_B8X8 0x100 /* Analyze b16x8, b8x16 and b8x8 */ /** * direct MV prediction mode - 0 (none), 1 (spatial), 2 (temporal) diff -r 1275461ae6f8 -r 15ed47af1838 i386/cavsdsp_mmx.c --- a/i386/cavsdsp_mmx.c Sun Dec 02 14:06:28 2007 +0000 +++ b/i386/cavsdsp_mmx.c Sun Dec 02 15:43:08 2007 +0000 @@ -2,7 +2,7 @@ * Chinese AVS video (AVS1-P2, JiZhun profile) decoder. * Copyright (c) 2006 Stefan Gehrer * - * MMX optimized DSP functions, based on H.264 optimizations by + * MMX-optimized DSP functions, based on H.264 optimizations by * Michael Niedermayer and Loren Merritt * * This file is part of FFmpeg. diff -r 1275461ae6f8 -r 15ed47af1838 rv34data.h --- a/rv34data.h Sun Dec 02 14:06:28 2007 +0000 +++ b/rv34data.h Sun Dec 02 15:43:08 2007 +0000 @@ -37,7 +37,7 @@ }; /** - * Values used to reconstruct coded block pattern. + * values used to reconstruct coded block pattern */ static const uint8_t rv34_cbp_code[16] = { 0x00, 0x20, 0x10, 0x30, 0x02, 0x22, 0x12, 0x32, diff -r 1275461ae6f8 -r 15ed47af1838 sparc/dsputil_vis.c --- a/sparc/dsputil_vis.c Sun Dec 02 14:06:28 2007 +0000 +++ b/sparc/dsputil_vis.c Sun Dec 02 15:43:08 2007 +0000 @@ -3999,7 +3999,7 @@ /* libavcodec initialization code */ void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx) { - /* VIS specific optimizations */ + /* VIS-specific optimizations */ int accel = vis_level (); if (accel & ACCEL_SPARC_VIS) { diff -r 1275461ae6f8 -r 15ed47af1838 vmnc.c --- a/vmnc.c Sun Dec 02 14:06:28 2007 +0000 +++ b/vmnc.c Sun Dec 02 15:43:08 2007 +0000 @@ -169,7 +169,7 @@ } } -/* fill rectangle with given colour */ +/* fill rectangle with given color */ static av_always_inline void paint_rect(uint8_t *dst, int dx, int dy, int w, int h, int color, int bpp, int stride) { int i, j;