summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* Add MagicYUV decoderPaul B Mahol2016-06-206-1/+491
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* ffv1: Error out on unsupported formatJerome Martinez2016-06-181-0/+11
| | | | Transparency is supported only by YUV and within specific bit depths.
* h264: Support AV_PKT_DATA_NEW_EXTRADATAVittorio Giovara2016-06-171-0/+13
|
* lavc: Document AV_PKT_DATA_NEW_EXTRADATAVittorio Giovara2016-06-171-0/+8
|
* x86: Add missing movsxd for the int stride parameterMartin Storsjö2016-06-172-0/+29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Drop unused function check_opcodes()Diego Biurrun2016-06-141-12/+0
|
* avpacket: Error out when creating 0-sized side dataVittorio Giovara2016-06-131-1/+1
| | | | | | | | 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>
* h264: Fix decoding delay for Intra only streamsAnton Mitrofanov2016-06-121-1/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: add H.264 MVC profilesAnton Khirnov2016-06-123-2/+6
|
* h264: factor out setting the parameter sets for a frameAnton Khirnov2016-06-122-91/+102
|
* h264: pass just the PPS to get_chroma_qp()Anton Khirnov2016-06-125-27/+27
| | | | | It does not need the whole context. This will simplify the following commit.
* h264: merge the two reinit blocks in slice_header_parse()Anton Khirnov2016-06-121-19/+2
| | | | | | | | | The only difference is that the first of them contains a ff_h264_flush_change() call. While that is not necessary in the second block, it should cause no problems either. Reduce the verbosity of the reinit log message from info to verbose, since now it will be displayed during every decode session.
* h264: factor starting a new field out of parsing the slice headerAnton Khirnov2016-06-122-169/+189
|
* h264: postpone generating the implicit MMCOsAnton Khirnov2016-06-124-27/+26
| | | | | | Do it right before the MMCOs are applied to the DPB. This will allow moving the frame_start() call out of the slice header parsing, since generating the implicit MMCOs needs to be done after frame_start().
* h264: decode the MMCOs into per-slice contextsAnton Khirnov2016-06-123-44/+29
| | | | | | They are stored in the slice header, so technically they are per-slice (though they must be the same in every slice). This will simplify the following commits.
* h264: rename mmco_index to nb_mmcoAnton Khirnov2016-06-124-24/+24
| | | | | The variable stores the number of mmco entries, so the current name is misleading.
* h264: move initializing the slice start out of h264_slice_header_parse()Anton Khirnov2016-06-122-17/+17
|
* h264: move calculating the POC out of h264_slice_header_parse()Anton Khirnov2016-06-121-4/+4
| | | | | | This function does not do any bitstream parsing and it depends on the current frame being allocated, so this will allow the frame_start() to be moved out eventually.
* h264: move building the reference list out of h264_slice_header_parse()Anton Khirnov2016-06-121-3/+4
| | | | | This does not do any bitstream parsing and will allow moving out other code in later commits.
* h264: move initing the implicit pred weight table out of ↵Anton Khirnov2016-06-121-14/+14
| | | | | | | h264_slice_header_parse() It depends on the reference list, so this will allow moving out the reference list construction and consequently other code it depends on.
* h264: split reading the ref list modifications and actually building the ref ↵Anton Khirnov2016-06-123-88/+118
| | | | | | | | list This will allow postponing the reference list construction (and by consequence some other functions, like frame_start) until the whole slice header has been parsed.
* h264: move initialising the implicit pred weight table for MBAFFAnton Khirnov2016-06-121-7/+4
| | | | Do it where the normal implicit table is initialised.
* h264: call ff_h264_fill_mbaff_ref_list() when constructing the normal ref listAnton Khirnov2016-06-123-28/+28
| | | | There is no real reason to call it separately.
* h264: move initialising the explicit pred weight table for MBAFFAnton Khirnov2016-06-122-8/+9
| | | | | | | Currently it's done in the code that initialises the ref list for MBAFF, which is not a logical place for it. Move it to the function that parses the pred table from the bitstream, which is analogous to what is done for the implicit weight table as well.
* h264: drop an outdated commentAnton Khirnov2016-06-121-1/+1
|
* h264: move direct mode inits out of h264_slice_header_parse()Anton Khirnov2016-06-121-4/+4
| | | | | This code does not do any bitstream parsing, it just initializes some internal state.
* h264: start splitting decode_slice_header()Anton Khirnov2016-06-121-16/+27
| | | | | | | | | That function is currently very long and entangles bitstream parsing and decoder configuration. This makes the code much harder to read than necessary. Begin splitting the code that configures the decoder state based on the slice header information from the parsing of the slice header.
* vaapi_h265: cu_qp_delta should not be used in constant-QP modeMark Thompson2016-06-091-1/+4
|
* vaapi_h264: Add source version identifier as unregistered SEIMark Thompson2016-06-091-0/+29
| | | | | Contains the libavcodec version, the VAAPI version and the libva driver vendor string.
* vaapi_h264: Add support for SEI messagesMark Thompson2016-06-091-1/+206
| | | | | Send buffering_period and pic_timing messages when in modes targetting bitrate. Also adds NAL HRD parameters to VUI.
* vaapi_encode: Add support for writing arbitrary additional packed headersMark Thompson2016-06-092-0/+25
|
* vaapi_h264: Add support for VUI parametersMark Thompson2016-06-091-2/+124
| | | | Supports aspect ratio, colour format and timing information.
* h264: drop unused H264Context.gbAnton Khirnov2016-06-091-2/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Drop unnecessary golomb.h #includesDiego Biurrun2016-06-085-5/+0
|
* Drop unnecessary unary.h #includesDiego Biurrun2016-06-083-3/+0
|
* dvbsub_parser: Add missing mem.h #includeDiego Biurrun2016-06-081-0/+1
|
* gsm: Move requant_tab table to the gsm tables fileDiego Biurrun2016-06-073-8/+9
| | | | | This avoids duplicating the table in the gsm template file. Also adjust the table type to uint8_t to save space.
* mpc: Drop unused GetBitContext context memberDiego Biurrun2016-06-071-2/+1
|
* svq1enc: Drop unused GetBitContext context memberDiego Biurrun2016-06-071-2/+1
|
* vorbis: Kill some pointless debug codeDiego Biurrun2016-06-071-24/+2
|
* mss2: Drop a silly assertDiego Biurrun2016-06-071-3/+0
|
* get_bits: Move BITSTREAM_READER_LE definition before all relevant #includesDiego Biurrun2016-06-0732-69/+85
| | | | | | | This avoids the danger that get_bits.h might get indirectly #included before BITSTREAM_READER_LE is defined. Also sort headers into canonical order where appropriate.
* indeo2: Drop disabled big-endian ir2_codes tableDiego Biurrun2016-06-071-39/+0
| | | | Only the little-endian variant of the table is ever used.
* Remove unnecessary get_bits.h #includesDiego Biurrun2016-06-0717-20/+25
|
* sgirledec: simplify, no need to use reget bufferPaul B Mahol2016-06-061-25/+7
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* aic: add frame threading supportPaul B Mahol2016-06-061-2/+5
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vp9: Return the correct size when decoding a superframeDenis Charmet2016-06-051-1/+1
| | | | | | | | | | | | According to avcodec.h, avcodec_decode_video2 should return the number of bytes used if a frame was decoded. The current implementation returns size - used size of all the subframes. This fixes the VLC's bug https://trac.videolan.org/vlc/ticket/16836. The superframe is always fully consumed. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* build: Change structure of the linker version script templatesDiego Biurrun2016-05-291-3/+5
| | | | | | Split version files into one line per symbol/directive to allow compatibility with the Solaris linker without preprocessing and eliminate $ from version file templates to simplify the postprocessing shell command.
* asm: FF_-prefix internal macros used in inline assemblyDiego Biurrun2016-05-2810-195/+195
| | | | | These warnings conflict with system macros on Solaris, producing truckloads of warnings about macro redefinition.
* Drop unnecessary libavutil/x86/asm.h #includesDiego Biurrun2016-05-289-9/+0
|
OpenPOWER on IntegriCloud