summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* nvenc_h264: Fix name of private AVClassDiego Biurrun2016-04-04
|
* vaapi_h264: Fix bit offset of slice data.Mark Thompson2016-04-02
| | | | | | | | | | | | Commit ca2f19b9cc37be509d85f05c8f902860475905f8 modified the meaning of H264SliceContext.gb: it is now initialised at the start of the NAL unit header, rather than at the start of the slice header. The VAAPI slice decoder uses the offset after parsing to determine the offset of the slice data in the bitstream, so with the changed meaning we no longer need to add the extra byte to account for the NAL unit header because it is now included directly. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* ac3dec: change logging of skipped E-AC-3 substreams.Tim Walker2016-04-02
| | | | | | | | | Change log level from warning to debug: the E-AC-3 "core" substream can be successfully decoded without the additional and dependent substreams, and their presence is already indicated via avpriv_request_sample in ff_eac3_parse_header. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* eac3dec: don't call avpriv_request_sample every frame.Tim Walker2016-04-02
| | | | | | | | These errors neither prevent nor stop successful decoding of the E-AC-3 stream's "core", causing avpriv_request_sample to be called for every single frame in the bitstream. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* build: Do not check the vaapi_encode.h header if VAAPI is not enabledDiego Biurrun2016-03-30
|
* Mark tables used only within their files as staticDiego Biurrun2016-03-30
|
* h264: Add missing ff_ prefix to internally visible h264_init_dequant_tables()Diego Biurrun2016-03-30
|
* lavc: VAAPI MJPEG encoderMark Thompson2016-03-30
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: VAAPI H.265 encoderMark Thompson2016-03-30
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: VAAPI H.264 encoderMark Thompson2016-03-30
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: VAAPI encode common infrastructureMark Thompson2016-03-30
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* intrax8: Remove mpegvideo dependencyVittorio Giovara2016-03-29
|
* intrax8: Drop lots of pointless parenthesesDiego Biurrun2016-03-29
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* intrax8: Drop MB emulation codeVittorio Giovara2016-03-29
| | | | This is already performed in init_context_frame().
* intrax8: Keep a reference to the decoder blocksVittorio Giovara2016-03-29
|
* intrax8: Use the generic horizband functionVittorio Giovara2016-03-29
| | | | | This is assuming that intrax8 has no support for interlacing Carry over lowdelay value in ff_intrax8_decode_picture.
* intrax8: Pass macroblock coordinates to ff_intrax8_decode_pictureVittorio Giovara2016-03-29
| | | | | These values need to be updated with the last macroblock position, so keep them as pointers.
* intrax8: Pass macroblock size to ff_intrax8_common_initVittorio Giovara2016-03-29
| | | | Helps in decoupling this code from mpegvideo.
* h264: switch to h2645_parse for NAL parsingAnton Khirnov2016-03-28
|
* h264: reimplement 3aa661ec5 in a more explicit wayAnton Khirnov2016-03-28
| | | | | | Instead of handling the problem inside NAL decoding code, add a higher level wrapper function. This should be more robust against future changes (and easier to read).
* svq3: drop the build dependency on the h264 decoderAnton Khirnov2016-03-28
|
* svq3: eliminate remaining H264Context usage.Anton Khirnov2016-03-28
|
* svq3: move block_offset to SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: stop using H264Context.gbAnton Khirnov2016-03-28
|
* svq3: move the frame num variables to the SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: eliminate H264Context.cur_pic usageAnton Khirnov2016-03-28
| | | | Use the SVQ3Context variable instead
* svq3: eliminate remaining H264SliceContext usageAnton Khirnov2016-03-28
|
* svq3: move pict_type to the SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: move mb strides/sizes to the SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: move the dequant buffer to SVQ3ContextAnton Khirnov2016-03-28
| | | | Remove now unnecesary call to ff_h264_alloc_tables()
* svq3: move mb2br_xy to the SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: move {ref,mv}_cache to the SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: rip out the svq3-relevant parts of pred_motion() out of h264Anton Khirnov2016-03-28
|
* svq3: move edge_emu_buffer to the SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: move the pred mode variables to SVQ3ContextAnton Khirnov2016-03-28
| | | | This will allow removing the H264Context dependency in the future.
* h264: move ff_h264_check_intra[4x4]_pred_mode() to h264_parseAnton Khirnov2016-03-28
| | | | It is shared with svq3.
* svq3: move mb_{x,y,xy} to SVQ3ContextAnton Khirnov2016-03-28
| | | | This will allow removing the H264Context dependency in the future.
* svq3: eliminate write_back_intra_pred_mode() usageAnton Khirnov2016-03-28
| | | | | This function depends on the h264 internals and is so tiny that just copying the code out is the simplest replacement.
* svq3: add all the required dsp contexts into SVQ3ContextAnton Khirnov2016-03-28
| | | | | Stop using the H264Context ones, to allow removing the H264Context dependency.
* svq3: make the dsp functions staticAnton Khirnov2016-03-28
| | | | There is no need for them to be extern anymore.
* h264: remove the svq3-specific codeAnton Khirnov2016-03-28
|
* svq3: rip out the mb decoding code shared with h264Anton Khirnov2016-03-28
| | | | | The ~100 lines of shared code is not worth the pain of svq3 messing with h264 internals.
* h264: factor out pred weight table parsing into a separate fileAnton Khirnov2016-03-28
| | | | This will allow decoupling the parser from the decoder.
* h2645_parse: compute the actual data length, without trailing padddingAnton Khirnov2016-03-28
| | | | This is required by h264.
* h2645_parse: add support for parsing h264Anton Khirnov2016-03-28
|
* h2645_parse: change the AVCodecContext* parameter to void*Anton Khirnov2016-03-28
| | | | | This should make it more clear that it is not supposed to be used for anything except logging.
* h2645_parse: add a function for uninitializing the packetAnton Khirnov2016-03-28
|
* hevc_parse: rename into h2645_parseAnton Khirnov2016-03-28
| | | | This code will be shared with h264.
* aarch64: Make transpose_4x4H do a regular transposeMartin Storsjö2016-03-26
| | | | | | | | | | | | | | | | | | | | | | Previously, ff_h264_idct_add_neon (originally in the arm version) used a non-regular transpose in order to be able to use more instructions that deal with registers as 128 bit register pairs. The aarch64 translation doesn't do it to the same extent, but brought along the same structure since it was a straight translation. This reshuffles ff_h264_idct_add_neon, bringing it closer to the C implementation, making the transpose_4x4H macro do a regular transpose, usable for other algorithms as well. Previously, the third and fourth output from transpose_4x4H were swapped, and prior to cc29d96d5a, the same inputs as well. In addition to just swapping the outputs, also renumber the intermediate registers for better readability (making the register order match transpose_4x8B). This runs with the same number of cycles as before. Signed-off-by: Martin Storsjö <martin@martin.st>
* intrax8: Add a local BlockDSPContext and initialize itVittorio Giovara2016-03-25
| | | | Helps in decoupling this code from mpegvideo.