Vitor Sessak
b4d46e8c06
Cosmetical simplification in t_sqrt()
...
Originally committed as revision 14638 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
438abdaaeb
Check available size before writing in decode_frame()
...
Originally committed as revision 14637 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
8089c652a7
Check *data_size in decode_frame()
...
Originally committed as revision 14636 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5991704634
Cosmetics: alignment
...
Originally committed as revision 14635 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
e3751aa6ec
Flip (by making buf[i] -> buf[size-i-1]) two buffers: {sp,gain}_block. This
...
needs duplicating a few loops, but now the code is clearer.
Originally committed as revision 14634 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9cc440bfc4
Prevent low delay from being used with mpeg1.
...
Originally committed as revision 14627 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Robert Swain
71e9a1b8dd
OKed sections of code from the SoC AAC decoder
...
Originally committed as revision 14626 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Robert Swain
fed3f06914
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
17 years ago
Robert Swain
589ce6e63d
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
17 years ago
Michael Niedermayer
2ccd25d02b
Use local variabes for *stride, where local variables exist.
...
Originally committed as revision 14623 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7d54ecc9cb
indent
...
Originally committed as revision 14622 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9b5fab918b
Simplify l1mv/l1ref calculation.
...
Originally committed as revision 14621 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c210fa61cf
simplify y_shift/ref_shift code
...
Originally committed as revision 14620 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cc615d2ce8
indent
...
Originally committed as revision 14619 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
d00eac6c96
Factorize some code between temporal and spatial direct mode.
...
Originally committed as revision 14618 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
6888b4fcec
Rename prodsum() function to convolve()
...
Originally committed as revision 14615 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
5e3e40756e
cosmetics: use a better function name than uncouple_channels()
...
Originally committed as revision 14614 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Justin Ruggles
ba7f712c21
remove unneeded local variable
...
Originally committed as revision 14547 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Michael Niedermayer
fa6a6c59e0
Remove redundant code.
...
Originally committed as revision 14541 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Michael Niedermayer
4c0d57bdef
Fix dist_scale_factor for long term reference pictures.
...
Originally committed as revision 14536 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Justin Ruggles
1db9da5238
cosmetics: vertical alignment
...
Originally committed as revision 14516 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
a52d8c6b32
use MAX_BLOCKS for array size instead of 6
...
Originally committed as revision 14515 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
a42c895207
rearrange dimensions of pre_mantissa array
...
Originally committed as revision 14514 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago