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
Vittorio Giovara
cc58656aca
fate: Add tests for MagicYUV
2016-06-20 15:47:23 -04:00
Vittorio Giovara
846a3e78a5
mov: Support prores with multiple stsd
...
This function needs to return false, or data in the additional tables
will be skipped, and the decoder will not be able to decode frames
associated with them.
2016-06-17 11:38:33 -04:00
Vittorio Giovara
7672997004
mov: Implement support for multiple sample description tables
...
Store data from each stsd in a separate extradata buffer, keep track of
the stsc index for read and seek operations, switch buffers when the
index differs. Decoder is notified with an AV_PKT_DATA_NEW_EXTRADATA
packet side data.
Since H264 supports this notification, and can be reset midstream, enable
this feature only for multiple avcC's. All other stsd types (such as
hvc1 and hev1) need decoder-side changes, so they are left disabled for
now.
This is implemented only in non-fragmented MOVs.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-06-17 11:38:33 -04:00
Vittorio Giovara
187d719760
h264: Support AV_PKT_DATA_NEW_EXTRADATA
2016-06-17 11:05:33 -04:00
Vittorio Giovara
75872d77d2
lavc: Document AV_PKT_DATA_NEW_EXTRADATA
2016-06-17 11:02:40 -04:00
Vittorio Giovara
05a4bacbf7
avpacket: Error out when creating 0-sized side data
...
This mimics the behaviour of other av_*_new_side_data().
This is not caught by the malloc check, since padding
is always added to the allocated size.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-06-13 13:31:21 -04:00
Vittorio Giovara
bcc07e2576
pixdesc: Use C99 array to list color properties names
2016-06-13 11:51:18 -04:00
Vittorio Giovara
c3ed259e4f
fate: Move Canopus decoder tests to a separate file
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-06-06 11:59:53 -04:00
Vittorio Giovara
20a8c78ce0
avconv: Do not copy extradata if source buffer is empty
...
Fixes clang-usan runtime error "null pointer passed as argument 2,
which is declared to never be null" while streamcopying.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-06-06 11:56:21 -04:00
Vittorio Giovara
8e757716c6
avprobe: Print stereo3d information
2016-05-17 12:25:27 -04:00
Vittorio Giovara
0c4468dc18
stereo3d: Add API to get name from value or value from name
...
Use it in av_dump_format() instead of a huge switch case.
2016-05-17 12:25:27 -04:00
Vittorio Giovara and Diego Biurrun
41ed7ab45f
cosmetics: Fix spelling mistakes
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2016-05-04 18:16:21 +02:00
Vittorio Giovara
4b2e69397b
dds: Add support for monochrome images
2016-04-26 16:30:18 -04:00
Vittorio Giovara
6eb2505855
dds: Drop gray-alpha swapping
...
The original sample was generated with invalid software.
2016-04-26 16:30:04 -04:00
Vittorio Giovara
5fca95c8e5
libx264: Forbid inverted Stereo3D mode
2016-04-21 12:25:42 -04:00
Vittorio Giovara
9e2af0e907
libx264: Allow Stereo3D monoscopic value
2016-04-21 12:24:35 -04:00
Vittorio Giovara
00658253e2
fate: Update DDS tests
2016-04-06 12:13:50 -04:00
Vittorio Giovara
22e49e6ede
dds: Simplify postprocessing check
2016-04-06 12:13:50 -04:00
Vittorio Giovara
0253863626
dds: Add support for alpha-only files
...
Due to how pixel format conversion is done, they behave the same way
as gray files.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-04-06 12:13:49 -04:00
Vittorio Giovara
9a9fb710bc
dds: Add support for rgb555 files
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-04-06 12:13:47 -04:00
Vittorio Giovara
8dde92b95a
fate: Update Screenpresso tests
2016-04-04 15:41:57 +02:00
Vittorio Giovara
ec8a69fab6
screenpresso: Correctly handle keyframes
...
The first byte contains compression level together with keyframe status.
When a frame is not interpreted correctly, its data is summed to the
reference, and would degrade over time, producing an incorrect result.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-04-04 15:40:14 +02:00
Vittorio Giovara
95db8c757c
screenpresso: Add extended pixel format support
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-04-04 15:40:06 +02:00
Vittorio Giovara
b5f47d95c6
fate: Update RSCC tests
...
The current sample comes from an older version of the codec, which
supports a single output mode, so rename it accordingly.
Add tests for the new pixel formats.
2016-04-04 15:39:58 +02:00
Vittorio Giovara
51dc4de121
rscc: Add extended pixel format support
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2016-04-04 15:39:51 +02:00
Vittorio Giovara
ca8c759173
intrax8: Remove mpegvideo dependency
2016-03-29 13:41:09 +02:00
Vittorio Giovara
9b57995cdd
intrax8: Drop MB emulation code
...
This is already performed in init_context_frame().
2016-03-29 13:41:09 +02:00
Vittorio Giovara
9fa888c028
intrax8: Keep a reference to the decoder blocks
2016-03-29 13:41:09 +02:00
Vittorio Giovara
c2084ffcbf
intrax8: Use the generic horizband function
...
This is assuming that intrax8 has no support for interlacing
Carry over lowdelay value in ff_intrax8_decode_picture.
2016-03-29 13:41:09 +02:00
Vittorio Giovara
b1268e0f03
intrax8: Pass macroblock coordinates to ff_intrax8_decode_picture
...
These values need to be updated with the last macroblock position,
so keep them as pointers.
2016-03-29 13:41:09 +02:00
Vittorio Giovara
d0540fd021
intrax8: Pass macroblock size to ff_intrax8_common_init
...
Helps in decoupling this code from mpegvideo.
2016-03-29 13:41:09 +02:00
Vittorio Giovara
9f4d99138d
fate: Add test for WMV2 with jframes
2016-03-29 13:41:09 +02:00
Vittorio Giovara
159323897f
intrax8: Add a local BlockDSPContext and initialize it
...
Helps in decoupling this code from mpegvideo.
2016-03-25 15:55:49 -04:00
Vittorio Giovara
1eaae7abb8
intrax8: Reference the current AVCodecContext
...
It will be needed to initialize BlockDSP in the next commit.
2016-03-25 15:55:02 -04:00
Vittorio Giovara
8072345e9f
intrax8: Keep a reference to the GetBitContext reader
...
Helps in decoupling this code from mpegvideo.
2016-03-25 15:54:29 -04:00
Vittorio Giovara
65f14128c4
intrax8: Use a constant buffer instead of a ScratchpadContext
...
The size of the block is fixed (8x8 plus padding).
2016-03-25 15:54:06 -04:00
Vittorio Giovara
eaeba6f241
intrax8: Pass the output frame to the decoding function
...
Helps in decoupling this code from mpegvideo.
2016-03-25 15:53:02 -04:00
Vittorio Giovara
577393321c
intrax8: Carry over the loopfilter value in ff_intrax8_decode_picture
...
Helps in decoupling this code from mpegvideo.
2016-03-25 15:52:44 -04:00
Vittorio Giovara
68127e1bf8
intrax8: Keep a reference to the context idctdsp
...
Use it instead of the embedded mpegvideo one. Update init function
signature to load it directly from the callers.
2016-03-25 15:52:24 -04:00
Vittorio Giovara
65127450ad
intrax8: Make x8_init_block_index not use mpegvideo fields
2016-03-25 15:52:10 -04:00