Anton Khirnov
9f0617d213
mpeg4videodec: remove write-only sprite variables from MpegEncContext
2013-11-29 14:19:47 +01:00
Anton Khirnov
1a89025793
mpeg4videodec: move MpegEncContext.vol_sprite_usage to Mpeg4DecContext
2013-11-29 14:19:47 +01:00
Anton Khirnov
75bd07f732
mpeg4videoenc: write 0 instead of vol_sprite_usage
...
That field is never set for encoding.
2013-11-29 14:19:47 +01:00
Anton Khirnov
e62a43f6b1
mpeg4videodec: move MpegEncContext.time_increment_bits to Mpeg4DecContext
...
The field remains in MpegEncContext for use in the encoder.
2013-11-29 14:19:47 +01:00
Anton Khirnov
ee8af2dd99
mpeg4videodec: move MpegEncContext.shape to Mpeg4DecContext
2013-11-29 14:19:47 +01:00
Anton Khirnov
35e0833d41
mpeg4videodec: add a mpeg4-specific private context.
2013-11-29 14:19:47 +01:00
Tim Walker
3c8507a845
dcadec: add disable_xch private option.
...
This supplements the deprecated request_channels-based control of XCh decoding.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-28 22:02:53 +01:00
Tim Walker
220494ad0b
dcadec: treat all 2-channel modes as Stereo in dca_downmix.
...
The check for (prim_channels > 2) before calling dca_downmix made these
cases unreachable, but now 2.1 layouts will go through the downmix code.
Having dual mono, Lt/Rt and sum-difference layouts print errors when
regular Stereo doesn't seems pointless.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-28 22:02:53 +01:00
Tim Walker
aaa44d0299
dca: support mixing LFE in dca_downmix.
...
Embedded downmix coefficients can use this.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-28 22:02:53 +01:00
Tim Walker
149438cfe5
dca: improve default stereo downmix coefficients.
...
Previous coefficients were producing a non-normalized, incorrect Lt/Rt downmix.
The new coefficients produce a standard Lo/Ro downmix with 3dB attenuation.
This should match the typical default coefficients used by DTS encoders.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-28 22:02:53 +01:00
Tim Walker
44b17d794a
dca: extract core substream's embedded downmix coeffcient codes, if present.
...
As per ETSI TS 102 114 V1.4.1 specification.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-28 22:02:53 +01:00
Tim Walker
27245b4e1b
dca: remove embedded downmix coefficient extraction.
...
It was based on an old, seemingly incorrect specification, so default
coefficients were always used anyway.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-28 22:02:50 +01:00
Tim Walker
b6d5e6aa10
dca: convert dca_default_coeffs to float.
...
Easier to read, modify, and avoids relying on an outdated table.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-28 21:38:22 +01:00
Tim Walker
25609b63d2
dcadec: store the stereo downmix coefficients as float in the DCAContext.
...
The 7-bit codes previously used are absent from the ETSI 102 114 V1.4.1 spec.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-28 21:35:22 +01:00
Tim Walker
89de5157b1
dcadec: implement request_channel_layout.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-28 21:10:29 +01:00
Diego Biurrun
cf7860db60
x86: dsputil: Suppress deprecation warnings for XvMC bits
...
These parts are scheduled for removal on the next version bump.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2013-11-28 16:04:30 +01:00
Michael Niedermayer
d1916d13e2
dsputil/pngdsp: fix signed/unsigned type in end comparison
...
Fixes out of array accesses and integer overflows.
2013-11-28 15:37:55 +01:00
Anton Khirnov
8733799392
h263dec: sanitize a condition.
...
Call ff_mpeg4_decode_picture_header() only when the decoder has the
MPEG4 codec id, not based on a vaguely related value of h263_pred.
2013-11-27 22:24:50 +01:00
Anton Khirnov
4d388c0cd0
h264_refs: make sure not to write over the bounds of the default ref list
...
Fixes invalid writes.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-27 22:24:40 +01:00
Anton Khirnov
c6080d8900
lavc: remove mp3_header_(de)compress bitstream filters
...
They mangle the mp3 header in a non-standard way to save a few bytes.
People who care about space so much should just use a more efficient
codec.
2013-11-26 09:27:50 +01:00
John Stebbins
1eaac1d6f7
mpeg12dec: Extract CC user data into frame side data
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-26 08:37:22 +01:00
Kostya Shishkov
a16577d985
MSN Audio support
...
This is essentially a MS GSM decoder extension that supports more
sampling rates and lower bitrates.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-26 08:31:10 +01:00
Kostya Shishkov
56d061ce9d
metasound: add last missing modes (8kHz @ 6kbps per channel)
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-26 08:29:42 +01:00
Kostya Shishkov
de44dfc7c0
vc1: Reset numref if fieldmode is not set
...
There are samples in the wild with B-frames and P-frames with different
interlace mode.
CC: libav-stable@libav.org
Reported-by: Jean-Baptiste Kempf <jb@videolan.org>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-11-26 00:34:12 +01:00
Diego Biurrun
5145ccf02b
aacsbr: Add some const casts to silence warnings in ff_sbr_apply()
2013-11-25 21:04:29 +01:00
Diego Biurrun
8f8bc92365
Add missing #includes for *INT64_MAX and *INT64_C
2013-11-23 21:55:52 +01:00
Diego Biurrun
0eeeb9647e
mpegaudiodec: Consistently handle fixed/float templating
2013-11-23 21:36:49 +01:00
Tim Walker
48b24bd2d2
ac3dec: Fix out-of-array read
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-23 21:36:49 +01:00
Alexandra Khirnova
6f270da61b
libschroedingerenc: do not assert on values from external libraries
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-23 12:08:53 +01:00
Tim Walker
d4df02131b
ac3dec: Remove write-only channel_layout field from AC3DecodeContext
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-22 23:27:34 +01:00
Tim Walker
b532854622
ac3: implement request_channel_layout.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-22 23:27:33 +01:00
Diego Biurrun
0ba8ba165b
aacps: Adjust some const qualifiers to suppress warnings
2013-11-22 08:21:38 +01:00
Anton Khirnov
430d121964
pcx: round up in bits->bytes conversion in a buffer size check
...
Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-21 20:58:27 +01:00
Anton Khirnov
c918e08b9c
truemotion1: make sure index does not go out of bounds
...
Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-21 20:58:08 +01:00
Anton Khirnov
de4ec972c0
vc1: fix a memleak.
...
Happens on a B-frame when neither low_delay nor last_picture_ptr is set
(probably corrupted streams only).
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
2013-11-21 20:57:36 +01:00
Anton Khirnov
ca41c72c6d
motionpixels: clip VLC codes.
...
Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-21 20:57:20 +01:00
Anton Khirnov
f0259a587e
h264: check buffer size before accessing it
...
Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-21 20:54:20 +01:00
Anton Khirnov
1f3e56b6dc
gifdec: convert to bytestream2
2013-11-21 20:53:06 +01:00
Anton Khirnov
c453723ad7
gifdec: check that the image dimensions are non-zero
...
Also add an error message an return a more suitable error code
(INVALIDDATA, not EINVAL);
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-21 20:52:42 +01:00
Anton Khirnov
074c769de9
h264_cavlc: check the size of the intra PCM data.
...
Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-21 20:52:34 +01:00
Diego Biurrun
ac0e03bab0
dct/fft: Give consistent names to fixed/float template files
2013-11-21 15:59:46 +01:00
Vittorio Giovara
305d3d9f1f
mpeg4videoenc: restore macro parentheses
...
These were erroneously removed in 8769113acc
.
2013-11-21 12:58:12 +01:00
Sean McGovern
a7b87ca911
libxavs: rename and fix a variable name
...
It was mis-spelled in b18c7c8d3d
.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-20 21:06:31 +01:00
Tim Walker
ffb0af7f17
ac3dec: simplify an expression
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-19 18:52:17 +01:00
Diego Biurrun
57f13fd7e9
dv_tablegen: Remove CONFIG_SMALL preprocessor check
...
The code does in no way depend on CONFIG_SMALL.
2013-11-19 16:04:27 +01:00
Vittorio Giovara
6f1ec8edf2
avcodec.h: include version.h before using version macro
2013-11-19 14:48:36 +01:00
Vittorio Giovara
c673fc919c
hevc_sei: drop unused parameter
2013-11-19 14:48:36 +01:00
Vittorio Giovara
d234c7a07c
mpeg4videodec: K&R formatting cosmetics
2013-11-19 14:48:36 +01:00
Vittorio Giovara
8769113acc
mpeg4videoenc: K&R formatting cosmetics
2013-11-19 14:48:36 +01:00
Kostya Shishkov
16e7b189c5
mpegvideo: Fix swapping of UV planes for VCR2
2013-11-19 02:05:51 +01:00
Tim Walker
69d4dbfd1f
aac_ac3_parser: simplify an expression
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-19 02:02:53 +01:00
Tim Walker
37a3cac78c
dcadec: simplify an expression
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-19 02:02:49 +01:00
Anton Khirnov
a553c6a347
lavc: use buf[0] instead of data[0] in checks whether a frame is allocated
...
data[0] may be NULL for valid frames with hwaccel pixel formats.
2013-11-18 18:09:48 +01:00
Anton Khirnov
1c01b0253e
mpegvideo_enc: use the AVFrame API properly.
2013-11-16 17:51:10 +01:00
Anton Khirnov
a6064b12b4
ffv1: use the AVFrame API properly.
2013-11-16 17:50:51 +01:00
Anton Khirnov
706a92926c
jpegls: use the AVFrame API properly.
2013-11-16 17:50:28 +01:00
Anton Khirnov
14b35bf065
huffyuv: use the AVFrame API properly.
2013-11-16 17:50:20 +01:00
Anton Khirnov
ffe04c3303
libxvid: use the AVFrame API properly.
2013-11-16 17:50:09 +01:00
Anton Khirnov
863a670e48
pcxenc: use the AVFrame API properly.
2013-11-16 17:49:47 +01:00
Anton Khirnov
7ca97aa7ee
roqvideo: remove unused variables
2013-11-16 17:49:40 +01:00
Anton Khirnov
372262853b
libschroedingerenc: use the AVFrame API properly.
2013-11-16 17:49:31 +01:00
Anton Khirnov
97168b204a
eatgv: use the AVFrame API properly.
2013-11-16 17:49:21 +01:00
Anton Khirnov
b18c7c8d3d
libxavs: use the AVFrame API properly.
2013-11-16 17:49:15 +01:00
Anton Khirnov
5290e02a0a
nuv: use the AVFrame API properly.
2013-11-16 17:49:02 +01:00
Anton Khirnov
d56a114adc
flashsvenc: use the AVFrame API properly.
2013-11-16 17:48:14 +01:00
Anton Khirnov
57e7b3a89f
dnxhdenc: use the AVFrame API properly.
2013-11-16 17:47:58 +01:00
Anton Khirnov
d2287740d9
libx264: use the AVFrame API properly.
2013-11-16 17:47:50 +01:00
Anton Khirnov
394ef4d18f
svq1enc: use the AVFrame API properly.
2013-11-16 17:47:34 +01:00
Anton Khirnov
219b35f5d1
gif: use the AVFrame API properly.
2013-11-16 17:47:25 +01:00
Anton Khirnov
45bde93eef
sunrastenc: use the AVFrame API properly.
2013-11-16 17:47:09 +01:00
Anton Khirnov
fb26d76167
targaenc: use the AVFrame API properly.
2013-11-16 17:46:51 +01:00
Anton Khirnov
f26f71139f
tiffenc: use the AVFrame API properly.
2013-11-16 17:46:24 +01:00
Anton Khirnov
78c6c9d6c1
pngenc: use the AVFrame API properly.
2013-11-16 17:46:16 +01:00
Anton Khirnov
0ea430c75b
lclenc: use the AVFrame API properly.
2013-11-16 17:46:01 +01:00
Anton Khirnov
d48c206302
qtrleenc: use the AVFrame API properly.
2013-11-16 17:45:28 +01:00
Anton Khirnov
c8a525197f
ulti: use the AVFrame API properly.
2013-11-16 17:44:54 +01:00
Anton Khirnov
6792559f8a
vc1: use the AVFrame API properly.
2013-11-16 17:44:40 +01:00
Anton Khirnov
042aec41ae
flashsv: use the AVFrame API properly.
2013-11-16 17:44:04 +01:00
Anton Khirnov
e4155f15b3
eamad: use the AVFrame API properly.
2013-11-16 17:43:55 +01:00
Anton Khirnov
4e7e8055a7
dpxenc: use the AVFrame API properly.
2013-11-16 17:43:36 +01:00
Anton Khirnov
2a85a192c7
bmpenc: use the AVFrame API properly.
2013-11-16 17:43:05 +01:00
Anton Khirnov
6a08d7fcc5
sgienc: use the AVFrame API properly.
2013-11-16 17:42:36 +01:00
Anton Khirnov
730bac7bab
mss4: use the AVFrame API properly.
2013-11-16 17:42:23 +01:00
Anton Khirnov
207909911d
mss3: use the AVFrame API properly.
2013-11-16 17:41:54 +01:00
Anton Khirnov
e9198f61db
mss2: use the AVFrame API properly.
2013-11-16 17:41:42 +01:00
Anton Khirnov
acaffdca21
mss1: use the AVFrame API properly.
2013-11-16 17:41:32 +01:00
Anton Khirnov
508b37557b
tiertexseqv: use the AVFrame API properly.
2013-11-16 17:41:07 +01:00
Anton Khirnov
68af7f54a6
smc: use the AVFrame API properly.
2013-11-16 17:40:57 +01:00
Anton Khirnov
32f7cf9bc3
truemotion2: use the AVFrame API properly.
2013-11-16 13:29:24 +01:00
Anton Khirnov
42d40fd28c
truemotion1: use the AVFrame API properly.
2013-11-16 13:27:33 +01:00
Anton Khirnov
4a4841d4e0
fraps: use the AVFrame API properly.
2013-11-16 13:27:17 +01:00
Anton Khirnov
e8ef8a328c
rpza: use the AVFrame API properly.
2013-11-16 13:27:07 +01:00
Anton Khirnov
e52f38bc2e
motionpixels: use the AVFrame API properly.
2013-11-16 13:26:50 +01:00
Anton Khirnov
aca214783a
vmdvideo: use the AVFrame API properly.
2013-11-16 13:25:56 +01:00
Anton Khirnov
3c8ea9d4a7
vmnc: use the AVFrame API properly.
2013-11-16 13:25:29 +01:00
Anton Khirnov
04f30711d8
xan: use the AVFrame API properly.
2013-11-16 13:25:17 +01:00
Anton Khirnov
f3cd23fbc8
xxan: use the AVFrame API properly.
2013-11-16 13:24:56 +01:00
Anton Khirnov
6886a85f5c
zerocodec: use the AVFrame API properly.
2013-11-16 13:24:44 +01:00
Anton Khirnov
a837c4f2df
zmbvenc: use the AVFrame API properly.
2013-11-16 13:24:10 +01:00
Anton Khirnov
d100f9e7cd
flicvideo: use the AVFrame API properly.
2013-11-16 13:23:59 +01:00
Anton Khirnov
84099f51f3
smacker: use the AVFrame API properly.
2013-11-16 13:23:38 +01:00
Anton Khirnov
5c96f02901
mmvideo: use the AVFrame API properly.
2013-11-16 13:23:14 +01:00
Anton Khirnov
2e09096da9
kgv1: use the AVFrame API properly.
2013-11-16 13:23:05 +01:00
Anton Khirnov
79d501a860
indeo2: use the AVFrame API properly.
2013-11-16 13:21:02 +01:00
Anton Khirnov
4b8a194146
iff: use the AVFrame API properly.
2013-11-16 13:20:44 +01:00
Anton Khirnov
c5dfb9033f
msrle: use the AVFrame API properly.
2013-11-16 13:20:19 +01:00
Anton Khirnov
b7462a3904
jvdec: use the AVFrame API properly.
2013-11-16 12:52:54 +01:00
Anton Khirnov
2d2a92f721
dxa: use the AVFrame API properly.
2013-11-16 12:52:36 +01:00
Anton Khirnov
55f954e767
qpeg: use the AVFrame API properly.
2013-11-16 12:52:18 +01:00
Anton Khirnov
01de3c1dd5
cin video: use the AVFrame API properly.
2013-11-16 12:52:02 +01:00
Anton Khirnov
ef2a99c7f4
msvideo1: use the AVFrame API properly.
2013-11-16 12:51:08 +01:00
Anton Khirnov
a639ea7f4b
escape124: use the AVFrame API properly.
2013-11-16 12:49:45 +01:00
Anton Khirnov
224b6edd8b
qtrle: use the AVFrame API properly.
2013-11-16 12:49:18 +01:00
Anton Khirnov
845020ed89
cljr: use the AVFrame API properly.
2013-11-16 12:49:01 +01:00
Anton Khirnov
4a8a35bc1f
cinepak: use the AVFrame API properly.
2013-11-16 12:48:30 +01:00
Anton Khirnov
cec5ce4922
cdxl: remove an unused variable
2013-11-16 12:48:25 +01:00
Anton Khirnov
670c74518f
c93: use the AVFrame API properly.
2013-11-16 12:47:49 +01:00
Anton Khirnov
a83fd5010c
bethsoftvid: use the AVFrame API properly.
2013-11-16 12:47:15 +01:00
Anton Khirnov
33329c6e87
avs: use the AVFrame API properly.
2013-11-16 12:46:20 +01:00
Anton Khirnov
6139f481ac
asvenc: use the AVFrame API properly.
2013-11-16 12:45:29 +01:00
Anton Khirnov
13e9cc9ce0
a64multienc: use the AVFrame API properly.
2013-11-16 12:45:05 +01:00
Anton Khirnov
b9fb59d2ab
lavc: deprecate avcodec_alloc_frame().
2013-11-16 12:44:50 +01:00
Anton Khirnov
5b9c3b4505
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().
2013-11-16 12:44:20 +01:00
Anton Khirnov
2ff302cb6b
lavc: update coded_frame doxy.
...
It is not used during decoding anymore.
2013-11-16 12:41:50 +01:00
Anton Khirnov
b068660ffa
lavc: deprecate CODEC_CAP_NEG_LINESIZES
...
It was never used in any codec since it was added 3 years ago.
2013-11-16 12:41:40 +01:00
Ronald S. Bultje
72ca830f51
lavc: VP9 decoder
...
Originally written by Ronald S. Bultje <rsbultje@gmail.com> and
Clément Bœsch <u@pkh.me>
Further contributions by:
Anton Khirnov <anton@khirnov.net>
Diego Biurrun <diego@biurrun.de>
Luca Barbato <lu_zero@gentoo.org>
Martin Storsjö <martin@martin.st>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-15 10:16:28 +01:00
Ronald S. Bultje
458446acfa
lavc: Edge emulation with dst/src linesize
...
Allow supporting files for which the image stride is smaller than
the maximum block size + number of subpel mc taps, e.g. a 64x64 VP9
file or a 16x16 VP8 file with -fflags +emu_edge.
2013-11-15 10:16:27 +01:00
Diego Biurrun
3cbe112653
dv: Split DV data table declarations into their own header
...
This is necessary to avoid target config settings bleeding into the host
compilation process with hardcoded tables and the DV VLC tables no longer
present as static tables in a header file.
2013-11-15 01:29:47 +01:00
Anton Khirnov
9eda9d3322
h264: free the tables and uninitialize the context on flush
...
Prevents referencing empty frames when the first packet after the flush
does not contain a frame.
2013-11-14 19:00:20 +01:00
Diego Biurrun
ad1161799e
mpeg12dec: Remove outdated UV swapping code for VCR2
2013-11-14 14:21:27 +01:00
Kostya Shishkov
669fe50595
twinvq: consume block_align+1 packets as full ones
...
They can be produced by VQF.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-14 13:38:10 +01:00
Kostya Shishkov
1afa8a7568
twinvq: support multiple frames per packet
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-14 13:38:10 +01:00
Kostya Shishkov
ddb839e928
metasound: add missing modes
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-14 13:38:10 +01:00
Diego Biurrun
7b9780e7bf
mpeg12dec: Remove unused swap_uv member from Mpeg1Context
2013-11-14 12:46:00 +01:00
Anton Khirnov
cce3e0a49f
Move av_fast_{m,re}alloc from lavc to lavu.
2013-11-14 09:42:22 +01:00
Anton Khirnov
aa24122989
lavc: deprecate FF_MAX_B_FRAMES
...
We should not arbitrarily decide the maximum B-frame number for all
encoders supported by Libav, each encoder should be able to set its own
limits.
2013-11-14 09:41:03 +01:00
Anton Khirnov
b6094811f9
lavc: move MB_TYPE_* macros from avcodec.h to mpegvideo.h
...
They are mpegvideo-specific and not supposed to be used by callers.
2013-11-14 09:40:39 +01:00
Anton Khirnov
b45c87083d
lavc: schedule unused FF_QSCALE_TYPE_* for removal on next bump
2013-11-14 09:40:27 +01:00
Anton Khirnov
8941971a8f
lavc: make error_rate a private option of mpegvideo encoders
2013-11-14 09:39:43 +01:00
Anton Khirnov
728c465856
vdpau: add a constructor for AVVDPAUContext.
...
We will likely want to add new fields to it in the future, so this is
needed to avoid breaking ABI.
2013-11-14 09:38:58 +01:00
Anton Khirnov
ca22d1dea2
vdpau: add a convenience function for getting a decoder profile.
...
Based on the code by Rémi Denis-Courmont <remi@remlab.net> from VLC.
2013-11-14 09:38:50 +01:00
Diego Biurrun
19e30a58fc
Deprecate obsolete XvMC hardware decoding support
...
XvMC has long ago been superseded by newer acceleration APIs, such as
VDPAU, and few downstreams still support it. Furthermore XvMC is not
implemented within the hwaccel framework, but requires its own specific
code in the MPEG-1/2 decoder, which is a maintenance burden.
2013-11-13 21:07:45 +01:00
Diego Biurrun
c7f7bfc9e3
Remove all Alpha architecture optimizations
...
Alpha has been end-of-lifed and no more test machines are available.
2013-11-13 20:45:49 +01:00
Diego Biurrun
45ef963908
mpegaudioenc: Move some static tables to MpegAudioContext
...
This reduces global state and the amount of globally visible tables.
2013-11-10 16:07:22 +01:00
Diego Biurrun
5d6a990c11
mpegaudioenc: Remove broken integer-only quantization code path
2013-11-10 16:07:22 +01:00
Luca Barbato
08303d7741
hwaccel: Simplify ff_find_hwaccel
...
It is always called by passing fields from an AVCodecContext.
2013-11-10 13:59:48 +01:00
Kostya Shishkov
5462dde194
metasound: Fix error message argument
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-08 16:50:17 +01:00
Diego Biurrun
cb56c3961b
h263dsp: K&R formatting cosmetics
...
Also remove array element numbering comments.
2013-11-08 12:41:24 +01:00
Diego Biurrun
0338c39698
dsputil: Split off H.263 bits into their own H263DSPContext
2013-11-08 12:40:47 +01:00
Diego Biurrun
86f910806b
Remove #undefs for formerly forbidden system functions
...
The macros forbidding the system functions no longer exist, obviating
the need for the #undefs.
2013-11-07 00:26:15 +01:00
Diego Biurrun
70cbf33405
vdpau: Add missing #includes to fix standalone header compilation
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-04 22:54:55 +01:00
Diego Biurrun
e2b5b09789
x86: rv40dsp: Use PAVGB instruction macro where appropriate
2013-11-04 21:14:39 +01:00
Yusuke Nakamura
3ef9b7ab95
hevc_ps: Use AV_PIX_FMT_YUVJ420P if YUV 4:2:0 8-bit full scale
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2013-11-04 16:19:53 +01:00
Jan Ekström
885ec92425
hevc: Use parsed VUI colorimetry in avcodec
...
Also limit the parsed VUI values to known valid ones.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2013-11-04 16:03:11 +01:00
Jan Ekström
cd8f772d06
lavc: Add colorimetry values for BT.2020, other non-included ones
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2013-11-04 15:39:33 +01:00
Gian-Carlo Pascutto
454959a5aa
aacdec: Set the profile during decoding
...
Previously the profile would not be set if the bitstream needs
to be decoded to know the profile.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-04 08:51:26 +01:00
Anton Khirnov
da6506c607
lavc: move AVCodecContext.pkt to AVCodecInternal
...
It's a private field, not meant to be accessed from outside lavc.
2013-11-04 08:51:26 +01:00
Anton Khirnov
38ecc3702d
pthread: store thread contexts in AVCodecInternal instead of AVCodecContext
...
It's a private field, it should not be visible to callers.
Deprecate AVCodecContext.thread_opaque
2013-11-04 08:51:26 +01:00
Anton Khirnov
daa7a1d443
pthread_slice: rename ThreadContext -> SliceThreadContext
...
This should prevent confusion with frame threading.
2013-11-04 08:51:26 +01:00
Anton Khirnov
cc14ee03a7
lavc: split slice and frame threading functions into separate files
2013-11-04 08:51:26 +01:00
Anton Khirnov
5cd6513f5b
pthread: drop avcodec_ prefixes from static functions
2013-11-04 08:51:26 +01:00
Mikulas Patocka
694d997afe
x86: hpeldsp: Use PAVGB instruction macro where necessary
...
Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-04 01:29:23 +01:00
Vittorio Giovara
3ea5f64fff
ansi: fix possible use of uninitialized variables
2013-11-03 11:51:40 +01:00
Vittorio Giovara
c68d4c230a
mpeg4video_parser: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-02 12:08:49 +01:00
Vittorio Giovara
dc6ea00cd2
mpeg4video: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-01 22:53:48 +01:00
Luca Barbato
037fea388e
flashsv: K&R formatting cosmetics
...
Also improve some log message wording/spelling.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-01 22:32:53 +01:00
Diego Biurrun
1700b4e678
x86: vp8dsp: Split loopfilter code into a separate file
2013-11-01 22:05:20 +01:00
Michael Niedermayer
57070b1468
flashsv: Check diff_start diff_height values
...
Fix out of array accesses.
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-01 19:38:53 +01:00
Luca Barbato
4a64e67988
flashsv: Refactor a little
2013-11-01 19:38:53 +01:00
Anton Khirnov
28240a60c1
lavc: move FF_ASPECT_EXTENDED from avcodec.h to h263.h
...
It's for internal use only.
2013-10-31 20:24:48 +01:00
Anton Khirnov
eb5920c195
lavc: deprecate unused FF_BUG_OLD_MSMPEG4
2013-10-31 20:24:30 +01:00
Anton Khirnov
0300962b76
lavc: schedule FF_BUG_AC_VLC for removal on the next major bump.
...
It has been deprecated/unused for about 10 years.
2013-10-31 20:23:42 +01:00
Anton Khirnov
f8b2bcd2ad
lavc: deprecate FF_DEBUG_VIS_*
...
Those flags have no effect since
37045e4229
.
2013-10-31 20:23:08 +01:00
Anton Khirnov
a1504eee41
lavc: deprecate AVCodecContext.debug_mv
...
It has been unused since 37045e4229
.
2013-10-31 20:22:51 +01:00
Anton Khirnov
ccc7129845
lavc: deprecate FF_DEBUG_MV and remove all traces of its use
...
It has not been actually used since
37045e4229
, when the broken vismv code was
removed.
2013-10-31 20:21:13 +01:00
Guillaume Martres
064698d381
Add HEVC decoder
...
Initially written by Guillaume Martres <smarter@ubuntu.com> as a GSoC
project. Further contributions by the OpenHEVC project and other
developers, namely:
Mickaël Raulet <mraulet@insa-rennes.fr>
Seppo Tomperi <seppo.tomperi@vtt.fi>
Gildas Cocherel <gildas.cocherel@laposte.net>
Khaled Jerbi <khaled_jerbi@yahoo.fr>
Wassim Hamidouche <wassim.hamidouche@insa-rennes.fr>
Vittorio Giovara <vittorio.giovara@gmail.com>
Jan Ekström <jeebjp@gmail.com>
Anton Khirnov <anton@khirnov.net>
Martin Storsjö <martin@martin.st>
Luca Barbato <lu_zero@gentoo.org>
Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diego Biurrun <diego@biurrun.de>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-10-31 20:19:59 +01:00
Anton Khirnov
0a9e94bba8
webp: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
757d5e8ef9
vp8: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
2e0ab4d314
vp56: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
b53febc1c0
vp3: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
3cfdb912cb
txd: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
db92e4ea8d
truemotion1: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
c265b8bb76
tiff: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
eed5a478ba
targa: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
7fbb75cc70
svq1dec: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
9c0ece1b4f
sunrast: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
c755870d52
sgidec: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
1d389e2a80
rv34: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
ce9f5b13ed
rv10: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
e7ea97039d
ptx: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
0f21d8b1b4
pictordec: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
41ad353dcf
pgssubdec: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
0679416269
pcx: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
6da9c9d381
mpegvideo_parser: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:16 +01:00
Anton Khirnov
13207484bb
mpeg4video_parser: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:15 +01:00
Anton Khirnov
6c7254722a
mpeg12dec: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:15 +01:00
Anton Khirnov
2cd94ad5bf
mjpegdec: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:15 +01:00
Anton Khirnov
b870582485
libvpxdec: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:15 +01:00
Anton Khirnov
967cd6fafb
libopenjpegdec: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:15 +01:00
Anton Khirnov
d62b24a3f6
kgv1dec: stop using deprecated avcodec_set_dimensions
2013-10-31 20:14:15 +01:00