#10789: Videotoolbox decoder enhancements
-------------------------------------+-------------------------------------
Reporter: Fabio | Type:
Lagalla | enhancement
Status: new | Priority: normal
Component: avcodec | Version:
Keywords: | unspecified
videotoolbox decoder | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
**Enhancement 1**
Decode session is created requesting OpenGL or OpenGL|ES compatibility.
That causes internal format conversion that adds an overhead.
It would be helpful to specify a flag to conditionally request OpenGL
compatibility.
**Enhancement 2**
The call to `VTDecompressionSessionWaitForAsynchronousFrames` is likely to
be redundant.
The decoder synchronizes pending work using
`VTDecompressionSessionWaitForAsynchronousFrames`.
That blocks until all pending frames are processed.
However, the function could not be required as the call to
`VTDecompressionSessionDecodeFrame` is done without
`kVTDecodeFrame_EnableAsynchronousDecompression` bit.
That in turn implies the decode callback is called just before the decode
function returns (see
https://developer.apple.com/documentation/videotoolbox/vtdecodeframeflags/kvtdecodeframe_enableasynchronousdecompression?language=objc),
which is the wanted behaviour.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10789>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".