Michael Niedermayer
d00eac6c96
Factorize some code between temporal and spatial direct mode.
...
Originally committed as revision 14618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 11:00:17 +00:00
Vitor Sessak
6888b4fcec
Rename prodsum() function to convolve()
...
Originally committed as revision 14615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 04:52:33 +00:00
Justin Ruggles
5e3e40756e
cosmetics: use a better function name than uncouple_channels()
...
Originally committed as revision 14614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 01:49:01 +00:00
Justin Ruggles
022845ed05
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
2008-08-05 01:31:40 +00:00
Justin Ruggles
ba7f712c21
remove unneeded local variable
...
Originally committed as revision 14547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:32:27 +00:00
Michael Niedermayer
8354477edc
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
2008-08-05 00:15:15 +00:00
Michael Niedermayer
42de393dcb
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
2008-08-05 00:08:32 +00:00
Michael Niedermayer
6c86c44b83
*2 /2 is wrong for PAFF references, so do not do it.
...
Originally committed as revision 14544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 23:29:34 +00:00
Michael Niedermayer
f0538030da
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
2008-08-04 23:06:45 +00:00
Michael Niedermayer
301e1057b8
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
2008-08-04 22:59:53 +00:00
Michael Niedermayer
fa6a6c59e0
Remove redundant code.
...
Originally committed as revision 14541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 22:52:54 +00:00
Michael Niedermayer
7762cc3dd4
Fill ref_count/ref_poc for both fields of frames.
...
Originally committed as revision 14540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 22:32:41 +00:00
Art Clarke
910e366817
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
2008-08-04 21:45:05 +00:00
Michael Niedermayer
45260d4faa
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
2008-08-04 11:19:54 +00:00
Michael Niedermayer
4c0d57bdef
Fix dist_scale_factor for long term reference pictures.
...
Originally committed as revision 14536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 11:17:22 +00:00
Mathieu Malaterre
0e589ce151
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
2008-08-04 08:25:38 +00:00
Peter Ross
cc0b61292a
Simplify PCM codec; replace switch() statements with av_get_bits_per_sample().
...
Originally committed as revision 14534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 07:49:50 +00:00
Peter Ross
0fd7e57e7d
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
2008-08-04 07:47:23 +00:00
Peter Ross
9d49b8ff90
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
2008-08-04 07:40:07 +00:00
Michael Niedermayer
71041842ec
Use the correct collocated field in pred_direct_motion() when it differs in parity.
...
Fixes at least:
FRExt/HPCAFL_BRCM_C.264
FRExt/HPCAFLNL_BRCM_C.264
FRExt/HPCVFL_BRCM_A.264
FRExt/HPCVFLNL_BRCM_A.264
Originally committed as revision 14529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 02:41:19 +00:00
Justin Ruggles
55aff0d901
Read bitstream parameters for E-AC-3 streams before returning an error.
...
Originally committed as revision 14528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 22:29:06 +00:00
Justin Ruggles
602116df9b
Hardcode the table for ungrouping 3 values in 5 bits. It will be reused by
...
the E-AC-3 decoder.
Originally committed as revision 14527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 21:42:43 +00:00
Justin Ruggles
7417120b6f
use the same table for ungrouping exponents and bap=2 mantissas
...
Originally committed as revision 14525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 19:24:04 +00:00
Justin Ruggles
14b7062829
cosmetics: make all references to AC-3 capitalized and hyphenated
...
Originally committed as revision 14523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 16:42:32 +00:00
Michael Niedermayer
aa6de49e95
Remove useless mb_field_decoding_flag setting code that was at the wrong spot.
...
Originally committed as revision 14519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 13:11:14 +00:00
Michael Niedermayer
44e9dcf13a
mb_field_decoding_flag was not initialized
...
Fixes at least:
MR7_BT_B.h264
Sharp_MP_PAFF_1r2.jvt
Sharp_MP_PAFF_2.jvt
Originally committed as revision 14518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 13:00:39 +00:00
Mathieu Malaterre
19759c9a36
Wrong constant used in default threshold value calculation for
...
JPEG-LS lossy mode with < 128 colours.
Patch by Mathieu Malaterre (mail = gmailify("mathieu.malaterre"))
Originally committed as revision 14517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 05:07:48 +00:00
Justin Ruggles
1db9da5238
cosmetics: vertical alignment
...
Originally committed as revision 14516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 02:16:51 +00:00
Justin Ruggles
a52d8c6b32
use MAX_BLOCKS for array size instead of 6
...
Originally committed as revision 14515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 02:16:21 +00:00
Justin Ruggles
a42c895207
rearrange dimensions of pre_mantissa array
...
Originally committed as revision 14514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 02:11:46 +00:00
Peter Ross
42a45a03e7
Add graceful error handling to avcodec_get_pix_fmt_name() and avcodec_get_pix_fmt().
...
Originally committed as revision 14513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 00:41:31 +00:00
Michael Niedermayer
2879c75ff3
Picture.ref_count/ref_poc have to be stored per field (actually also per
...
slice but thats a seperate bug)
Fixes at least:
CABREF3_Sand_D.264
camp_mot_fld0_full.26l
CVFI2_Sony_H.jsv
CVNLFI2_Sony_H.jsv
Originally committed as revision 14511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 23:13:27 +00:00
Baptiste Coudurier
ce98b0a479
do not fail on qscale==0 if error resilience is high, fix broken quicktime h261, lotr.mov
...
Originally committed as revision 14510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 22:51:49 +00:00
Uoti Urpala
f769b746aa
Mark add_png_paeth_prediction_* functions which are only used within this file
...
as static. patch by Uoti Urpala, uoti.urpala pp1.inet fi
Originally committed as revision 14509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 17:32:55 +00:00
Peter Ross
82cee279a5
Modify av_audio_convert() to use AVAudioConvert context struct; add av_audio_convert_alloc() and av_audio_convert_free() support functions.
...
Originally committed as revision 14496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 13:53:18 +00:00
Peter Ross
8a464e7580
Revert r14484 hunk that deleted the 'include avcodec.h' statement.
...
Originally committed as revision 14495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 11:26:22 +00:00
Nicolas George
afffd357b0
Use compression level to set mp3lame quality option.
...
Patch by Nicolas George nicolas george normalesup org
Original thread:
[PATCH] libmp3lame: set noise shaping & psychoacoustic algorithms quality
Date: 07/31/2008 03:53 PM
Originally committed as revision 14494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 07:23:29 +00:00
Baptiste Coudurier
014d2f0509
fix mpeg 4:2:2 vis_qp and vis_mb_type debug, fix issue #471
...
Originally committed as revision 14493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 19:51:19 +00:00
Mathieu Malaterre
0afdedcafb
Fix a potential out of array writing.
...
Patch by Mathieu Malaterre mathieu malaterre gmail com
Originally committed as revision 14487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 14:53:14 +00:00
Peter Ross
9e82a113e5
Write sample format description within avcodec_string()
...
Originally committed as revision 14485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 12:56:56 +00:00
Peter Ross
c2b28bb975
Add sample format support functions: avcodec_get_sample_fmt_name(), avcodec_get_sample_fmt(), avcodec_sample_fmt_string()
...
Originally committed as revision 14484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 12:55:06 +00:00
Art Clarke
bbdf87285a
Use static vlc structure to decode layer 3 huffman tables.
...
Patch by Art Clarke aclarke vlideshow com
Originally committed as revision 14483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 12:09:11 +00:00
Peter Ross
fd76c37fd9
Modify all codecs to report their supported input and output sample format(s).
...
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 10:47:31 +00:00
Michael Niedermayer
c1708e8dc8
Simplify intra PCM MB handling.
...
Originally committed as revision 14476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 18:21:51 +00:00
Vitor Sessak
4ca7e74c1f
Do not declare a counter as unsigned when it is not needed
...
Originally committed as revision 14469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-29 18:22:31 +00:00
Vitor Sessak
4e33ed368a
Cosmetics: rename loop counter vars to i,j
...
Originally committed as revision 14468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-29 18:20:49 +00:00
Vitor Sessak
6c9c8b06b3
Cosmetics: rename loop counter vars to i,j
...
Originally committed as revision 14467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-29 18:07:11 +00:00
Loren Merritt
8a37920c9e
r14205 broke vorbis float_to_int on ppc
...
Originally committed as revision 14466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-29 14:17:13 +00:00
Paul Kendall
9bec77fe8d
Use #define instead of a constant. Patch by Paul Kendall.
...
Originally committed as revision 14463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-29 05:39:33 +00:00
Jason Garrett-Glaser
aa6a89aa79
Small h264 decoding speed optimization: while->do/while
...
Originally committed as revision 14459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 15:42:49 +00:00
Vitor Sessak
045e21cc19
Cosmetics: new line
...
Originally committed as revision 14457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 10:49:44 +00:00
Vitor Sessak
e7e4f476c0
Remove the now useless phase variable from context
...
Originally committed as revision 14456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 10:49:14 +00:00
Peter Ross
993ba05182
increment minor version for commit r14412 (add sample_fmts infrastructure)
...
Originally committed as revision 14455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 10:48:03 +00:00
Vitor Sessak
c749f3db98
Cosmetics: make comment match var name
...
Originally committed as revision 14454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 05:18:39 +00:00
Vitor Sessak
6509507fad
Cosmetics: align comments
...
Originally committed as revision 14453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 05:16:51 +00:00
Vitor Sessak
f285e6dd31
Rename two context vars: s/sb/sp_block/, s/lhist/gain_block/
...
Originally committed as revision 14452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 04:53:05 +00:00
Vitor Sessak
36826ee0df
Declare temporary buffers to be only of the necessary size
...
Originally committed as revision 14451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 04:37:58 +00:00
Vitor Sessak
5e707c5905
Remove redundant comments
...
Originally committed as revision 14450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 04:25:51 +00:00
Vitor Sessak
c6ad13044a
Cosmetics: do not align with now removed next instruction
...
Originally committed as revision 14449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 04:24:08 +00:00
Vitor Sessak
2c46367163
Cosmetics: remove braces and useless newline
...
Originally committed as revision 14448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 04:07:18 +00:00
Vitor Sessak
2b356efec2
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
2008-07-28 02:55:47 +00:00
Vitor Sessak
aed39f6c02
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
2008-07-28 02:53:07 +00:00
Vitor Sessak
b26d320583
Add a few comments pointing to the G.728 specification
...
Originally committed as revision 14444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 22:22:51 +00:00
Vitor Sessak
854ce441c3
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
2008-07-27 22:21:41 +00:00
Diego Biurrun
218e061201
Remove unused variable.
...
Originally committed as revision 14442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 21:56:26 +00:00
Vitor Sessak
0143ec2a7e
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
2008-07-27 20:58:29 +00:00
Stefano Sabatini
b211d3ae47
Complete documentation for av_set_string().
...
Originally committed as revision 14436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 20:55:56 +00:00
Vitor Sessak
59da0390dc
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
2008-07-27 20:55:27 +00:00
Vitor Sessak
3df136d438
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
2008-07-27 20:35:32 +00:00
Jeff Downs
18c7be6501
Initialize outputed_poc to INT_MIN at decoder initialization.
...
Fixes issue 560
Originally committed as revision 14428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 13:49:04 +00:00
Paul Kendall
143d7f1443
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
2008-07-27 13:01:17 +00:00
Robert Swain
f25c244f5f
AAC tables and data that have been OKed by Michael
...
Originally committed as revision 14425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 08:21:48 +00:00
Jeff Downs
e791eb1ed4
And.... Fix another spec reference to be more specific and correct.
...
Originally committed as revision 14423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 18:38:30 +00:00
Jeff Downs
25f8bceb1c
Fix reference to spec to be more specific and correct.
...
Originally committed as revision 14422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 18:34:34 +00:00
Vitor Sessak
f42eb5715d
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
2008-07-26 15:14:50 +00:00
Vitor Sessak
272d258ab9
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
2008-07-26 15:10:17 +00:00
Paul Kendall
4a1aa38bda
Simple refactoring to resolve a FIXME. Patch by Paul Kendall.
...
Originally committed as revision 14419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 15:07:04 +00:00
Vitor Sessak
efa86ebe4c
Cosmetics: remove useless parenthesis
...
Originally committed as revision 14418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 14:38:29 +00:00
Vitor Sessak
e07c5ade5e
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
2008-07-26 14:35:50 +00:00
Vitor Sessak
5af20c207e
Remove an useless comment describing colmult()
...
Originally committed as revision 14416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 14:33:53 +00:00
Vitor Sessak
d899014ee2
Remove an useless comment describing prodsum()
...
Originally committed as revision 14415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 14:33:25 +00:00
Vitor Sessak
952a980d75
Give the context variables of ra288 a better name: s/glob/ractx/
...
Originally committed as revision 14414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 14:31:47 +00:00
Vitor Sessak
029e1c01b5
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
2008-07-26 14:29:39 +00:00
Peter Ross
88a07af740
add sample_fmts infrastructure: AVCodec->sample_fmts and SAMPLE_FMT_NB enum.
...
Originally committed as revision 14412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 08:48:26 +00:00
Peter Ross
aa29709ec8
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
2008-07-26 07:08:15 +00:00
Michael Niedermayer
fef744d404
indent
...
Originally committed as revision 14408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 02:31:19 +00:00
Michael Niedermayer
0af6967ee7
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
2008-07-26 02:27:14 +00:00
Alexander Strange
385c820b4a
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
2008-07-26 01:57:10 +00:00
Michael Niedermayer
af8c5e08d7
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
2008-07-25 23:55:31 +00:00
Michael Niedermayer
d9022d38fb
Remove another 2 incorrect checks.
...
These would ignore fields of different parity.
Originally committed as revision 14404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-25 23:49:01 +00:00
Michael Niedermayer
79b5c77692
Print an error if a reference picture is missing.
...
Originally committed as revision 14403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-25 23:39:43 +00:00
Michael Niedermayer
6edac8e104
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
2008-07-25 23:36:48 +00:00
Michael Niedermayer
99157e499c
10l typo, fix compilation
...
Originally committed as revision 14401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-25 22:42:49 +00:00
Michael Niedermayer
91ea868eeb
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
2008-07-25 22:39:43 +00:00
Michael Niedermayer
b3e93fd408
indent
...
Originally committed as revision 14399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-25 21:51:50 +00:00
Michael Niedermayer
d4f7d83866
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
2008-07-25 21:46:15 +00:00
Michael Niedermayer
37dcf83077
Do not scare the user with error messages when everything is ok.
...
Originally committed as revision 14396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-25 14:52:58 +00:00
Michael Niedermayer
d9e3242213
Make remove_short() match remove_long() in that it calls unreference_pic().
...
Originally committed as revision 14395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-25 14:00:01 +00:00
Michael Niedermayer
472c9a58a8
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
2008-07-25 13:40:13 +00:00
Michael Niedermayer
9c0e46242f
Make remove_long() call unreference_pic() internally.
...
Originally committed as revision 14393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-25 13:09:06 +00:00