summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Mark some arrays that never change as const.Anton Khirnov2017-02-01
|
* ffv1: Convert to the new bitstream readerAlexandra Hájková2017-01-31
|
* h261dec: Convert to the new bitstream readerAlexandra Hájková2017-01-31
|
* shorten: Convert to the new bitstream readerAlexandra Hájková2017-01-31
|
* ralf: Convert to the new bitstream readerAlexandra Hájková2017-01-31
|
* loco: Convert to the new bitstream readerAlexandra Hájková2017-01-31
|
* fic: Convert to the new bitstream readerAlexandra Hájková2017-01-31
|
* dirac: Convert to the new bitstream readerAlexandra Hájková2017-01-31
|
* cavs: Convert to the new bitstream readerAlexandra Hájková2017-01-31
|
* aic: Convert to the new bitstream readerAlexandra Hájková2017-01-31
|
* golomb: Convert to the new bitstream readerDiego Biurrun2017-01-31
|
* pgssubdec: reset rle_data_len/rle_remaining_len on allocation errorAndreas Cadhalpun2017-01-31
| | | | | | | | The code relies on their validity and otherwise can try to access a NULL object->rle pointer, causing segmentation faults. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vaapi_encode: Add VP8 supportMark Thompson2017-01-30
|
* vaapi_encode: Pass framerate parameters to driverMark Thompson2017-01-30
| | | | | | | Only do this when building for a recent VAAPI version - initial driver implementations were confused about the interpretation of the framerate field, but hopefully this will be consistent everywhere once 0.40.0 is released.
* vaapi_h264: Enable VBR modeMark Thompson2017-01-30
| | | | | | | | Default to using VBR when a target bitrate is set, unless the max rate is also set and matches the target. Changes to the Intel driver mean that min_qp is also respected in this case, so set a codec default to unset the value rather than using the current default inherited from the MPEG-4 part 2 encoder.
* vaapi_encode: Support VBR modeMark Thompson2017-01-30
| | | | | | This includes a backward-compatibility hack to choose CBR anyway on old drivers which have no CBR support, so that existing programs will continue to work their options now map to VBR.
* vaapi_encode: Add MPEG-2 supportMark Thompson2017-01-29
|
* tak: Convert to the new bitstream readerAlexandra Hájková2017-01-25
|
* magicyuv: Convert to the new bitstream readerDiego Biurrun2017-01-25
|
* truemotion2rt: Convert to the new bitstream readerDiego Biurrun2017-01-25
|
* wavpack: Convert to the new bitstream readerAlexandra Hájková2017-01-25
|
* mpc: Convert to the new bitstream readerAlexandra Hájková2017-01-25
|
* dxtory: Convert to the new bitstream readerAlexandra Hájková2017-01-20
|
* apedec: Convert to the new bitstream readerAlexandra Hájková2017-01-20
|
* mpegvideoenc: make a table constAnton Khirnov2017-01-19
|
* zmbvenc: get rid of a global tableAnton Khirnov2017-01-19
|
* hevc: Mark as having threadsafe initDerek Buitenhuis2017-01-19
| | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* als: Convert to the new bitstream readerAlexandra Hájková2017-01-17
|
* nvenc: Explicitly push the cuda context on encodingLuca Barbato2017-01-17
| | | | | Make sure that NVENC does not misbehave if other cuda usages happen in the application.
* alac: Convert to the new bitstream readerAlexandra Hájková2017-01-13
|
* qsv: Set the correct range for la_depthLuca Barbato2017-01-13
| | | | Setting an invalid range for it makes the encoder behave inconsistently.
* theora: export cropping information instead of handling it internallyAnton Khirnov2017-01-12
|
* h264dec: export cropping information instead of handling it internallyAnton Khirnov2017-01-12
|
* h264dec: be more explicit in handling container croppingAnton Khirnov2017-01-12
| | | | | | | | | | | | | The current condition can trigger in cases where it shouldn't, with unexpected results. Make sure that: - container cropping is really based on the original dimensions from the caller - those dimenions are discarded on size change The code is still quite hacky and eventually should be deprecated and removed, with the decision about which cropping is used delegated to the caller.
* hevcdec: export cropping information instead of handling it internallyAnton Khirnov2017-01-12
|
* lavc: add an option for exporting cropping information to the callerAnton Khirnov2017-01-12
| | | | | Also, add generic code for handling cropping, so the decoders can export just the cropping size and not bother with the rest.
* qsvdec: do not sync PIX_FMT_QSV surfacesAnton Khirnov2017-01-12
| | | | | | | | | | Introducing enforced sync points in arbitrary places is bad for performance. Since the vast majority of receiving code (QSV VPP or encoders, retrieving frames through hwcontext) will do the syncing, this change should not be visible to most callers. But bumping micro just in case. This is also consistent with what VAAPI hwaccel does.
* dxva2: allow an empty array of ID3D11VideoDecoderOutputViewSteve Lhomme2017-01-12
| | | | | | | We can pick the correct slice index directly from the ID3D11VideoDecoderOutputView casted from data[3]. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* dxva2: get the slice number directly from the surface in D3D11VASteve Lhomme2017-01-12
| | | | | | | | | No need to loop through the known surfaces, we'll use the requested surface anyway. The loop is only done for DXVA2. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vaapi_h264: Scale log2_max_pic_order_cnt_lsb with max_b_framesMark Thompson2017-01-11
| | | | | | | Before this change, it was possible to overflow pic_order_cnt_lsb and generate a stream with invalid POC numbering. This makes sure that the field is large enough that a single IDR B* P sequence uses fewer than half the available POC lsb values.
* vaapi_encode: Support forcing IDR frames via AVFrame.pict_typeMark Thompson2017-01-11
|
* vaapi_encode: Fix GOP sizingMark Thompson2017-01-11
| | | | | | This change makes the configured GOP size be respected exactly - previously the value could be exceeded slightly due to flaws in the frame type selection logic.
* interplayvideo: Convert to the new bitstream readerAlexandra Hájková2017-01-09
|
* adx: Convert to the new bitstream readerAlexandra Hájková2017-01-09
|
* dvbsubdec: Convert to the new bitstream readerAlexandra Hájková2017-01-09
|
* motionpixels: Convert to the new bitstream readerAlexandra Hájková2017-01-09
|
* h264dec: make ff_h264_decode_init() staticAnton Khirnov2017-01-09
| | | | It is not called from outside h264dec.c anymore.
* h264dec: drop a redundant checkAnton Khirnov2017-01-09
| | | | | Cropping parameters are already checked for validity during SPS parsing, no need to check them again.
* hevcdec: add P010 support for D3D11VASteve Lhomme2017-01-09
| | | | | | | Given it's the same API than DVXA2 I don't know why the same output was not enabled for both. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* dxva2: Factorize DXVA context validity test into a single macroSteve Lhomme2017-01-08
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>