Updated and rebased patch. Changes: * cosmetics * bitstream.h + vlc.h included directly where needed * all the "vlc" patches were squashed together * both mpeg12 related patches were squashed together * attributes: added docs + version bump * bitstream.h: bitstream_peek_63 was removed as it's not used * renaming according to the discussion on the ML: bitstream_read_63() --> bitstream_read() bitstream_read_32() --> bitstream_read_narrow() bitstream_peek_32() --> bitstream_peek() bitstream_read_s32() --> bitstream_read_signed() bitstream_peek_s() --> bitstream_peek_signed()
Alexandra Hájková (7): Move VLC and RL_VLC_ELEM structure definitions to a separate header and attributes: Add av_unlikely macro. Add the new bitstream reader. cllc: Convert to the new bitstream reader. eamad: Convert to the new bitstream reader. dnxhd: Convert to the new bitstream reader. mdec, eatqi, mpeg12: Convert to the new bitstream reader. doc/APIchanges | 3 + libavcodec/bitstream.c | 2 +- libavcodec/bitstream.h | 465 +++++++++++++++++++++++++++++++++++++++++++++++++ libavcodec/cllc.c | 65 +++---- libavcodec/dnxhddec.c | 44 ++--- libavcodec/eamad.c | 43 +++-- libavcodec/eatqi.c | 9 +- libavcodec/get_bits.h | 42 +---- libavcodec/huffman.c | 3 + libavcodec/huffman.h | 2 +- libavcodec/mdec.c | 34 ++-- libavcodec/mpeg12.c | 30 ++-- libavcodec/mpeg12.h | 12 +- libavcodec/mpeg12dec.c | 416 ++++++++++++++++++++----------------------- libavcodec/mpeg12vlc.h | 3 +- libavcodec/mpegvideo.h | 3 + libavcodec/rl.c | 1 + libavcodec/rl.h | 3 +- libavcodec/vlc.h | 65 +++++++ libavutil/attributes.h | 6 + libavutil/version.h | 2 +- 21 files changed, 845 insertions(+), 408 deletions(-) create mode 100644 libavcodec/bitstream.h create mode 100644 libavcodec/vlc.h -- 2.1.4 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel