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
Michael Niedermayer
66ce282df5
h264: clean all non null elements of delayed_pic[]
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
b955ab2f49
h264: change MAX_DELAYED_PIC_COUNT check to av_assert0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mohamed Naufal
84f26f5288
Support (H/W accelerated) H.264 decoding on Android via Stagefright
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
Carl Eugen Hoyos
66624cbb80
Disable cropping for the brainfart case.
This fixes ticket #348 for the few users who have a playback application
that supports Sisvel 3D. The other 99% have to wait until FFmpeg
supports arbitrary cropping.
14 years ago
Michael Niedermayer
6270207511
h264: allow debuging SEI types
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Reimar Döffinger
b118255e91
Replace goto by break, it has the same effect.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Reimar Döffinger
2cd7a9ebe0
JPEG-LS: clip offset based on cur_scan to valid range.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Matthew Einhorn
1d6eca2d27
Removes the internal avcodec_find_best_pix_fmt1()function previously used by avcodec_find_best_pix_fmt() and not used anymore.
Signed-off-by: Matthew Einhorn <moiein2000@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
1287c81d65
imgconvert: make avcodec_find_best_pix_fmt2() more bug robust against future changes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Matthew Einhorn
adfe59407e
Adds a new pix fmt function that selects the best dest fmt from among 2 formats to convert to, given a certain src format.
Similar to avcodec_find_best_pix_fmt(), but instead only compares two destination
pix fmts and selects one of these fmts as the best dest format when converting from
a given source format. Also, as opposed to avcodec_find_best_pix_fmt() which supports
only the first 64 defined pixel formats, this supports as input any of the defined
pixel formats.
Also replaces the old function to rely on the new function.
Signed-off-by: Matthew Einhorn <moiein2000@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Michael Niedermayer
a544545a03
acodec: change default bitrate to 128k
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Alberto Delmás
1cf82cab08
VC1: Fix first/last row checks with slices
In some places 0/mb_height were used in place of start_mb_y/end_mb_y.
Fixes SA00049, SA00058, SA10091, SA10097, SA10131, SA20021, SA30030
Improves PSNR in SA00054, SA00059, SA00060, SA10096, SA10098, SA20022,
SA30031, SA30032, SA40012, SA40013
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Ronald S. Bultje
d4b9974465
vc1: properly zero coded_block[] edges on new slice entry.
Previously, we would leave the left edge uninitialized, which led to
CBP prediction errors on slice edges, e.g. in SA10098.vc1.
14 years ago
Michael Niedermayer
565cabf5c8
h264: Try to fix 422 intra NEON
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
4ae30cac22
libx264: add 'crf_max' private option.
Deprecate corresponding global option.
14 years ago
Anton Khirnov
c5dd0bc4ca
libx264: add 'weightp' private option.
Deprecate corresponding global option.
14 years ago
Anton Khirnov
d4b9671318
libx264: add 'rc_lookahead' private option.
Deprecate corresponding global option.
14 years ago
Anton Khirnov
2a44a8f609
libx264: add 'psy_trellis' private option.
Deprecate corresponding global option.
14 years ago
Anton Khirnov
93e623c642
libx264: add 'psy_rd' private option.
Deprecate corresponding global option.
14 years ago
Anton Khirnov
5c75b2a0b7
libx264: add 'aq_strength' private option.
Deprecate corresponding global option.
14 years ago
Anton Khirnov
85254fcb46
libx264: add 'aq_mode' private option.
Deprecate corresponding global option.
14 years ago
Anton Khirnov
9d508e4914
libx264: add 'cqp' private option.
Deprecate corresponding global option.
14 years ago
Anton Khirnov
d5dc8cc297
libx264: add 'crf' private option.
Deprecate corresponding global option.
Ideally all x264 private options should be generated automatically, but
x264 doesn't provide the API for this yet.
14 years ago
Anton Khirnov
8ee18b4bee
lavc: remove vbv_delay option
It's broken and serves no purpose as it's a read-only field.
14 years ago
Carl Eugen Hoyos
5f5e37e0fa
Support decoding of 2bpp and 4bpp TIFF images.
Based on patches by Kostya and ami_stuff.
14 years ago
Alberto Delmás
45ecda8554
Windows Media Image decoder (WMVP/WVP2)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Nicolas George
7a71a3d098
codec_names: remove spaces in sed command.
14 years ago
Justin Ruggles
3be5a94351
ac3enc: remove outdated TODO comment for apply_channel_coupling()
14 years ago
Carl Eugen Hoyos
5b71ae2b65
Be more verbose about H264 cropping errors.
14 years ago
Nicolas George
d2d7b7134f
lavc: use av_get_media_type_string and avcodec_get_name in avcodec_string.
14 years ago