You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
avutil/hwcontext: Add ohcodec device and pixel format
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
@@ -68,6 +68,9 @@ static const HWContextType * const hw_table[] = {
|
||||
#endif
|
||||
#if CONFIG_AMF
|
||||
&ff_hwcontext_type_amf,
|
||||
#endif
|
||||
#if CONFIG_OHCODEC
|
||||
&ff_hwcontext_type_oh,
|
||||
#endif
|
||||
NULL,
|
||||
};
|
||||
@@ -86,6 +89,7 @@ static const char *const hw_type_names[] = {
|
||||
[AV_HWDEVICE_TYPE_MEDIACODEC] = "mediacodec",
|
||||
[AV_HWDEVICE_TYPE_VULKAN] = "vulkan",
|
||||
[AV_HWDEVICE_TYPE_AMF] = "amf",
|
||||
[AV_HWDEVICE_TYPE_OHCODEC] = "ohcodec",
|
||||
};
|
||||
|
||||
typedef struct FFHWDeviceContext {
|
||||
|
||||
Reference in New Issue
Block a user