summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* hevc: support Main10 DXVA2 accelerationdxvaAnton Khirnov2016-06-29
|
* avconv_dxva2: support HEVC Main10 decodingHendrik Leppkes2016-06-29
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* qsv: print more complete error messagesAnton Khirnov2016-06-29
| | | | Include the libmfx error code and its description
* qsvenc: add support for p010Anton Khirnov2016-06-29
|
* qsvdec: when a frames ctx is supplied, use its frame dimensionsAnton Khirnov2016-06-29
| | | | The allocated frame size may be larger than the coded dimensions.
* qsvdec: add support for P010 (10-bit 420) decodingAnton Khirnov2016-06-29
|
* qsvdec: use the same mfxFrameInfo for allocating frames that was passed to ↵Anton Khirnov2016-06-29
| | | | | | DECODE_Init Stop duplicating this information.
* qsvdec: make ff_qsv_map_pixfmt() return a MFX fourcc as wellAnton Khirnov2016-06-29
| | | | | | | Stop hardcoding NV12. Also, move this function to the shared code, it will be used by the encoder as well.
* hwcontext_qsv: add support for p010Anton Khirnov2016-06-29
|
* hwcontext_dxva2: add support for p010Anton Khirnov2016-06-29
|
* swscale: add P010 input supportHendrik Leppkes2016-06-29
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* pixfmt: add P010 pixel formatHendrik Leppkes2016-06-28
| | | | | | | P010 is the 10-bit variant of NV12 (planar luma, packed chroma), using two bytes per component to store 10-bit data plus 6-bit zeroes in the LSBs. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* qsvdec_hevc: add the UID of the HEVC HW decoder pluginAnton Khirnov2016-06-28
|
* qsvdec_hevc: fix a variable nameAnton Khirnov2016-06-28
| | | | hevcenc -> hevcdec, this is a _decoder_ plugin.
* hwcontext_vaapi: allow transfers to/from any size of sw frameMark Thompson2016-06-28
| | | | | | | | The hw frame used as reference has an attached size but it need not match the actual size of the surface, so enforcing that the sw frame used in copying matches its size exactly is not useful. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_hwdownload: allocate the destination frame for the pool sizeAnton Khirnov2016-06-28
| | | | The reasoning is the same as for the previous commit.
* hwcontext: allocate the destination frame for the pool sizeAnton Khirnov2016-06-28
| | | | | | The source frame may be cropped, so that its dimensions are smaller than the pool dimensions. The transfer_data API requires the allocated size of the destination frame to be the same as the pool size.
* hwcontext: clarify the behaviour of transfer_data() for cropped framesAnton Khirnov2016-06-28
|
* avconv: restructure sending EOF to filtersAnton Khirnov2016-06-28
| | | | | | | | | | | Be more careful when an input stream encounters EOF when its filtergraph has not been configured yet. The current code would immediately mark the corresponding output streams as finished, while there may still be buffered frames waiting for frames to appear on other filtergraph inputs. This should fix the random FATE failures for complex filtergraph tests after a3a0230a9870b9018dc7415ae5872784d524cfe5
* avconv: move flushing the queued frames to configure_filtergraph()Anton Khirnov2016-06-28
| | | | | This is a more appropriate place for it, and will also be useful in the following commit.
* options_table: Add aliases for color propertiesVittorio Giovara2016-06-27
| | | | All option names now match the ones provided by the av_color_*_name().
* pixdesc: Fix AVCOL_TRC_BT2020_12 nameVittorio Giovara2016-06-27
|
* pixdesc: Add aliases to SMPTE color propertiesVittorio Giovara2016-06-27
| | | | | Drop ST from names and symbols, it does not add anything distinctive or descriptive.
* vaapi_encode: Maintain a pool of bitstream output buffersMark Thompson2016-06-26
| | | | | | | | | Previously we would allocate a new one for every frame. This instead maintains an AVBufferPool of them to use as-needed. Also makes the maximum size of an output buffer adapt to the frame size - the fixed upper bound was a bit too easy to hit when encoding large pictures at high quality.
* avconv: Remove hw_device_ctx output filter reinit hackMark Thompson2016-06-26
| | | | | Not needed any more because we no longer have any useful case which will reinitialise with hardware frames here.
* libavcodec: fix constness in clobber test avcodec_open2() wrappersClément Bœsch2016-06-26
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv_qsv: use the device creation APIAnton Khirnov2016-06-25
|
* avconv: pass the hwaccel frames context to the decoderAnton Khirnov2016-06-25
|
* avconv: init filtergraphs only after we have a frame on each inputAnton Khirnov2016-06-25
| | | | | | | | | This makes sure the actual stream parameters are used, which is important mainly for hardware decoding+filtering cases, which would previously require various weird workarounds to handle the fact that a fake software graph has to be constructed, but never used. This should also improve behaviour in rare cases where avformat_find_stream_info() does not provide accurate information.
* avconv: do packet ts rescaling in write_packet()Anton Khirnov2016-06-25
| | | | | This will be useful in the following commit, after which the muxer timebase is not always available when encoding.
* avconv: decouple configuring filtergraphs and setting output parametersAnton Khirnov2016-06-25
| | | | | | | | | | Currently, a filtergraph will pull in the output constraints from its corresponding decoder context, which breaks proper layering. Instead, explicitly send the constaints on the output parameters to the filtergraph. This is similar to what is done for filtergraph inputs in 30ab4c51a180610d9f1720c75518d763515c0d9f
* avconv: factor out initializing stream parameters for encodingAnton Khirnov2016-06-25
| | | | | | | | | | Setting the filter input parameters is moved to init_input_stream(), so that it is done before the decoder is opened, potentially overwriting the information from avformat_find_stream_info() with less accurate data. This commit temporarily disables QSV transcoding with hw frames. The functionality will be re-added in the following commits.
* avconv: decouple configuring filtergraphs and setting input parametersAnton Khirnov2016-06-25
| | | | | | | | | | | | Currently, calling configure_filtergraph() will pull in the input parameters from the corresponding decoder context. This has the following disadvantages: - the decoded frame is a more proper source for this information - a filter accessing decoder data breaks proper layering Add functions for explicitly sending the input stream parameters to a filtergraph input - currently from a frame and a decoder. The decoder one will be dropped in future commits after some more restructuring.
* avconv: buffer the packets written while the muxer is not initializedAnton Khirnov2016-06-25
|
* avconv: explicitly postpone writing the header until all streams are initializedAnton Khirnov2016-06-25
| | | | | This should have no practical effect for now, but will make a difference in the following commits.
* lavfi: set the link hwframes context before configuring the dst inputAnton Khirnov2016-06-25
| | | | | The destination filter might expect the hw frames context to be already set (this is the case e.g. for hwdownload).
* omx: Don't return > 0 from omx_encode_frameMartin Storsjö2016-06-24
| | | | | | | The encode function is supposed to just return 0 on success. This stems from a mixup with the return value of decode functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenh264enc: Fix inconsistent whitespaceMartin Storsjö2016-06-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* msmpeg4: Remove commented-out debug logging codeDiego Biurrun2016-06-24
|
* msmpeg4: Remove some broken, commented-out cruftDiego Biurrun2016-06-24
|
* h264: Eliminate unused but set variableDiego Biurrun2016-06-23
| | | | libavcodec/h264_slice.c:1384:9: warning: variable 'droppable' set but not used
* librtmp: Avoid an infiniloop setting connection argumentsLuca Barbato2016-06-22
| | | | | | The exit condition was missing. CC: libav-stable@libav.org
* hwcontext_vaapi: Return all formats for constraints without configMark Thompson2016-06-21
| | | | | | | | | | | | | | No longer make a dummy device configuration to query. Instead, just return everything we recognise from the whole format list. Also change the device setup code to query that list only, rather than intersecting it with the constraint output. This makes hwupload more usable on mesa/gallium where the video processor only declares support for RGB formats, making it unable to deal with YUV formats before this patch. It might introduce some different trickier failures in the internal upload/download code because the set of allowed formats there has changed, though I didn't find any obvious regressions with i965.
* vaapi_encode: Fix fallback when input does not match any formatMark Thompson2016-06-21
| | | | Just a typo. Add a comment to make it clearer what it's doing.
* dxva2_h264: Remove an unused variableMartin Storsjö2016-06-21
| | | | | | | This was introduced by mistake in 39cdbb12aa214 (only one of the added variables were really needed). Signed-off-by: Martin Storsjö <martin@martin.st>
* checkasm: Issue emms after benchmarking functionsMartin Storsjö2016-06-21
| | | | | | | | | | | | | | The functions may not clean up properly after using MMX registers. For the normal testing calls, the checkasm_checked_call functions will do the cleanup (and check that functions that should clean up do it as well), but when benchmarking functions that don't clean up, we don't currently properly clean up at all. This causes issues if a benchmarked function is followed by testing of a function that is supposed to not clobber the MMX/FPU state but doesn't touch it at all. Signed-off-by: Martin Storsjö <martin@martin.st>
* Use AVFrame.pts instead of deprecated pkt_pts.Anton Khirnov2016-06-21
|
* lavc: export the timestamps when decoding in AVFrame.ptsAnton Khirnov2016-06-21
| | | | | | | | | | | Currently it's exported as AVFrame.pkt_pts, which is also the only use for that field. The reason it is done like this is that lavc used to export various codec-specific "timing" information in AVFrame.pts, which is not done anymore. Since it is confusing to the callers to have a separate field which is used only for decoder timestamps and nothing else, deprecate pkt_pts and use just AVFrame.pts everywhere.
* lavfi: add a QSV scaling filterAnton Khirnov2016-06-21
|
* qsvenc: support getting the session from an AVHWFramesContextAnton Khirnov2016-06-21
|