[Ffmpeg-devel] H264 decoding problem
Evgeniy Stepanov
eugeni.stepanov
Fri Oct 13 15:21:43 CEST 2006
On Friday 13 October 2006 11:33, Guillaume POIRIER wrote:
> Well it compiles and produces a binary that decodes CABAC just fine
> with and without that option.
>
> Thanks a lot Michael for the speed of the fix, and for the work on
> optimizing CABAC.
>
> If you have time, I think it would be quite interesting if you could
> write a blog entry on the approach you followed to optimize cabac.
It might be an unrelated problem, but since several days ago h264.c does not
compile without -fomit-frame-pointer. Athlon-xp, gcc-4.1.2. Log attached.
-------------- next part --------------
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -W -Wall -Wno-unused-parameter -O2 -march=athlon-xp -mtune=athlon-xp -g3 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/include/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/include/dvdnav -I/usr/include/freetype2 -I/usr/include -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock -c -o h264.o h264.c
In file included from h264.c:36:
cabac.h:362: warning: 'inline' is not at beginning of declaration
h264.c: In function 'hl_decode_mb':
h264.c:3661: warning: suggest parentheses around arithmetic in operand of ^
h264.c:3667: warning: suggest parentheses around arithmetic in operand of ^
h264.c: In function 'print_short_term':
h264.c:4326: warning: comparison between signed and unsigned
h264.c: At top level:
h264.c:6010: warning: 'inline' is not at beginning of declaration
h264.c:6191: warning: 'inline' is not at beginning of declaration
h264.c: In function 'filter_mb_fast':
h264.c:7074: warning: dereferencing type-punned pointer will break strict-aliasing rules
h264.c: In function 'decode_unregistered_user_data':
h264.c:7566: warning: comparison between signed and unsigned
h264.c:7571: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness
h264.c: At top level:
h264.c:8625: warning: missing initializer
h264.c:8625: warning: (near initialization for 'h264_parser.next')
In file included from h264.c:8628:
svq3.c: In function 'svq3_decode_block':
svq3.c:224: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_mc_dir':
svq3.c:374: warning: comparison between signed and unsigned
svq3.c:374: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_decode_mb':
svq3.c:450: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_decode_slice_header':
svq3.c:741: warning: comparison between signed and unsigned
svq3.c: At top level:
svq3.c:1014: warning: missing initializer
svq3.c:1014: warning: (near initialization for 'svq3_decoder.next')
cabac.h:105: warning: 'put_cabac_static' defined but not used
cabac.h:151: warning: 'put_cabac_terminate' defined but not used
cabac.h:179: warning: 'put_cabac_u' defined but not used
cabac.h:214: warning: 'put_cabac_ueg' defined but not used
cabac.h:266: warning: 'refill2' defined but not used
cabac.h:605: warning: 'get_cabac_u' defined but not used
cabac.h:621: warning: 'get_cabac_ueg' defined but not used
cabac.h: In function 'get_cabac_noinline':
cabac.h:453: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[1]: *** [h264.o] Error 1
make[1]: Leaving directory `/local/home/eugeni/build/mplayer/trunk/libavcodec'
More information about the ffmpeg-devel
mailing list