platform/upstream/libav.git
16 years agoadd dv 4:1:1 regression test
Baptiste Coudurier [Tue, 5 Aug 2008 23:03:02 +0000 (23:03 +0000)]
add dv 4:1:1 regression test

Originally committed as revision 14631 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years ago100l, fix test, ref values were done with mv0, dunno how this slipped in
Baptiste Coudurier [Tue, 5 Aug 2008 22:55:59 +0000 (22:55 +0000)]
100l, fix test, ref values were done with mv0, dunno how this slipped in

Originally committed as revision 14630 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoadd mpeg2 4:2:2 regression test
Baptiste Coudurier [Tue, 5 Aug 2008 21:59:51 +0000 (21:59 +0000)]
add mpeg2 4:2:2 regression test

Originally committed as revision 14629 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFix small typo.
Diego Biurrun [Tue, 5 Aug 2008 21:46:10 +0000 (21:46 +0000)]
Fix small typo.

Originally committed as revision 14628 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoPrevent low delay from being used with mpeg1.
Michael Niedermayer [Tue, 5 Aug 2008 20:39:58 +0000 (20:39 +0000)]
Prevent low delay from being used with mpeg1.

Originally committed as revision 14627 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoOKed sections of code from the SoC AAC decoder
Robert Swain [Tue, 5 Aug 2008 19:32:01 +0000 (19:32 +0000)]
OKed sections of code from the SoC AAC decoder

Originally committed as revision 14626 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMove shared tables to aactab.c and add declarations to aactab.h. Also sync with
Robert Swain [Tue, 5 Aug 2008 19:31:05 +0000 (19:31 +0000)]
Move shared tables to aactab.c and add declarations to aactab.h. Also sync with
SoC code.

Originally committed as revision 14625 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAAC definitions and structures that have been OKed from the SoC AAC decoder
Robert Swain [Tue, 5 Aug 2008 19:27:17 +0000 (19:27 +0000)]
AAC definitions and structures that have been OKed from the SoC AAC decoder
code

Originally committed as revision 14624 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoUse local variabes for *stride, where local variables exist.
Michael Niedermayer [Tue, 5 Aug 2008 12:06:30 +0000 (12:06 +0000)]
Use local variabes for *stride, where local variables exist.

Originally committed as revision 14623 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoindent
Michael Niedermayer [Tue, 5 Aug 2008 11:34:46 +0000 (11:34 +0000)]
indent

Originally committed as revision 14622 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify l1mv/l1ref calculation.
Michael Niedermayer [Tue, 5 Aug 2008 11:33:40 +0000 (11:33 +0000)]
Simplify l1mv/l1ref calculation.

Originally committed as revision 14621 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosimplify y_shift/ref_shift code
Michael Niedermayer [Tue, 5 Aug 2008 11:17:23 +0000 (11:17 +0000)]
simplify y_shift/ref_shift code

Originally committed as revision 14620 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoindent
Michael Niedermayer [Tue, 5 Aug 2008 11:04:49 +0000 (11:04 +0000)]
indent

Originally committed as revision 14619 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFactorize some code between temporal and spatial direct mode.
Michael Niedermayer [Tue, 5 Aug 2008 11:00:17 +0000 (11:00 +0000)]
Factorize some code between temporal and spatial direct mode.

Originally committed as revision 14618 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSupport muxing of Zork PCM audio into RIFF formats.
Peter Ross [Tue, 5 Aug 2008 10:38:25 +0000 (10:38 +0000)]
Support muxing of Zork PCM audio into RIFF formats.

Originally committed as revision 14617 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomisc spelling/grammar fixes
Diego Biurrun [Tue, 5 Aug 2008 08:28:57 +0000 (08:28 +0000)]
misc spelling/grammar fixes

Originally committed as revision 14616 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRename prodsum() function to convolve()
Vitor Sessak [Tue, 5 Aug 2008 04:52:33 +0000 (04:52 +0000)]
Rename prodsum() function to convolve()

Originally committed as revision 14615 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics: use a better function name than uncouple_channels()
Justin Ruggles [Tue, 5 Aug 2008 01:49:01 +0000 (01:49 +0000)]
cosmetics: use a better function name than uncouple_channels()

Originally committed as revision 14614 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics: change function name and comments to refer to block decoding
Justin Ruggles [Tue, 5 Aug 2008 01:31:40 +0000 (01:31 +0000)]
cosmetics: change function name and comments to refer to block decoding
instead of block parsing

Originally committed as revision 14613 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: update seek regression test to match new ebml parser
Aurelien Jacobs [Tue, 5 Aug 2008 00:43:04 +0000 (00:43 +0000)]
matroskadec: update seek regression test to match new ebml parser
This change is due to r14590.
The AVPacket position now points to the first byte of the actual
packet data in the file. It previously pointed to the EBML element
ID preceding packet data.

Originally committed as revision 14612 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove useless num_streams
Aurelien Jacobs [Tue, 5 Aug 2008 00:43:01 +0000 (00:43 +0000)]
matroskadec: remove useless num_streams

Originally committed as revision 14611 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: expand useless ebml_read_element_id() wrapper
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:58 +0000 (00:42 +0000)]
matroskadec: expand useless ebml_read_element_id() wrapper

Originally committed as revision 14610 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: simplify matroska_ebmlnum_sint()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:55 +0000 (00:42 +0000)]
matroskadec: simplify matroska_ebmlnum_sint()

Originally committed as revision 14609 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: implement matroska_ebmlnum_uint() using ebml_read_num()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:52 +0000 (00:42 +0000)]
matroskadec: implement matroska_ebmlnum_uint() using ebml_read_num()

Originally committed as revision 14608 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroska: expand useless define for MS compat codec id strings
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:49 +0000 (00:42 +0000)]
matroska: expand useless define for MS compat codec id strings

Originally committed as revision 14607 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove useless comments in ff_mkv_codec_tags
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:46 +0000 (00:42 +0000)]
matroskadec: remove useless comments in ff_mkv_codec_tags

Originally committed as revision 14606 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: update copyright year and related comments
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:43 +0000 (00:42 +0000)]
matroskadec: update copyright year and related comments

Originally committed as revision 14605 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: reorder some functions in a more logical order
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:39 +0000 (00:42 +0000)]
matroskadec: reorder some functions in a more logical order

Originally committed as revision 14604 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove now useless wrapper ebml_read_element_length()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:36 +0000 (00:42 +0000)]
matroskadec: remove now useless wrapper ebml_read_element_length()

Originally committed as revision 14603 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove now useless wrapper ebml_read_seek()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:33 +0000 (00:42 +0000)]
matroskadec: remove now useless wrapper ebml_read_seek()

Originally committed as revision 14602 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove now useless peek_id
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:29 +0000 (00:42 +0000)]
matroskadec: remove now useless peek_id

Originally committed as revision 14601 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: don't try to re-read already parsed ID in matroska_parse_cluster()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:26 +0000 (00:42 +0000)]
matroskadec: don't try to re-read already parsed ID in matroska_parse_cluster()

Originally committed as revision 14600 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove now unused parameter 'once' from ebml_parse_nest()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:23 +0000 (00:42 +0000)]
matroskadec: remove now unused parameter 'once' from ebml_parse_nest()

Originally committed as revision 14599 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: directly use ebml_parse() or ebml_parse_id() where it's enough
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:20 +0000 (00:42 +0000)]
matroskadec: directly use ebml_parse() or ebml_parse_id() where it's enough

Originally committed as revision 14598 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: new ebml_parse() function, centralize ebml_read_element_id() calls
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:17 +0000 (00:42 +0000)]
matroskadec: new ebml_parse() function, centralize ebml_read_element_id() calls

Originally committed as revision 14597 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: rename ebml_parse() to ebml_parse_nest()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:13 +0000 (00:42 +0000)]
matroskadec: rename ebml_parse() to ebml_parse_nest()

Originally committed as revision 14596 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: don't care about the number of bytes read by ebml_read_element_id()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:10 +0000 (00:42 +0000)]
matroskadec: don't care about the number of bytes read by ebml_read_element_id()

Originally committed as revision 14595 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: simplify check for hierarchy level
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:08 +0000 (00:42 +0000)]
matroskadec: simplify check for hierarchy level

Originally committed as revision 14594 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: cosmetics: consistent style for function declarations
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:05 +0000 (00:42 +0000)]
matroskadec: cosmetics: consistent style for function declarations

Originally committed as revision 14593 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: Use string instead of char table as probe data comparison source.
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:02 +0000 (00:42 +0000)]
matroskadec: Use string instead of char table as probe data comparison source.

Originally committed as revision 14592 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use an EbmlBin as parameter to ebml_read_binary()
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:59 +0000 (00:41 +0000)]
matroskadec: use an EbmlBin as parameter to ebml_read_binary()

Originally committed as revision 14591 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: extract common code out of ebml_read_*()
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:55 +0000 (00:41 +0000)]
matroskadec: extract common code out of ebml_read_*()

Originally committed as revision 14590 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: simplify/cleanup error logging in ebml_read_*()
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:52 +0000 (00:41 +0000)]
matroskadec: simplify/cleanup error logging in ebml_read_*()

Originally committed as revision 14589 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove now useless expected_id parameter from ebml_parse()
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:50 +0000 (00:41 +0000)]
matroskadec: remove now useless expected_id parameter from ebml_parse()

Originally committed as revision 14588 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: expand useless ebml_peek_id() wrapper
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:46 +0000 (00:41 +0000)]
matroskadec: expand useless ebml_peek_id() wrapper

Originally committed as revision 14587 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove unused levelup parameter from ebml_read_element_id()
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:43 +0000 (00:41 +0000)]
matroskadec: remove unused levelup parameter from ebml_read_element_id()

Originally committed as revision 14586 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: extract read_level_up out of ebml_read_element_id
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:40 +0000 (00:41 +0000)]
matroskadec: extract read_level_up out of ebml_read_element_id

Originally committed as revision 14585 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove useless levelup check
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:37 +0000 (00:41 +0000)]
matroskadec: remove useless levelup check

Originally committed as revision 14584 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove useless check for cluster presence
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:34 +0000 (00:41 +0000)]
matroskadec: remove useless check for cluster presence

Originally committed as revision 14583 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: cosmetics: placement of 'else if'
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:31 +0000 (00:41 +0000)]
matroskadec: cosmetics: placement of 'else if'

Originally committed as revision 14582 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove some useless empty lines
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:28 +0000 (00:41 +0000)]
matroskadec: remove some useless empty lines

Originally committed as revision 14581 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove some useless or out of date comments
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:25 +0000 (00:41 +0000)]
matroskadec: remove some useless or out of date comments

Originally committed as revision 14580 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: cosmetics
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:22 +0000 (00:41 +0000)]
matroskadec: cosmetics

Originally committed as revision 14579 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove unused struct name
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:19 +0000 (00:41 +0000)]
matroskadec: remove unused struct name

Originally committed as revision 14578 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove now unused context fields
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:16 +0000 (00:41 +0000)]
matroskadec: remove now unused context fields

Originally committed as revision 14577 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove useless initialization
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:13 +0000 (00:41 +0000)]
matroskadec: remove useless initialization

Originally committed as revision 14576 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: cosmetics: remove useless braces
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:10 +0000 (00:41 +0000)]
matroskadec: cosmetics: remove useless braces

Originally committed as revision 14575 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove some unused ebml funcs
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:07 +0000 (00:41 +0000)]
matroskadec: remove some unused ebml funcs

Originally committed as revision 14574 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use generic parser to parse clusters
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:05 +0000 (00:41 +0000)]
matroskadec: use generic parser to parse clusters

Originally committed as revision 14573 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use generic parser inside matroska_execute_seekhead()
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:01 +0000 (00:41 +0000)]
matroskadec: use generic parser inside matroska_execute_seekhead()

Originally committed as revision 14572 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use generic parser to parse matroska from toplevel
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:58 +0000 (00:40 +0000)]
matroskadec: use generic parser to parse matroska from toplevel

Originally committed as revision 14571 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: move context settings to matroska_read_header()
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:55 +0000 (00:40 +0000)]
matroskadec: move context settings to matroska_read_header()

Originally committed as revision 14570 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: cosmetics: indentation of matroska_read_header()
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:52 +0000 (00:40 +0000)]
matroskadec: cosmetics: indentation of matroska_read_header()

Originally committed as revision 14569 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: move declaration to upper block
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:49 +0000 (00:40 +0000)]
matroskadec: move declaration to upper block

Originally committed as revision 14568 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: invert a test
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:46 +0000 (00:40 +0000)]
matroskadec: invert a test

Originally committed as revision 14567 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: cosmetics: indentation of matroska_execute_seekhead()
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:43 +0000 (00:40 +0000)]
matroskadec: cosmetics: indentation of matroska_execute_seekhead()

Originally committed as revision 14566 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove useless dummy_level variable
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:40 +0000 (00:40 +0000)]
matroskadec: remove useless dummy_level variable

Originally committed as revision 14565 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use generic parser to parse seekhead
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:36 +0000 (00:40 +0000)]
matroskadec: use generic parser to parse seekhead

Originally committed as revision 14564 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: declare var where it's used
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:33 +0000 (00:40 +0000)]
matroskadec: declare var where it's used

Originally committed as revision 14563 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use generic parser to parse tracks
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:31 +0000 (00:40 +0000)]
matroskadec: use generic parser to parse tracks

Originally committed as revision 14562 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use generic parser to parse info
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:27 +0000 (00:40 +0000)]
matroskadec: use generic parser to parse info

Originally committed as revision 14561 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use generic parser to parse attachments
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:24 +0000 (00:40 +0000)]
matroskadec: use generic parser to parse attachments

Originally committed as revision 14560 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use generic parser to parse chapters
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:21 +0000 (00:40 +0000)]
matroskadec: use generic parser to parse chapters

Originally committed as revision 14559 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use generic parser to parse tags
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:18 +0000 (00:40 +0000)]
matroskadec: use generic parser to parse tags

Originally committed as revision 14558 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use generic parser to parse index
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:15 +0000 (00:40 +0000)]
matroskadec: use generic parser to parse index

Originally committed as revision 14557 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: return pointer instead of index in matroska_find_track_by_num()
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:12 +0000 (00:40 +0000)]
matroskadec: return pointer instead of index in matroska_find_track_by_num()

Originally committed as revision 14556 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: create new AVStream earlier
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:09 +0000 (00:40 +0000)]
matroskadec: create new AVStream earlier

Originally committed as revision 14555 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: store an AVStream pointer instead of a stream index
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:06 +0000 (00:40 +0000)]
matroskadec: store an AVStream pointer instead of a stream index

Originally committed as revision 14554 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use generic ebml parser to parse ebml header
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:02 +0000 (00:40 +0000)]
matroskadec: use generic ebml parser to parse ebml header

Originally committed as revision 14553 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: add an ebml generic parser
Aurelien Jacobs [Tue, 5 Aug 2008 00:40:00 +0000 (00:40 +0000)]
matroskadec: add an ebml generic parser

Originally committed as revision 14552 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove unused is_bframe flag
Aurelien Jacobs [Tue, 5 Aug 2008 00:39:55 +0000 (00:39 +0000)]
matroskadec: remove unused is_bframe flag

Originally committed as revision 14551 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: simplify flag default
Aurelien Jacobs [Tue, 5 Aug 2008 00:39:53 +0000 (00:39 +0000)]
matroskadec: simplify flag default

Originally committed as revision 14550 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: remove storage of various unused flags
Aurelien Jacobs [Tue, 5 Aug 2008 00:39:50 +0000 (00:39 +0000)]
matroskadec: remove storage of various unused flags

Originally committed as revision 14549 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: use more robust av_strlcpy() instead of strcpy()
Aurelien Jacobs [Tue, 5 Aug 2008 00:39:47 +0000 (00:39 +0000)]
matroskadec: use more robust av_strlcpy() instead of strcpy()

Originally committed as revision 14548 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoremove unneeded local variable
Justin Ruggles [Tue, 5 Aug 2008 00:32:27 +0000 (00:32 +0000)]
remove unneeded local variable

Originally committed as revision 14547 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoPort b4/b8_stride code from spatial direct mode to temporal.
Michael Niedermayer [Tue, 5 Aug 2008 00:15:15 +0000 (00:15 +0000)]
Port b4/b8_stride code from spatial direct mode to temporal.
Fixes at least:
CAMANL3_Sand_E.264
camp_mot_picaff0_full.26l
CAPA1_TOSHIBA_B.264
CVPA1_TOSHIBA_B.264

Originally committed as revision 14546 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoUse frame_num and reference instead of poc for matching frames for direct
Michael Niedermayer [Tue, 5 Aug 2008 00:08:32 +0000 (00:08 +0000)]
Use frame_num and reference instead of poc for matching frames for direct
mode MBs, this seems to work better with field/frame mixes. POC of both
can be the same and can be different that makes its use tricky.

Originally committed as revision 14545 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years ago*2 /2 is wrong for PAFF references, so do not do it.
Michael Niedermayer [Mon, 4 Aug 2008 23:29:34 +0000 (23:29 +0000)]
*2 /2 is wrong for PAFF references, so do not do it.

Originally committed as revision 14544 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoPort col_parity code from spatial mode to temporal mode,
Michael Niedermayer [Mon, 4 Aug 2008 23:06:45 +0000 (23:06 +0000)]
Port col_parity code from spatial mode to temporal mode,
I also love it if people duplicate code and fix one but not the other.

Originally committed as revision 14543 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoThe code under FRAME_MBAFF for temporal direct mode MBs is needed for PAFF as well.
Michael Niedermayer [Mon, 4 Aug 2008 22:59:53 +0000 (22:59 +0000)]
The code under FRAME_MBAFF for temporal direct mode MBs is needed for PAFF as well.

Originally committed as revision 14542 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove redundant code.
Michael Niedermayer [Mon, 4 Aug 2008 22:52:54 +0000 (22:52 +0000)]
Remove redundant code.

Originally committed as revision 14541 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFill ref_count/ref_poc for both fields of frames.
Michael Niedermayer [Mon, 4 Aug 2008 22:32:41 +0000 (22:32 +0000)]
Fill ref_count/ref_poc for both fields of frames.

Originally committed as revision 14540 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomisc spelling/wording fixes
Diego Biurrun [Mon, 4 Aug 2008 21:54:50 +0000 (21:54 +0000)]
misc spelling/wording fixes

Originally committed as revision 14539 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFix static leaks in h264.c.
Art Clarke [Mon, 4 Aug 2008 21:45:05 +0000 (21:45 +0000)]
Fix static leaks in h264.c.

Patch by Art Clarke aclarke A vlideshow D com

Originally committed as revision 14538 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoUse ref_poc and ref_count from the correct field.
Michael Niedermayer [Mon, 4 Aug 2008 11:19:54 +0000 (11:19 +0000)]
Use ref_poc and ref_count from the correct field.
Fixes at least
MR8_BT_B.h264

Originally committed as revision 14537 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFix dist_scale_factor for long term reference pictures.
Michael Niedermayer [Mon, 4 Aug 2008 11:17:22 +0000 (11:17 +0000)]
Fix dist_scale_factor for long term reference pictures.

Originally committed as revision 14536 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoReturn an error when ff_jpegls_decode_picture fails.
Mathieu Malaterre [Mon, 4 Aug 2008 08:25:38 +0000 (08:25 +0000)]
Return an error when ff_jpegls_decode_picture fails.
Patch by Mathieu Malaterre: name.surname at gmail

Originally committed as revision 14535 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify PCM codec; replace switch() statements with av_get_bits_per_sample().
Peter Ross [Mon, 4 Aug 2008 07:49:50 +0000 (07:49 +0000)]
Simplify PCM codec; replace switch() statements with av_get_bits_per_sample().

Originally committed as revision 14534 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify PCM codec; use sample_fmts field to set the avctx->sample_fmt field.
Peter Ross [Mon, 4 Aug 2008 07:47:23 +0000 (07:47 +0000)]
Simplify PCM codec; use sample_fmts field to set the avctx->sample_fmt field.

Originally committed as revision 14533 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake avcodec_string() and av_get_bits_per_sample() report the sample size for CODEC_I...
Peter Ross [Mon, 4 Aug 2008 07:40:07 +0000 (07:40 +0000)]
Make avcodec_string() and av_get_bits_per_sample() report the sample size for CODEC_ID_PCM_ZORK

Originally committed as revision 14532 to svn://svn.ffmpeg.org/ffmpeg/trunk