#ifndef AMF_VideoDecoderUVD_h
#define AMF_VideoDecoderUVD_h
#pragma once
#include "Component.h"
#include "ColorSpace.h"
#define AMFVideoDecoderUVD_MPEG2 L"AMFVideoDecoderUVD_MPEG2"
#define AMFVideoDecoderUVD_MPEG4 L"AMFVideoDecoderUVD_MPEG4"
#define AMFVideoDecoderUVD_WMV3 L"AMFVideoDecoderUVD_WMV3"
#define AMFVideoDecoderUVD_VC1 L"AMFVideoDecoderUVD_VC1"
#define AMFVideoDecoderUVD_H264_AVC L"AMFVideoDecoderUVD_H264_AVC"
#define AMFVideoDecoderUVD_H264_MVC L"AMFVideoDecoderUVD_H264_MVC"
#define AMFVideoDecoderUVD_H264_SVC L"AMFVideoDecoderUVD_H264_SVC"
#define AMFVideoDecoderUVD_MJPEG L"AMFVideoDecoderUVD_MJPEG"
#define AMFVideoDecoderHW_H265_HEVC L"AMFVideoDecoderHW_H265_HEVC"
#define AMFVideoDecoderHW_H265_MAIN10 L"AMFVideoDecoderHW_H265_MAIN10"
#define AMFVideoDecoderHW_VP9 L"AMFVideoDecoderHW_VP9"
#define AMFVideoDecoderHW_VP9_10BIT L"AMFVideoDecoderHW_VP9_10BIT"
#define AMFVideoDecoderHW_AV1 L"AMFVideoDecoderHW_AV1"
#define AMFVideoDecoderHW_AV1_12BIT L"AMFVideoDecoderHW_AV1_12BIT"
enum AMF_VIDEO_DECODER_MODE_ENUM
{
AMF_VIDEO_DECODER_MODE_REGULAR = 0, AMF_VIDEO_DECODER_MODE_COMPLIANT, AMF_VIDEO_DECODER_MODE_LOW_LATENCY, };
enum AMF_TIMESTAMP_MODE_ENUM
{
AMF_TS_PRESENTATION = 0, AMF_TS_SORT, AMF_TS_DECODE };
#define AMF_VIDEO_DECODER_SURFACE_COPY L"SurfaceCopy"
#define AMF_VIDEO_DECODER_EXTRADATA L"ExtraData"
#define AMF_VIDEO_DECODER_FRAME_RATE L"FrameRate"
#define AMF_TIMESTAMP_MODE L"TimestampMode"
#define AMF_VIDEO_DECODER_ADAPTIVE_RESOLUTION_CHANGE L"AdaptiveResolutionChange"
#define AMF_VIDEO_DECODER_ALLOC_SIZE L"AllocSize"
#define AMF_VIDEO_DECODER_CURRENT_SIZE L"CurrentSize"
#define AMF_VIDEO_DECODER_REORDER_MODE L"ReorderMode"
#define AMF_VIDEO_DECODER_SURFACE_POOL_SIZE L"SurfacePoolSize"
#define AMF_VIDEO_DECODER_DPB_SIZE L"DPBSize"
#define AMF_VIDEO_DECODER_DEFAULT_SURFACES_FOR_TRANSIT 5
#define AMF_VIDEO_DECODER_CAP_NUM_OF_STREAMS L"NumOfStreams"
#define AMF_VIDEO_DECODER_COLOR_TRANSFER_CHARACTERISTIC L"ColorTransferChar"
#define AMF_VIDEO_DECODER_COLOR_PRIMARIES L"ColorPrimaries"
#define AMF_VIDEO_DECODER_COLOR_MATRIX_COEFF L"ColorMatrixCoeff"
#define AMF_VIDEO_DECODER_HDR_METADATA L"HdrMetadata"
#define AMF_VIDEO_DECODER_FULL_RANGE_COLOR L"FullRangeColor"
#define AMF_VIDEO_DECODER_COLOR_RANGE L"ColorRange"
#define AMF_VIDEO_DECODER_COLOR_PROFILE L"ColorProfile"
#define AMF_VIDEO_DECODER_OUTPUT_TRANSFER_CHARACTERISTIC L"OutColorTransferChar"
#define AMF_VIDEO_DECODER_OUTPUT_COLOR_PRIMARIES L"OutputColorPrimaries"
#define AMF_VIDEO_DECODER_OUTPUT_COLOR_MATRIX_COEFF L"OutputColorMatrixCoeff"
#define AMF_VIDEO_DECODER_OUTPUT_HDR_METADATA L"OutHDRMetadata"
#define AMF_VIDEO_DECODER_LOW_LATENCY L"LowLatencyDecode"
#if defined(__ANDROID__)
#define AMF_VIDEO_DECODER_NATIVEWINDOW L"AndroidNativeWindow"
#endif
#if defined(__APPLE__)
#define AMF_VIDEO_DECODER_NATIVEWINDOW L"AppleNativeWindow"
#endif
#define AMF_VIDEO_DECODER_ENABLE_SMART_ACCESS_VIDEO L"EnableDecoderSmartAccessVideo"
#define AMF_VIDEO_DECODER_SKIP_TRANSFER_SMART_ACCESS_VIDEO L"SkipTransferSmartAccessVideo"
#define AMF_VIDEO_DECODER_OUTPUT_FORMAT L"OutputDecodeFormat"
#define AMF_VIDEO_DECODER_CAP_SUPPORT_SMART_ACCESS_VIDEO L"SupportSmartAccessVideo"
#define AMF_VIDEO_DECODER_SURFACE_CPU L"SurfaceCpu"
#define AMF_VIDEO_DECODER_INSTANCE_INDEX L"DecoderInstance"
#define AMF_VIDEO_DECODER_CAP_NUM_OF_HW_INSTANCES L"NumOfHwDecoderInstances"
#endif