fix for hipOutOfMem bug when decoding large videos (#189)

* fix for issue 441908

[ROCm/rocdecode commit: 51ecd8fccf]
This commit is contained in:
Rajy Rawther
2024-01-19 09:46:02 -08:00
کامیت شده توسط GitHub
والد 5527ee0b79
کامیت 9afce4a03a
4فایلهای تغییر یافته به همراه108 افزوده شده و 109 حذف شده
@@ -61,7 +61,8 @@ typedef enum SeiH264HevcPayloadType_enum {
typedef enum OutputSurfaceMemoryType_enum {
OUT_SURFACE_MEM_DEV_INTERNAL = 0, /**< Internal interopped decoded surface memory(original mapped decoded surface) */
OUT_SURFACE_MEM_DEV_COPIED = 1, /**< decoded output will be copied to a separate device memory (the user doesn't need to call release) **/
OUT_SURFACE_MEM_HOST_COPIED = 2 /**< decoded output will be copied to a separate host memory (the user doesn't need to call release) **/
OUT_SURFACE_MEM_HOST_COPIED = 2, /**< decoded output will be copied to a separate host memory (the user doesn't need to call release) **/
OUT_SURFACE_MEM_NOT_MAPPED = 3 /**< < decoded output is not available (interop won't be used): useful for decode only performance app*/
} OutputSurfaceMemoryType;
#define TOSTR(X) std::to_string(static_cast<int>(X))