]> granicus.if.org Git - libx264/commitdiff
fix: "x264 -A all" didn't include b8x8 types.
authorLoren Merritt <pengvado@videolan.org>
Wed, 5 Jan 2005 07:08:40 +0000 (07:08 +0000)
committerLoren Merritt <pengvado@videolan.org>
Wed, 5 Jan 2005 07:08:40 +0000 (07:08 +0000)
add: "make NDEBUG=1" to strip library
update TODO with B-frame status

git-svn-id: svn://svn.videolan.org/x264/trunk@84 df754926-b1dd-0310-bc7b-ec298dee348c

Makefile
TODO
x264.c

index 213075289c9eedf87dfc58645d436a01cac4b1ae..be7c3adef512db3a82caaa82c4e4fbc4d6e7b53d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,12 @@ OBJASM= $(ASMSRC:%.asm=%.o)
 endif
 
 CC=gcc
-CFLAGS=-g -Wall -I. -DDEBUG -O4 -funroll-loops -D__X264__ $(PFLAGS)
+CFLAGS=-Wall -I. -O4 -funroll-loops -D__X264__ $(PFLAGS)
+ifdef NDEBUG
+CFLAGS+=-s -DNDEBUG
+else
+CFLAGS+=-g -DDEBUG
+endif
 
 AS= nasm
 # for linux
diff --git a/TODO b/TODO
index dba8846c9668d4c1ce6e3f6f6009e56b2e8847f1..2b65446efd8596a177e93d0ddd453e881533e314 100644 (file)
--- a/TODO
+++ b/TODO
@@ -20,16 +20,16 @@ General:
 
  * Inter coding:
     - D_4x8 D_8x4 and D_4x4 ME P block -> done but too slow.
-    - B_ types.
-    - scene change detection.
+    - B_SUB8x8 types.
+    - better SKIP detection.
     - long terme ?
     - ...
 
- * B frame: B_L0/L1/BI work in cavlc (need more testing).
-    -> need to do all others mb type (first B_DIRECT and B_SKIP)
-    -> cabac
-    -> look at weighted prediction (should give bettter result)
+ * B frame: B_L0/L1/BI/SKIP/DIRECT work (need more testing).
+    -> adaptive placement of B-frames
+    -> look at weighted prediction (should give better result)
     -> better analyse algo (as always ;)
+    -> joint motion estimation of BI types
 
  * Speed issue (oprofile is your friend)
     - mc.c:30% and pixel.c:20% (mc is used by ME)
diff --git a/x264.c b/x264.c
index a9ba4906920ef0e9541be3c25e797cb5d964251d..bd630e55618887347ee62348624ba58600bf11a0 100644 (file)
--- a/x264.c
+++ b/x264.c
@@ -365,7 +365,7 @@ static int  Parse( int argc, char **argv,
             case 'A':
                 param->analyse.inter = 0;
                 if( strstr( optarg, "none" ) )  param->analyse.inter = 0x000000;
-                if( strstr( optarg, "all" ) )   param->analyse.inter = X264_ANALYSE_I4x4|X264_ANALYSE_PSUB16x16|X264_ANALYSE_PSUB8x8;
+                if( strstr( optarg, "all" ) )   param->analyse.inter = X264_ANALYSE_I4x4|X264_ANALYSE_PSUB16x16|X264_ANALYSE_PSUB8x8|X264_ANALYSE_BSUB16x16;
 
                 if( strstr( optarg, "i4x4" ) )      param->analyse.inter |= X264_ANALYSE_I4x4;
                 if( strstr( optarg, "psub16x16" ) ) param->analyse.inter |= X264_ANALYSE_PSUB16x16;
@@ -407,7 +407,7 @@ static int  Parse( int argc, char **argv,
                     param->rc.b_stat_write = 1;
                 else if( i_pass == 2 )
                     param->rc.b_stat_read = 1;
-                else if( i_pass > 2 )   /* XXX untested */
+                else if( i_pass > 2 )
                     param->rc.b_stat_read =
                     param->rc.b_stat_write = 1;
                 break;