Vittorio Giovara
c43a96fe16
lavc: Drop deprecated time_base variable for decoding
...
Deprecated in 10/2015.
2017-03-23 10:09:16 +01:00
Vittorio Giovara
48bb0da050
lavc: Drop deprecated way of setting audio delay on encode
...
Deprecated in 08/2014.
2017-03-23 10:09:16 +01:00
Vittorio Giovara
5182a28b5d
lavc: Drop deprecated global afd field
...
Deprecated in 08/2014.
2017-03-23 10:09:16 +01:00
Vittorio Giovara
4476027d93
lavc: Drop deprecated avctx codec name
...
Deprecated in 04/2014.
2017-03-23 10:09:16 +01:00
Vittorio Giovara
bb45d11282
lavc: Drop deprecated codec flags
...
Deprecated between 04/2014 - 05/2015.
2017-03-23 10:09:16 +01:00
Vittorio Giovara
302554835e
lavc: Drop deprecated unused public members
...
Deprecated in 07/2014.
2017-03-23 10:09:15 +01:00
Vittorio Giovara
b3739599bd
lavc: Drop deprecated emu edge functionality
...
Deprecated in 01/2014.
2017-03-23 10:09:15 +01:00
Vittorio Giovara
06c20d3e32
lavc: Drop deprecated av_fast_malloc() compatibility
...
Deprecated in 10/2013.
2017-03-23 10:09:15 +01:00
Vittorio Giovara
da5ba26b9e
lavc: Drop deprecated macroblock type symbols
...
Deprecated in 10/2013.
2017-03-23 10:09:15 +01:00
Vittorio Giovara
cbebc3251b
lavc: Drop deprecated public symbols
...
qscale types and maximum number of bframes deprecated in 10/2013.
Negative linesizes deprecated in 11/2013.
xvidmmx deprecated in 08/2014.
2017-03-23 10:09:15 +01:00
Vittorio Giovara
72dc7ddd18
lavc: Drop deprecated error rate option
...
Deprecated in 10/2013.
2017-03-23 10:09:14 +01:00
Vittorio Giovara
0871e23377
lavc: Drop deprecated architectures symbols
...
Alpha deprecated in 11/2013.
Sh4 and sparc deprecated in 01/2014.
2017-03-23 10:09:14 +01:00
Vittorio Giovara
c06e739291
lavc: Drop deprecated extended aspect ratio symbol
...
Deprecated in 10/2013.
2017-03-23 10:09:14 +01:00
Vittorio Giovara
0c7986df44
lavc: Drop deprecated workaround bugs options
...
Illegal ac_vlc and old msmpeg4 detection deprecated in 10/2013.
2017-03-23 10:09:14 +01:00
Vittorio Giovara
8933ac2079
lavc: Drop deprecated debug mv functionality
...
Deprecated in 10/2013.
2017-03-23 10:09:13 +01:00
Vittorio Giovara
6dca24cd1d
lavc: Drop deprecated way of setting codec dimensions
...
Deprecated in 10/2013.
2017-03-23 10:09:13 +01:00
Vittorio Giovara
1146bb3bab
lavc: Drop deprecated voxware codec entry
...
Deprecated in 08/2013.
2017-03-23 10:09:13 +01:00
Vittorio Giovara
5c1585c4c3
lavc: Drop deprecated VDPAU buffer fields
...
Deprecated in 07/2013.
2017-03-23 10:09:13 +01:00
Vittorio Giovara
7b91704118
lavc: Drop deprecated VDPAU codec capability
...
Deprecated in 07/2013.
2017-03-23 10:09:13 +01:00
Vittorio Giovara
b748c280e5
lavc: Drop deprecated lowres option
...
Deprecated in 04/2013.
2017-03-23 10:09:12 +01:00
Vittorio Giovara
0337adfab5
lavc: Drop deprecated missing sample log function
...
Deprecated in 01/2013.
2017-03-23 10:09:12 +01:00
Vittorio Giovara
bc143ce1ac
lavc: Drop deprecated chroma subsample function
...
Deprecated in 11/2012.
2017-03-23 10:09:12 +01:00
Vittorio Giovara
63fe79a336
lavf: Drop deprecated hint to set muxer timebase
...
Deprecated in 05/2014.
2017-03-23 10:09:12 +01:00
Vittorio Giovara
263358e0c9
lavf: Drop deprecated AVFract type and related field
...
Deprecated in 05/2014.
2017-03-23 10:09:12 +01:00
Vittorio Giovara
5e71299758
lavf: Drop deprecated bitexact functionality
...
Deprecated in 05/2014.
2017-03-23 10:09:11 +01:00
Vittorio Giovara
96a47364d1
lavfi: Drop deprecated non-const filter retrieval
...
Deprecated in 10/2013.
2017-03-23 10:09:11 +01:00
Vittorio Giovara
8e18328b18
lavfi: Drop deprecated filter registration
...
Deprecated in 04/2013.
2017-03-23 09:57:33 +01:00
Vittorio Giovara
52067b3c0e
lavfi: Drop deprecated filter initialization
...
Deprecated in 03/2013.
2017-03-23 09:57:33 +01:00
Vittorio Giovara
c5c7cfd5e8
lavfi: Drop deprecated functions to open a filter or a filterchain
...
Deprecated in 03/2013.
2017-03-23 09:57:32 +01:00
Vittorio Giovara
88fd836a01
lavfi: Drop deprecated way of passing options for a few filters
...
Deprecated in 02/2013.
2017-03-23 09:57:32 +01:00
Vittorio Giovara
07a2b15594
Bump major versions of all libraries
...
This disables everything that was deprecated at least 18 months ago.
Readjust the minimum API version as needed, postponing any
API-incompatible changes until the next bump.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2017-03-23 09:56:20 +01:00
Vittorio Giovara
0429f01e47
mkv: Export bounds and padding from spherical metadata
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2017-03-07 11:07:03 -05:00
Vittorio Giovara
a825980f9f
mov: Export bounds and padding from spherical metadata
...
Update the fate test as needed.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2017-03-07 11:07:02 -05:00
Vittorio Giovara
6bce6aa17d
spherical: Add tiled equirectangular type and projection-specific properties
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2017-03-07 11:07:02 -05:00
Vittorio Giovara
114324b9e0
mov: Validate cubemap layout
2017-03-07 11:07:02 -05:00
Vittorio Giovara
0f8512c4a8
mov: Validate spherical metadata version
2017-03-07 11:07:02 -05:00
Vittorio Giovara
2365772300
mov: Ignore old spherical metadata when newer version is present
2017-03-07 11:07:02 -05:00
Vittorio Giovara
b44bd7ee7f
pixlet: Fix architecture-dependent code and values
...
The constants used in the decoder used floating point precision,
and this caused different values to be generated on different
architectures. Additionally on big endian machines, the fate test
would output bytes in native order, which is different from the one
hardcoded in the test.
So, eradicate floating point numbers and use fixed point (32.32)
arithmetics everywhere, replacing constants with precomputed integer
values, and force the pixel format output to be the same in the fate
test.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2017-03-06 18:15:02 -05:00
Vittorio Giovara
53ea595eec
mov: Rework stsc index validation
...
In order to avoid potential integer overflow change the comparison
and make sure to use the same unsigned type for both elements.
2017-02-10 16:26:16 -05:00
Vittorio Giovara
ce6d72d107
imgutils: Document av_image_get_buffer_size()
2017-02-10 16:25:58 -05:00
Vittorio Giovara
4efea4ce75
APIChanges: Mention where release 12 was cut
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-12-08 15:58:30 -05:00
Vittorio Giovara
cf1cae58b0
fate: Add spherical and stereo3d mov tests
2016-12-07 14:35:08 -05:00
Vittorio Giovara
68f8db6108
avprobe: Allow specifying multiple stream entries to be shown
2016-12-07 14:35:08 -05:00
Vittorio Giovara
e90137c045
mov: Export spherical information
...
This implements Spherical Video V1 and V2, as described in the
spatial-media collection by Google.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-12-07 14:35:06 -05:00
Vittorio Giovara
2fb6acd9c2
lavc: Add spherical packet side data API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-12-07 14:34:34 -05:00
Vittorio Giovara
c70add61d1
lavu: Add AVSphericalMapping type and frame side data
...
While no decoder currently exports spherical information, this type
represents a frame property that has to be passed through from container
to frames.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-12-07 14:32:17 -05:00
Vittorio Giovara
075acbb6ff
lavu: Add a video section to Doxygen documentation
...
Fill it with AVStereo3D and AVDisplayMatrix documentation.
Apply the necessary changes to make verbatim code look good in doxygen.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-12-07 14:26:21 -05:00
Vittorio Giovara
706af9227b
lavu: Document the color properties enumeration values origin
2016-12-02 11:36:46 -05:00
Vittorio Giovara
5168026a05
options_table: Do not rely on enum size as option bound
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-12-02 11:36:46 -05:00
Vittorio Giovara
ff9db5cfd1
lavc: Use a stricter check for the color properties values
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-12-02 11:36:42 -05:00
Vittorio Giovara
481ff3cf01
fate: Add h264 and hevc extradata reload tests
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-11-16 11:17:27 -05:00
Vittorio Giovara
d5d62ce6d6
mov: Fix identity matrix boolean logic
...
This prevented the code from correctly exporting the rotation matrix
which caused a few samples to be displayed wrong.
Introduced in ecd2ec69ce .
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-11-16 11:17:06 -05:00
Vittorio Giovara
de6e2ff3dd
mov: Read multiple stsd from DV
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-11-08 11:22:29 -05:00
Vittorio Giovara
47a795727f
hevc: Support extradata changes from multiple stsd
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-11-08 11:22:29 -05:00
Vittorio Giovara
2fe30b4743
hevc: Allow parsing external extradata buffers
2016-11-08 11:22:29 -05:00
Vittorio Giovara
5be2153111
hevc: Move hevc_decode_extradata before frame decoding
...
Avoids a forward-declaration in the following commit.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-11-08 11:22:29 -05:00
Vittorio Giovara
bed2c4b265
lavc: Add hevc main10 profile to avconv cli
2016-11-08 11:22:29 -05:00
Vittorio Giovara
17dac56b8f
lavu: Rename ycgco color space appropriately
...
Planes are ordered as the name suggests now.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-11-08 11:22:29 -05:00
Vittorio Giovara
ecd2ec69ce
mov: Evaluate the movie display matrix
...
This matrix needs to be applied after all others have (currently only
display matrix from trak), but cannot be handled in movie box, since
streams are not allocated yet. So store it in main context, and apply
it when appropriate, that is after parsing the tkhd one.
Fate tests are updated accordingly.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-11-01 12:19:00 -04:00
Vittorio Giovara
b90c8a3d08
fate: Add tests for mov display matrix
...
Rotation, sample/display aspect ratio and pure matrix export.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-11-01 11:55:54 -04:00
Vittorio Giovara
7d308bf84b
avprobe: Add -show_stream_entry to get a single stream property
...
This is needed for improved fate testing and it is modeled after
-show_format_entry. The main behavioral difference is that when a print
function is called with an empty key, rather than discarding it, the
closes key in the hierarchy is used instead.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-11-01 11:27:52 -04:00
Vittorio Giovara
4b07ebf1eb
mov: Update colr values
...
For 'nclx', the latest edition of the standard switched from JPEG XR
to 23001-8, which matches the current order of our entries. Bounds
are preserved as a sanity check.
For 'nclc', qtff edition 2016-09-13 introduced a few new entries.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-10-21 17:15:04 -04:00
Vittorio Giovara
0d9b9bd37f
lavu: Add JEDEC P22 color primaries
2016-10-21 11:46:21 -04:00
Vittorio Giovara
e7e5be8635
APIchanges: Expand the name of recently added pixel formats
...
This makes them easier to search for.
2016-10-12 11:13:02 -04:00
Vittorio Giovara
14e7e19a90
lavc: bsf: Document input/output codecparam alloc/init process
2016-10-12 11:06:58 -04:00
Vittorio Giovara and Luca Barbato
eb54210602
swscale: Add missing yuv444p12 swapping
...
Missing from 9bd6ea5695 .
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2016-10-12 10:42:38 +02:00
Vittorio Giovara
dc3fe45fca
fate: Add test for rscc palette
2016-10-02 15:42:03 -04:00
Vittorio Giovara
b8d5070db6
avcodec: Document AV_PKT_DATA_PALETTE side data type
2016-10-02 15:42:03 -04:00
Vittorio Giovara
497c087939
avidec: Set palette alpha as fully opaque
...
Palette format is always in RGBA.
2016-10-02 15:42:03 -04:00
Vittorio Giovara
bad4aad403
avidec: Do not special case palette on big-endian
...
This simplifies the code a bit, does not change output data in any way.
2016-10-02 15:42:03 -04:00
Vittorio Giovara
310c55f179
pixfmt: Document alternative names for smpte 431 and 432
2016-10-02 15:42:03 -04:00
Vittorio Giovara and Diego Biurrun
de8e096c7e
swscale: Consistently order input YUV pixel formats
...
Follow a 420, 422, 444 order instead of a random one.
This simplifies double-checking additions of new formats.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2016-09-27 08:33:09 +02:00
Vittorio Giovara and Luca Barbato
80fc75d51e
Changelog: Mention mov with multiple stsd
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2016-08-29 19:39:44 +02:00
Vittorio Giovara and Luca Barbato
95f8029345
avprobe: Fix memory leak
...
After init_opts() there needs to be an uninit_opts() call
to free the swscale context and other buffers.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2016-08-29 19:08:26 +02:00
Vittorio Giovara
6135c3b61e
Revert "avprobe: Zero the allocated avio buffer memory"
...
This reverts commit 0e0538aefc .
The valgrind warning was a false positive due to OSX implementation of
printf (invoking a strnlen), while this code is actually fine, since the
format specifier %.*s guarantes that no more than buf_size bytes from
buf will be read.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-07-21 21:53:20 +02:00
Vittorio Giovara
ed9b2a5178
mov: Rework the check for invalid indexes in stsc
...
There are samples with invalid stsc that may work fine as is and
do not need extradata change. So ignore any out of range index, and
error out only when explode is set.
Found-by: Matthieu Bouron <matthieu.bouron@stupeflix.com >
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-07-20 19:30:22 +02:00
Vittorio Giovara
90bc423212
mov: Wrap stsc index and count compare in a separate function
2016-07-20 19:30:21 +02:00
Vittorio Giovara
a1f6a2dfda
ratecontrol: Reorder functions to avoid forward declarations
2016-07-20 19:03:31 +02:00
Vittorio Giovara
d639dcdae0
ratecontrol: Move Xvid-related functions to the place they are actually used
...
This will simplify the de-MpegEncContextualization.
2016-07-20 18:59:36 +02:00
Vittorio Giovara
44972e227d
ratecontrol: Move mpegenc-only function where it is used
2016-07-20 18:59:36 +02:00
Vittorio Giovara
b4bb959383
ratecontrol: Drop commented out cruft
2016-07-20 18:59:35 +02:00
Vittorio Giovara
9833a406d3
examples: Properly free AVCodecContext
2016-07-20 17:13:53 +02:00
Vittorio Giovara
0e0538aefc
avprobe: Zero the allocated avio buffer memory
...
Fixes valgrind warning "Conditional jump or move depends on
uninitialised value(s)." from avio_flush().
2016-07-20 17:13:33 +02:00
Vittorio Giovara
5d0f85f1b2
libdc1394: Fill in packet data directly
...
Drop the packet embedded in the context.
2016-07-20 17:13:10 +02:00
Vittorio Giovara
0b1bd1b205
lavd: Drop unneeded av_init_packet()s
...
The input packet is already unref'd by the calling function.
2016-07-13 18:20:27 -04:00
Vittorio Giovara
390b95b88b
fate: Add a mixed NAL coding sample
...
See 17c99b6158 .
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-07-13 18:18:46 -04:00
Vittorio Giovara
cbbb404055
fate: Restore order of h264 entries
2016-07-13 18:18:46 -04:00
Vittorio Giovara
61bd0ed781
h264: Log more information about invalid NALu size
2016-07-13 18:18:46 -04:00
Vittorio Giovara
029cf99c51
mov: Save number of stsd elements after stream extradata allocation
...
Avoid freeing an unallocated array in mov_read_close() in case
of a malloc failure.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-06-29 15:25:42 -04:00
Vittorio Giovara
6c445990e6
tiffenc: Check zlib support for deflate option during initialization
...
This converts a misleading error about an option not found to a more
meaningful one.
2016-06-29 15:25:42 -04:00
Vittorio Giovara
9f732e4c99
tiffenc: Check av_pix_fmt_desc_get() return value
2016-06-29 15:25:42 -04:00
Vittorio Giovara
d8f3b0fb58
targaenc: Move size check to initialization function
...
In case of bogus input, fail early at codec initialization, rather than
at the encode function.
2016-06-29 15:25:42 -04:00
Vittorio Giovara
eeb6849ced
rle: K&R formatting cosmetics
2016-06-29 15:25:42 -04:00
Vittorio Giovara
7a745f014f
options_table: Add aliases for color properties
...
All option names now match the ones provided by the av_color_*_name().
2016-06-27 12:29:04 -04:00
Vittorio Giovara
444a36269f
pixdesc: Fix AVCOL_TRC_BT2020_12 name
2016-06-27 12:27:53 -04:00
Vittorio Giovara
f172e22d6a
pixdesc: Add aliases to SMPTE color properties
...
Drop ST from names and symbols, it does not add anything distinctive or
descriptive.
2016-06-27 12:27:13 -04:00
Vittorio Giovara
40dd5166d2
truemotion2rt: Use ff_set_dimensions
2016-06-21 09:38:56 -04:00
Vittorio Giovara
a816432337
pixdesc: Add new SMPTE 431, 432, and 2085 color properties
...
Appeared in H.264 2016/02.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-06-21 09:29:04 -04:00
Vittorio Giovara
523c4c5b70
fate: Add TrueMotion 2 RT tests
2016-06-20 15:51:34 -04:00
Vittorio Giovara
906ffed9b1
fate: Move Duck Truemotion 1 and 2 tests to vpx.mak
2016-06-20 15:49:09 -04:00