[FFmpeg-cvslog] r12554 - in trunk: libavcodec/4xm.c libavcodec/error_resilience.c libavcodec/i386/mpegvideo_mmx_template.c libavcodec/ratecontrol.c libpostproc/postprocess.c libpostproc/postprocess_template.c

diego subversion
Sat Mar 22 17:46:37 CET 2008


Author: diego
Date: Sat Mar 22 17:46:36 2008
New Revision: 12554

Log:
cosmetics: typo fixes


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

Modified: trunk/libavcodec/4xm.c
==============================================================================
--- trunk/libavcodec/4xm.c	(original)
+++ trunk/libavcodec/4xm.c	Sat Mar 22 17:46:36 2008
@@ -405,7 +405,7 @@ static int decode_p_frame(FourXContext *
 
 /**
  * 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;

Modified: trunk/libavcodec/error_resilience.c
==============================================================================
--- trunk/libavcodec/error_resilience.c	(original)
+++ trunk/libavcodec/error_resilience.c	Sat Mar 22 17:46:36 2008
@@ -561,7 +561,7 @@ static int is_intra_more_likely(MpegEncC
             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

Modified: trunk/libavcodec/i386/mpegvideo_mmx_template.c
==============================================================================
--- trunk/libavcodec/i386/mpegvideo_mmx_template.c	(original)
+++ trunk/libavcodec/i386/mpegvideo_mmx_template.c	Sat Mar 22 17:46:36 2008
@@ -96,7 +96,7 @@ static int RENAME(dct_quantize)(MpegEncC
                             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]);
 

Modified: trunk/libavcodec/ratecontrol.c
==============================================================================
--- trunk/libavcodec/ratecontrol.c	(original)
+++ trunk/libavcodec/ratecontrol.c	Sat Mar 22 17:46:36 2008
@@ -121,7 +121,7 @@ int ff_rate_control_init(MpegEncContext 
         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;

Modified: trunk/libpostproc/postprocess.c
==============================================================================
--- trunk/libpostproc/postprocess.c	(original)
+++ trunk/libpostproc/postprocess.c	Sat Mar 22 17:46:36 2008
@@ -50,7 +50,7 @@ TempDeNoiser#           E               
 * 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"

Modified: trunk/libpostproc/postprocess_template.c
==============================================================================
--- trunk/libpostproc/postprocess_template.c	(original)
+++ trunk/libpostproc/postprocess_template.c	Sat Mar 22 17:46:36 2008
@@ -606,7 +606,7 @@ static inline void RENAME(doVertDefFilte
     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"




More information about the ffmpeg-cvslog mailing list