platform/upstream/libav.git
16 years agoUSE_FASTMEMCPY is now called CONFIG_FASTMEMCPY in MPlayer.
Diego Biurrun [Wed, 30 Jul 2008 12:02:22 +0000 (12:02 +0000)]
USE_FASTMEMCPY is now called CONFIG_FASTMEMCPY in MPlayer.

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

16 years agoEA Demuxer: make rev2 flag optional
Peter Ross [Wed, 30 Jul 2008 07:41:32 +0000 (07:41 +0000)]
EA Demuxer: make rev2 flag optional

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

16 years agoadd a bunch of new xdcam hd422 fourccs
Baptiste Coudurier [Wed, 30 Jul 2008 01:55:59 +0000 (01:55 +0000)]
add a bunch of new xdcam hd422 fourccs

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

16 years agomore hdv fourccs
Baptiste Coudurier [Wed, 30 Jul 2008 01:41:12 +0000 (01:41 +0000)]
more hdv fourccs

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

16 years agoupdate hdv fourcc descriptions
Baptiste Coudurier [Wed, 30 Jul 2008 01:39:20 +0000 (01:39 +0000)]
update hdv fourcc descriptions

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

16 years agogive additional use case for version bumping; remove no longer true statement about...
Peter Ross [Tue, 29 Jul 2008 21:45:23 +0000 (21:45 +0000)]
give additional use case for version bumping; remove no longer true statement about version strings

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

16 years agoDo not declare a counter as unsigned when it is not needed
Vitor Sessak [Tue, 29 Jul 2008 18:22:31 +0000 (18:22 +0000)]
Do not declare a counter as unsigned when it is not needed

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

16 years agoCosmetics: rename loop counter vars to i,j
Vitor Sessak [Tue, 29 Jul 2008 18:20:49 +0000 (18:20 +0000)]
Cosmetics: rename loop counter vars to i,j

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

16 years agoCosmetics: rename loop counter vars to i,j
Vitor Sessak [Tue, 29 Jul 2008 18:07:11 +0000 (18:07 +0000)]
Cosmetics: rename loop counter vars to i,j

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

16 years agor14205 broke vorbis float_to_int on ppc
Loren Merritt [Tue, 29 Jul 2008 14:17:13 +0000 (14:17 +0000)]
r14205 broke vorbis float_to_int on ppc

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

16 years agoFix a typo in sdp_write_header(): change "IPV4", which is not a valid
Stefano Sabatini [Tue, 29 Jul 2008 10:45:53 +0000 (10:45 +0000)]
Fix a typo in sdp_write_header(): change "IPV4", which is not a valid
network address type, to "IP4".

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

16 years agoAdd note about gcc bugs that gcc devs refuse to fix.
Diego Biurrun [Tue, 29 Jul 2008 07:55:51 +0000 (07:55 +0000)]
Add note about gcc bugs that gcc devs refuse to fix.

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

16 years agoUse #define instead of a constant. Patch by Paul Kendall.
Paul Kendall [Tue, 29 Jul 2008 05:39:33 +0000 (05:39 +0000)]
Use #define instead of a constant.  Patch by Paul Kendall.

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

16 years agoMake ffmpeg dump output format in case of codec type mismatch between
Stefano Sabatini [Mon, 28 Jul 2008 21:54:12 +0000 (21:54 +0000)]
Make ffmpeg dump output format in case of codec type mismatch between
an input stream and the corresponding output stream.

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

16 years agoDocument av_lfg_get().
Michael Niedermayer [Mon, 28 Jul 2008 15:47:06 +0000 (15:47 +0000)]
Document av_lfg_get().

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

16 years agoWarning about MTs speed.
Michael Niedermayer [Mon, 28 Jul 2008 15:44:00 +0000 (15:44 +0000)]
Warning about MTs speed.

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

16 years agoSmall h264 decoding speed optimization: while->do/while
Jason Garrett-Glaser [Mon, 28 Jul 2008 15:42:49 +0000 (15:42 +0000)]
Small h264 decoding speed optimization: while->do/while

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

16 years agoSimple lagged fibonacci PRNG.
Michael Niedermayer [Mon, 28 Jul 2008 15:35:04 +0000 (15:35 +0000)]
Simple lagged fibonacci PRNG.
3.5 times faster than our mersene twister.
10 times less memory needed. (=less cache trashing)

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

16 years agoCosmetics: new line
Vitor Sessak [Mon, 28 Jul 2008 10:49:44 +0000 (10:49 +0000)]
Cosmetics: new line

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

16 years agoRemove the now useless phase variable from context
Vitor Sessak [Mon, 28 Jul 2008 10:49:14 +0000 (10:49 +0000)]
Remove the now useless phase variable from context

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

16 years agoincrement minor version for commit r14412 (add sample_fmts infrastructure)
Peter Ross [Mon, 28 Jul 2008 10:48:03 +0000 (10:48 +0000)]
increment minor version for commit r14412 (add sample_fmts infrastructure)

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

16 years agoCosmetics: make comment match var name
Vitor Sessak [Mon, 28 Jul 2008 05:18:39 +0000 (05:18 +0000)]
Cosmetics: make comment match var name

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

16 years agoCosmetics: align comments
Vitor Sessak [Mon, 28 Jul 2008 05:16:51 +0000 (05:16 +0000)]
Cosmetics: align comments

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

16 years agoRename two context vars: s/sb/sp_block/, s/lhist/gain_block/
Vitor Sessak [Mon, 28 Jul 2008 04:53:05 +0000 (04:53 +0000)]
Rename two context vars: s/sb/sp_block/, s/lhist/gain_block/

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

16 years agoDeclare temporary buffers to be only of the necessary size
Vitor Sessak [Mon, 28 Jul 2008 04:37:58 +0000 (04:37 +0000)]
Declare temporary buffers to be only of the necessary size

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

16 years agoRemove redundant comments
Vitor Sessak [Mon, 28 Jul 2008 04:25:51 +0000 (04:25 +0000)]
Remove redundant comments

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

16 years agoCosmetics: do not align with now removed next instruction
Vitor Sessak [Mon, 28 Jul 2008 04:24:08 +0000 (04:24 +0000)]
Cosmetics: do not align with now removed next instruction

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

16 years agoCosmetics: remove braces and useless newline
Vitor Sessak [Mon, 28 Jul 2008 04:07:18 +0000 (04:07 +0000)]
Cosmetics: remove braces and useless newline

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

16 years agoChange the way the input is passed to do_hybrid_filter(). Before, in[0] was
Vitor Sessak [Mon, 28 Jul 2008 02:55:47 +0000 (02:55 +0000)]
Change the way the input is passed to do_hybrid_filter(). Before, in[0] was
the oldest input sample passed and in[n-1] was the latest. Now it is the
contrary. This allows making backward_filter() somewhat simpler.

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

16 years agoRemove RA288Context.output buffer. This buffer is just RA288Context.sb
Vitor Sessak [Mon, 28 Jul 2008 02:53:07 +0000 (02:53 +0000)]
Remove RA288Context.output buffer. This buffer is just RA288Context.sb
backwards (output[i] == sb[N-i], where N is the buffer length).

This makes the code slower, this will be fixed in my next commit.

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

16 years agoFix misdetection of H.264 in mpegts as mpeg1video in mpegts.
Michael Niedermayer [Sun, 27 Jul 2008 23:06:22 +0000 (23:06 +0000)]
Fix misdetection of H.264 in mpegts as mpeg1video in mpegts.
Fixes maybeH264_dumpstream

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

16 years agoAdd a few comments pointing to the G.728 specification
Vitor Sessak [Sun, 27 Jul 2008 22:22:51 +0000 (22:22 +0000)]
Add a few comments pointing to the G.728 specification

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

16 years agoRemove the history buffer from the context. It can easily be evaluated
Vitor Sessak [Sun, 27 Jul 2008 22:21:41 +0000 (22:21 +0000)]
Remove the history buffer from the context. It can easily be evaluated
from the lhist buffer.

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

16 years agoRemove unused variable.
Diego Biurrun [Sun, 27 Jul 2008 21:56:26 +0000 (21:56 +0000)]
Remove unused variable.

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

16 years agoAdd random to list of test programs.
Diego Biurrun [Sun, 27 Jul 2008 21:11:06 +0000 (21:11 +0000)]
Add random to list of test programs.

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

16 years agoChange return type of main function to int to avoid a warning.
Diego Biurrun [Sun, 27 Jul 2008 21:10:32 +0000 (21:10 +0000)]
Change return type of main function to int to avoid a warning.

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

16 years agoMove #includes, which are only used in the test program, below the #ifdef
Diego Biurrun [Sun, 27 Jul 2008 21:05:12 +0000 (21:05 +0000)]
Move #includes, which are only used in the test program, below the #ifdef
surrounding the test program to save an #ifdef at the top of the file.

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

16 years agoImprove long names for FFM muxer and demuxer:
Stefano Sabatini [Sun, 27 Jul 2008 20:59:40 +0000 (20:59 +0000)]
Improve long names for FFM muxer and demuxer:
change "ffm format" to "FFM (FFserver live feed) format".

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

16 years agoRename two context buffers: pr{1,2} -> {sp,gain}_lpc. Also add a few doxy
Vitor Sessak [Sun, 27 Jul 2008 20:58:29 +0000 (20:58 +0000)]
Rename two context buffers: pr{1,2} -> {sp,gain}_lpc. Also add a few doxy
comments.

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

16 years agoComplete documentation for av_set_string().
Stefano Sabatini [Sun, 27 Jul 2008 20:55:56 +0000 (20:55 +0000)]
Complete documentation for av_set_string().

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

16 years agoRemove st1 and st2 temporary buffers in backward_filter() and use instead
Vitor Sessak [Sun, 27 Jul 2008 20:55:27 +0000 (20:55 +0000)]
Remove st1 and st2 temporary buffers in backward_filter() and use instead
RA288Context.pr{1,2}. Note that the pr{1,2} buffers are one unity smaller
than the st{1,2} buffers. My guess is that the original coder decided to
add one to the array sizes "just to be sure".

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

16 years agoChange benchmarking code so it returns comparable values.
Michael Niedermayer [Sun, 27 Jul 2008 20:53:30 +0000 (20:53 +0000)]
Change benchmarking code so it returns comparable values.

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

16 years agoMake the selftesting code use and compileable.
Michael Niedermayer [Sun, 27 Jul 2008 20:50:24 +0000 (20:50 +0000)]
Make the selftesting code use and compileable.

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

16 years agoChange slightly the meaning of RA288Context.phase. This
Vitor Sessak [Sun, 27 Jul 2008 20:35:32 +0000 (20:35 +0000)]
Change slightly the meaning of RA288Context.phase. This
allows to remove two intermediary buffers and avoid a few
memcpy's.

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

16 years agoFix and clarify invalid examples for framerate override in the documentation.
tripp [Sun, 27 Jul 2008 19:38:25 +0000 (19:38 +0000)]
Fix and clarify invalid examples for framerate override in the documentation.
patch by tripp, eliared yahoo com

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

16 years agomatroska: add support for A_QUICKTIME/QDM2 codec
Aurelien Jacobs [Sun, 27 Jul 2008 15:12:00 +0000 (15:12 +0000)]
matroska: add support for A_QUICKTIME/QDM2 codec

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

16 years agomatroska: add support for V_QUICKTIME track type
Aurelien Jacobs [Sun, 27 Jul 2008 15:11:04 +0000 (15:11 +0000)]
matroska: add support for V_QUICKTIME track type

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

16 years agoInitialize outputed_poc to INT_MIN at decoder initialization.
Jeff Downs [Sun, 27 Jul 2008 13:49:04 +0000 (13:49 +0000)]
Initialize outputed_poc to INT_MIN at decoder initialization.
Fixes issue 560

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

16 years agoleft_block intialisation optimisation.
Paul Kendall [Sun, 27 Jul 2008 13:01:17 +0000 (13:01 +0000)]
left_block intialisation optimisation.
This patch changes the left_block initialisation code in the fill_caches
function from individual array element setters to a simple pointer to a
pre-initialised array.
Patch by (Paul Kendall ! paul X kcbbs knodel gen knodel nz)
Date: Sun, 27 Jul 2008 11:40:18 +1200
Subject: [FFmpeg-devel] [PATCH] h264 fill_caches left_block intialisation optimisation

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

16 years agotypo fix
Diego Biurrun [Sun, 27 Jul 2008 12:36:58 +0000 (12:36 +0000)]
typo fix

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

16 years agoAAC tables and data that have been OKed by Michael
Robert Swain [Sun, 27 Jul 2008 08:21:48 +0000 (08:21 +0000)]
AAC tables and data that have been OKed by Michael

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

16 years agoDetect IDR less H.264 correctly.
Michael Niedermayer [Sat, 26 Jul 2008 18:54:26 +0000 (18:54 +0000)]
Detect IDR less H.264 correctly.
Fixes maybeH264_dumpvideo

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

16 years agoAnd.... Fix another spec reference to be more specific and correct.
Jeff Downs [Sat, 26 Jul 2008 18:38:30 +0000 (18:38 +0000)]
And.... Fix another spec reference to be more specific and correct.

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

16 years agoFix reference to spec to be more specific and correct.
Jeff Downs [Sat, 26 Jul 2008 18:34:34 +0000 (18:34 +0000)]
Fix reference to spec to be more specific and correct.

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

16 years agoRemove st1 and st2 variables from context, since they could be just local vars
Vitor Sessak [Sat, 26 Jul 2008 15:14:50 +0000 (15:14 +0000)]
Remove st1 and st2 variables from context, since they could be just local vars

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

16 years agoRename st{1,2}{a,b} context variables to more meaningful names: {sp,gain}_{rec,hist}
Vitor Sessak [Sat, 26 Jul 2008 15:10:17 +0000 (15:10 +0000)]
Rename st{1,2}{a,b} context variables to more meaningful names: {sp,gain}_{rec,hist}

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

16 years agoSimple refactoring to resolve a FIXME. Patch by Paul Kendall.
Paul Kendall [Sat, 26 Jul 2008 15:07:04 +0000 (15:07 +0000)]
Simple refactoring to resolve a FIXME.  Patch by Paul Kendall.

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

16 years agoCosmetics: remove useless parenthesis
Vitor Sessak [Sat, 26 Jul 2008 14:38:29 +0000 (14:38 +0000)]
Cosmetics: remove useless parenthesis

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

16 years agoMove colmult() function to the beginning of file to group DSP-related functions.
Vitor Sessak [Sat, 26 Jul 2008 14:35:50 +0000 (14:35 +0000)]
Move colmult() function to the beginning of file to group DSP-related functions.

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

16 years agoRemove an useless comment describing colmult()
Vitor Sessak [Sat, 26 Jul 2008 14:33:53 +0000 (14:33 +0000)]
Remove an useless comment describing colmult()

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

16 years agoRemove an useless comment describing prodsum()
Vitor Sessak [Sat, 26 Jul 2008 14:33:25 +0000 (14:33 +0000)]
Remove an useless comment describing prodsum()

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

16 years agoGive the context variables of ra288 a better name: s/glob/ractx/
Vitor Sessak [Sat, 26 Jul 2008 14:31:47 +0000 (14:31 +0000)]
Give the context variables of ra288 a better name: s/glob/ractx/

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

16 years agoGive the context structure of ra288 a better name: s/Real288_internal/RA288Context/
Vitor Sessak [Sat, 26 Jul 2008 14:29:39 +0000 (14:29 +0000)]
Give the context structure of ra288 a better name: s/Real288_internal/RA288Context/

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

16 years agoadd sample_fmts infrastructure: AVCodec->sample_fmts and SAMPLE_FMT_NB enum.
Peter Ross [Sat, 26 Jul 2008 08:48:26 +0000 (08:48 +0000)]
add sample_fmts infrastructure: AVCodec->sample_fmts and SAMPLE_FMT_NB enum.

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

16 years agoInclude 32-bit PCM description
Peter Ross [Sat, 26 Jul 2008 07:12:54 +0000 (07:12 +0000)]
Include 32-bit PCM description

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

16 years agoSupport 32-bit floating point audio samples in Sun AU demuxer
Peter Ross [Sat, 26 Jul 2008 07:09:44 +0000 (07:09 +0000)]
Support 32-bit floating point audio samples in Sun AU demuxer

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

16 years agoadd CODEC_ID_PCM_F32BE (32-bit floating point PCM big endian decoder)
Peter Ross [Sat, 26 Jul 2008 07:08:15 +0000 (07:08 +0000)]
add CODEC_ID_PCM_F32BE (32-bit floating point PCM big endian decoder)

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

16 years agoindent
Michael Niedermayer [Sat, 26 Jul 2008 02:31:19 +0000 (02:31 +0000)]
indent

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

16 years agochroma_format_idc=0 aka grayscale support.
Michael Niedermayer [Sat, 26 Jul 2008 02:27:14 +0000 (02:27 +0000)]
chroma_format_idc=0 aka grayscale support.
Can be disabled by removing #define ALLOW_NOCHROMA in case the extra if()
slow the code down measurably.
Fixes at least
FRExt/HPCAMOLQ_BRCM_B.264
FRExt/HPCVMOLQ_BRCM_B.264

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

16 years agoAdd a new -debug option for tracing calls to the default get/release_buffer functions.
Alexander Strange [Sat, 26 Jul 2008 01:57:10 +0000 (01:57 +0000)]
Add a new -debug option for tracing calls to the default get/release_buffer functions.

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

16 years agoRevert r14404
Michael Niedermayer [Fri, 25 Jul 2008 23:55:31 +0000 (23:55 +0000)]
Revert r14404
Remove another 2 incorrect checks.
These would ignore fields of different parity.
I was wrong, i thought pic_stricture is the current pic structure.
But it does not make a difference either way on the reference bitstreams.

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

16 years agoRemove another 2 incorrect checks.
Michael Niedermayer [Fri, 25 Jul 2008 23:49:01 +0000 (23:49 +0000)]
Remove another 2 incorrect checks.
These would ignore fields of different parity.

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

16 years agoPrint an error if a reference picture is missing.
Michael Niedermayer [Fri, 25 Jul 2008 23:39:43 +0000 (23:39 +0000)]
Print an error if a reference picture is missing.

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

16 years agoRemove mysterious ref->data[0] check.
Michael Niedermayer [Fri, 25 Jul 2008 23:36:48 +0000 (23:36 +0000)]
Remove mysterious ref->data[0] check.
What the standard calls non-existent is not related to the
value of the data[0] pointer.

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

16 years ago10l typo, fix compilation
Michael Niedermayer [Fri, 25 Jul 2008 22:42:49 +0000 (22:42 +0000)]
10l typo, fix compilation

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

16 years agoRemove another stupidity, long_ref==0 check 4 lines after assert(long_ref==0).
Michael Niedermayer [Fri, 25 Jul 2008 22:39:43 +0000 (22:39 +0000)]
Remove another stupidity, long_ref==0 check 4 lines after assert(long_ref==0).

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

16 years agoindent
Michael Niedermayer [Fri, 25 Jul 2008 21:51:50 +0000 (21:51 +0000)]
indent

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

16 years agoRewrite fill_default_ref_list(), the old code was obfuscated beyond
Michael Niedermayer [Fri, 25 Jul 2008 21:46:15 +0000 (21:46 +0000)]
Rewrite fill_default_ref_list(), the old code was obfuscated beyond
repair with hacks.
new code is ~60lines old was ~200
Fixes at least:
FRExt/HCHP2_HHI_A.264
one sample also get decoded much better:
FRExt/FRExt1_Panasonic.avc (PSNR 11 -> 80)
(no i do not know why, the old code was too a big mess to figure out
 what it did)

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

16 years agoImprove documentation about -bt option
Jason Garrett-Glaser [Fri, 25 Jul 2008 21:04:06 +0000 (21:04 +0000)]
Improve documentation about -bt option

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

16 years agoDo not scare the user with error messages when everything is ok.
Michael Niedermayer [Fri, 25 Jul 2008 14:52:58 +0000 (14:52 +0000)]
Do not scare the user with error messages when everything is ok.

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

16 years agoMake remove_short() match remove_long() in that it calls unreference_pic().
Michael Niedermayer [Fri, 25 Jul 2008 14:00:01 +0000 (14:00 +0000)]
Make remove_short() match remove_long() in that it calls unreference_pic().

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

16 years agoRemoving yet another weird field pic special case,
Michael Niedermayer [Fri, 25 Jul 2008 13:40:13 +0000 (13:40 +0000)]
Removing yet another weird field pic special case,
now related to SHORT2LONG MMCOs.

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

16 years agoMake remove_long() call unreference_pic() internally.
Michael Niedermayer [Fri, 25 Jul 2008 13:09:06 +0000 (13:09 +0000)]
Make remove_long() call unreference_pic() internally.

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

16 years agoMerge oddly duplicated remove_long/remove_long_at_index() function.
Michael Niedermayer [Fri, 25 Jul 2008 12:56:58 +0000 (12:56 +0000)]
Merge oddly duplicated remove_long/remove_long_at_index() function.

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

16 years agoRemove strange long_ref=0.
Michael Niedermayer [Fri, 25 Jul 2008 12:34:39 +0000 (12:34 +0000)]
Remove strange long_ref=0.

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

16 years agoindent
Michael Niedermayer [Fri, 25 Jul 2008 12:26:24 +0000 (12:26 +0000)]
indent

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

16 years ago10000l, forgotton }
Michael Niedermayer [Fri, 25 Jul 2008 12:25:28 +0000 (12:25 +0000)]
10000l, forgotton }

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

16 years agoRemove another of these obfuscated special cases for field pictures
Michael Niedermayer [Fri, 25 Jul 2008 12:23:41 +0000 (12:23 +0000)]
Remove another of these obfuscated special cases for field pictures
that does not do anything.

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

16 years agoSimplify mmco setup code used in IDR pictures.
Michael Niedermayer [Fri, 25 Jul 2008 12:12:25 +0000 (12:12 +0000)]
Simplify mmco setup code used in IDR pictures.

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

16 years agoRemove redundant h->mmco_index= 0.
Michael Niedermayer [Fri, 25 Jul 2008 12:02:45 +0000 (12:02 +0000)]
Remove redundant h->mmco_index= 0.

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

16 years agoAssert that long_ref has been cleared for released pics.
Michael Niedermayer [Fri, 25 Jul 2008 11:54:03 +0000 (11:54 +0000)]
Assert that long_ref has been cleared for released pics.

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

16 years agoClear long_ref when a frame is no longer a long_ref.
Michael Niedermayer [Fri, 25 Jul 2008 11:52:40 +0000 (11:52 +0000)]
Clear long_ref when a frame is no longer a long_ref.

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

16 years agoMake sure mmco index is 0 (instead of uninitialized) in all error returns.
Michael Niedermayer [Fri, 25 Jul 2008 11:48:32 +0000 (11:48 +0000)]
Make sure mmco index is 0 (instead of uninitialized) in all error returns.

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

16 years agocompilation fix with GCC 4.0.1 on MacOSX tiger, broken by the removal of AVV() macro
Guillaume Poirier [Fri, 25 Jul 2008 09:15:08 +0000 (09:15 +0000)]
compilation fix with GCC 4.0.1 on MacOSX tiger, broken by the removal of AVV() macro

Originally committed as revision 27349 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoFix handling of old nuv files where an aspect of 1 actually means 4/3
Joakim Plate [Fri, 25 Jul 2008 04:10:32 +0000 (04:10 +0000)]
Fix handling of old nuv files where an aspect of 1 actually means 4/3
Patch by elupus (elupus ecce se)

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

16 years agoSimplify strange obfuscated code in MMCO_LONG handling.
Michael Niedermayer [Fri, 25 Jul 2008 00:13:02 +0000 (00:13 +0000)]
Simplify strange obfuscated code in MMCO_LONG handling.
Note, this might change behavior for invalid bitstreams.

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

16 years agoSet field_poc (it was half uninitialized before) and use it
Michael Niedermayer [Thu, 24 Jul 2008 23:43:44 +0000 (23:43 +0000)]
Set field_poc (it was half uninitialized before) and use it
instead of the fragile first_field check to determine if we have
2 fields at the end.

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

16 years agoMinor simplification of code in init_poc().
Michael Niedermayer [Thu, 24 Jul 2008 22:29:38 +0000 (22:29 +0000)]
Minor simplification of code in init_poc().

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

16 years agocosmetics (indent and 2 empty lines)
Michael Niedermayer [Thu, 24 Jul 2008 22:05:58 +0000 (22:05 +0000)]
cosmetics (indent and 2 empty lines)

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

16 years agoinit_poc() vs. idr() cleanup
Michael Niedermayer [Thu, 24 Jul 2008 22:04:29 +0000 (22:04 +0000)]
init_poc() vs. idr() cleanup

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