diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2025-07-06 16:05:38 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2025-07-18 14:44:39 +0800 |
commit | fbda5ffb95382ed3b51a3577f9287c8eb548b0b7 (patch) | |
tree | cc1a58849100f2f194f74a4595dfcee66dc2e876 /libavutil/pixdesc.c | |
parent | 7b13d17b6d88190c49e887134bba6a43d716d50a (diff) | |
download | ffmpeg-fbda5ffb95382ed3b51a3577f9287c8eb548b0b7.tar.gz |
avutil/hwcontext: Add ohcodec device and pixel format
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r-- | libavutil/pixdesc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 8eb04d1f12..f0be20d749 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -3263,6 +3263,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { }, .flags = AV_PIX_FMT_FLAG_BE, }, + [AV_PIX_FMT_OHCODEC] = { + .name = "ohcodec", + .flags = AV_PIX_FMT_FLAG_HWACCEL, + }, }; static const char * const color_range_names[] = { |