]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
cosmetics: typo fixes
authordiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 22 Mar 2008 16:46:36 +0000 (16:46 +0000)
committerdiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 22 Mar 2008 16:46:36 +0000 (16:46 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12554 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/4xm.c
libavcodec/error_resilience.c
libavcodec/i386/mpegvideo_mmx_template.c
libavcodec/ratecontrol.c
libpostproc/postprocess.c
libpostproc/postprocess_template.c

index 71954d8c18f0520200754edd77067a455eed33cb..d32ee1c825552043f80f1ced7a623a62bdfaee05 100644 (file)
@@ -405,7 +405,7 @@ static int decode_p_frame(FourXContext *f, const uint8_t *buf, int length){
 
 /**
  * decode block and dequantize.
- * Note this is allmost identical to mjpeg
+ * Note this is almost identical to MJPEG.
  */
 static int decode_i_block(FourXContext *f, DCTELEM *block){
     int code, i, j, level, val;
index e51390536a9118038e2e86a5797b6438146e6889..59254a4146fb34bd7dd7c87b2b367d627d01e3db 100644 (file)
@@ -561,7 +561,7 @@ static int is_intra_more_likely(MpegEncContext *s){
             undamaged_count++;
     }
 
-    if(undamaged_count < 5) return 0; //allmost all MBs damaged -> use temporal prediction
+    if(undamaged_count < 5) return 0; //almost all MBs damaged -> use temporal prediction
 
 #ifdef HAVE_XVMC
     //prevent dsp.sad() check, that requires access to the image
index 9c9c763b219f89ef87410f86529d9734f4f110a8..7d8d278c9fa516e9bc920ef3a46c43618e87fa9d 100644 (file)
@@ -96,7 +96,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
                             int qscale, int *overflow)
 {
     long last_non_zero_p1;
-    int level=0, q; //=0 is cuz gcc says uninitialized ...
+    int level=0, q; //=0 is because gcc says uninitialized ...
     const uint16_t *qmat, *bias;
     DECLARE_ALIGNED_16(int16_t, temp_block[64]);
 
index 509d33e2c2911cbe47c54d4aa0ce4f8626ebcd70..d182c4a8844c772d9c9e7e9fb71fa5ce0a0a9ba2 100644 (file)
@@ -121,7 +121,7 @@ int ff_rate_control_init(MpegEncContext *s)
         rcc->p_cplx_sum [i]=
         rcc->mv_bits_sum[i]=
         rcc->qscale_sum [i]=
-        rcc->frame_count[i]= 1; // 1 is better cuz of 1/0 and such
+        rcc->frame_count[i]= 1; // 1 is better because of 1/0 and such
         rcc->last_qscale_for[i]=FF_QP2LAMBDA * 5;
     }
     rcc->buffer_index= s->avctx->rc_initial_buffer_occupancy;
index 7ee3c0e9813e9d2fe53ec5da3d7dc789f159a316..3d86da465a14bdbd594f414d68cd8ceaea6dd404 100644 (file)
@@ -50,7 +50,7 @@ TempDeNoiser#           E               e       e       Ec
 * I do not have a 3DNow! CPU -> it is untested, but no one said it does not work so it seems to work
 # more or less selfinvented filters so the exactness is not too meaningful
 E = Exact implementation
-e = allmost exact implementation (slightly different rounding,...)
+e = almost exact implementation (slightly different rounding,...)
 a = alternative / approximate impl
 c = checked against the other implementations (-vo md5)
 p = partially optimized, still some work to do
@@ -178,7 +178,8 @@ static inline void prefetcht2(void *p)
 }
 #endif
 
-// The horizontal Functions exist only in C cuz the MMX code is faster with vertical filters and transposing
+/* The horizontal functions exist only in C because the MMX
+ * code is faster with vertical filters and transposing. */
 
 /**
  * Check if the given 8x8 Block is mostly "flat"
index a7969785981a0c495a04afbc333a9a923dde6971..92a053c24bb060992908ea420743422b35ee963f 100644 (file)
@@ -606,7 +606,7 @@ static inline void RENAME(doVertDefFilter)(uint8_t src[], int stride, PPContext
     src+= stride*4;
     asm volatile(
 
-#if 0 //sligtly more accurate and slightly slower
+#if 0 //slightly more accurate and slightly slower
         "pxor %%mm7, %%mm7                      \n\t" // 0
         "lea (%0, %1), %%"REG_a"                \n\t"
         "lea (%%"REG_a", %1, 4), %%"REG_c"      \n\t"