diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2023-12-29 21:22:57 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2024-01-04 17:31:49 +0800 |
commit | 5d255ba95ad260146b27422b76e8d1c34a77af36 (patch) | |
tree | 94f51970ebab68fd5ae4c626eb96b3a408f98d4f /COPYING.GPLv2 | |
parent | 0f824d792d20783fda64279ab94e16676e48c2e6 (diff) | |
download | ffmpeg-5d255ba95ad260146b27422b76e8d1c34a77af36.tar.gz |
avutil/hwcontext_videotoolbox: add frame hwctx to specify color range
VideoToolbox use different identifiers for the same pixel format
with different color range, like
kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange
kCVPixelFormatType_420YpCbCr8BiPlanarFullRange.
Before the patch, vt_pool_alloc() always use limited range, and it
will fail for pixel format AV_PIX_FMT_BGRA since there is no limited
range kCVPixelFormatType_32BGRA.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'COPYING.GPLv2')
0 files changed, 0 insertions, 0 deletions