Reimar Döffinger
459fe331e9
ac3dec: avoid pointless alloc and indirection for input_buffer
Since we now always allocate it, it can simply be made part of the context
instead.
14 years ago
Diego Biurrun
6192b6f3e7
mpeg12: cosmetics: reformat as K&R
14 years ago
Justin Ruggles
ae264bb29b
ac3enc: Add channel coupling support for the fixed-point AC-3 encoder.
Update FATE references accordingly.
14 years ago
Justin Ruggles
a0d17b6d45
ac3enc: scale floating-point coupling channel coefficients in
scale_coefficients() rather than in apply_channel_coupling()
14 years ago
Justin Ruggles
3e5722a8ca
ac3enc: fix encoding of stereo ac3 files when rematrixing is disabled.
The number of rematrixing bands still needs to be calculated.
14 years ago
Kostya Shishkov
bcd4aa8bec
wavpack: fix wrong return value in wavpack_decode_block()
This function should return number of samples decoded, not number of bytes
decoded.
Spotted by Uoti Urpala.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Dustin Brody
ff17fc6353
mpeg12: propagate more real return values through chunk decode error return and fix some indentation
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Kostya Shishkov
9bc4e21a9b
wavpack: use context reset in appropriate places
This fixes improper flushing in the cases when the same frame is decoded in
several iterations (for being too large to fit into output buffer) and flush is
called mid-decoding and it also resets context in case of decoding errors.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
fb47997edb
lavc: fix type for thread_type option
It should be flags, not int.
14 years ago
Anton Khirnov
fb4ca26bdb
lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions.
14 years ago
Anton Khirnov
c11fb8288d
AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().
It allows to search for options only with AVClass, without allocating
the corresponding context.
14 years ago
Anton Khirnov
9bc9188e58
libmp3lame: fix typo
FF_API_LAME_GLOBAL_OPTIONS => FF_API_LAME_GLOBAL_OPTS
Thanks to Clément Bœsch for spotting.
14 years ago
Anton Khirnov
1440037411
libx264: use X264_THREADS_AUTO constant instead of 0.
14 years ago
Anton Khirnov
5d06f15235
libx264: set default thread count to 0 (auto)
14 years ago
Anton Khirnov
f013cb8118
lavc: cosmetics, group deprecated codec flags
14 years ago
Anton Khirnov
aed7900704
mpeg12: add 'scan_offset' private option.
Deprecate CODEC_FLAG_SVCD_SCAN_OFFSET
14 years ago
Anton Khirnov
4bcee8e7f8
h263/p encoder: add 'structured_slices' private option.
Deprecate CODEC_FLAG_H263P_SLICE_STRUCT
14 years ago
Anton Khirnov
0d904de89d
h263/p encoder: add 'obmc' private option.
Deprecate CODEC_FLAG_OBMC
14 years ago
Anton Khirnov
e3922d1110
h263p encoder: add 'aiv' private option.
Deprecate CODEC_FLAG_H263P_AIV
14 years ago
Anton Khirnov
9bb2d1a3f0
h263p encoder: add 'umv' private option.
Deprecate CODEC_FLAG_H263P_UMV
14 years ago
Anton Khirnov
0e5d37309f
mpeg12enc/mpeg4videoenc: add 'alternate_scan' private option.
Deprecate CODEC_FLAG_ALT_SCAN
14 years ago
Anton Khirnov
1f0c7020a1
mjpegdec: add 'extern_huff' private option.
Deprecate CODEC_FLAG_EXTERN_HUFF
14 years ago
Anton Khirnov
4623420d84
mpeg4enc: add 'data_partitioning' private option.
Deprecate CODEC_FLAG_PART
14 years ago
Anton Khirnov
0cc06b9e23
snow: add 'memc_only' private option.
Deprecate CODEC_FLAG2_MEMC_ONLY
14 years ago
Anton Khirnov
0dc5e12f1e
libx264: add 'mbtree' private option.
Deprecate CODEC_FLAG2_MBTREE
14 years ago
Anton Khirnov
38934f19fe
libx264: add 'psy' private option.
Deprecate CODEC_FLAG2_PSY
14 years ago
Anton Khirnov
a7cec3a094
libmp3lame: add 'reservoir' private option.
Deprecate CODEC_FLAG2_BIT_RESERVOIR
14 years ago
Anton Khirnov
88262ca87d
mpeg2enc: add 'non_linear_quant' private option
Deprecate CODEC_FLAG2_NON_LINEAR_QUANT
14 years ago
Anton Khirnov
2c5e1efc09
mpeg12enc: add drop_frame_timecode private option.
Deprecate CODEC_FLAG2_DROP_FRAME_TIMECODE
14 years ago
Anton Khirnov
297d9cb3dc
mpeg12enc: add intra_vlc private option.
Deprecate CODEC_FLAG2_INTRA_VLC.
14 years ago
Alberto Delmás
d2f119a1f2
VC1: Support dynamic dimension changes
Fixes SA00072, SA00073, SA10150, SA10151, Issue2076
Improves SA10153
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Dustin Brody
a18e04bcf9
mjpeg: treat external huffman table setup failure as codec init failure if external huffman table use requested
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
7485e54708
lavc: deprecate CODEC_FLAG2_BRDO
It's been unused for the last 3 years.
14 years ago
Anton Khirnov
cf90c5d0e0
libx264: add 'aud' private option.
Deprecate CODEC_FLAG2_AUD.
14 years ago
Anton Khirnov
3b82aeeec0
libx264: add 'fast-pskip' private option.
Deprecate CODEC_FLAG2_FASTPSKIP.
14 years ago
Anton Khirnov
373257fa79
libx264: add '8x8dct' private option.
Deprecate CODEC_FLAG2_8X8DCT.
14 years ago
Anton Khirnov
eab21c32e3
libx264: add 'mixed-refs' private option.
Deprecate CODEC_FLAG2_MIXED_REFS.
14 years ago
Anton Khirnov
0f29699db7
libx264: add 'weightb' private option.
Deprecate CODEC_FLAG2_BPYRAMID.
14 years ago
Anton Khirnov
34dda1251d
libx264: add 'b-pyramid' private option.
Deprecate CODEC_FLAG2_BPYRAMID.
14 years ago
Anton Khirnov
5d4a1048ee
libx264: add 'intra-refresh' private option.
Deprecate CODEC_FLAG2_INTRA_REFRESH.
14 years ago
Anton Khirnov
faaecd4708
libx264: add 'ssim' private option.
Deprecate CODEC_FLAG2_SSIM.
14 years ago
Anton Khirnov
3b81636f33
libx264: make options compatible with x264
Replace '_' with '-', merge psy-trellis into psy-rd and rename cqp->qp
Also fix typo pdy-rd -> psy-rd
14 years ago
Luca Barbato
dde372934a
avcodec: remove misleading comment
coded_width is the width before lowres scaling,
coded_height is the height before lowres scaling.
14 years ago
Kostya Shishkov
a80852316e
RV40: reuse some H.264 motion compensation functions in RV40.
Since RV40 is based on H.264, it uses the same interpolation filters and
functions for halfpel interpolation in one direction can be reused.
Unfortunately other cases are implemented differently and produce slightly
different output because of rounding.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Luca Barbato
22141917a9
Revert "h264: Properly set coded_{width, height} when parsing H.264."
This reverts commit b47904d158
.
coded_{width, height} overwrites width and height in avcodec_open and
it currently just report the non-lowres size.
14 years ago
Diego Biurrun
0249478756
doxygen: fix wrong comment syntax, //< vs. ///<
14 years ago
Diego Biurrun
0138a8dead
doxygen: drop pointless star from pointer variable names
14 years ago
Dustin Brody
f913eeea43
vp6: partially propagate huffman tree building errors during coeff model parsing and fix misspelling
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Dustin Brody
09c274e067
mpeg12: propagate chunk decode errors and fix conditional indentation
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
John Stebbins
0d802ac54e
vc1: fix VC-1 Pulldown handling.
Pulldown flags are being set incorrectly and AVFrame->repeat_pict is not
being set. Also, skipped frames exit header parsing too early and do not
set pulldown flags appropriately. Ticks_per_frame needs to be set and
time_base adjusted so player can extend frame duration by a field time.
This fixes problems encountered when attempting to transcode HD-DVD EVOB
files with HandBrake. Also makes these files play smoothly in avplay.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago