Lines Matching refs:createInfo_
78 std::memset(&createInfo_, 0, sizeof(CUVIDDECODECREATEINFO)); in create()
81 createInfo_.CodecType = _codec; in create()
82 createInfo_.ulWidth = videoFormat.width; in create()
83 createInfo_.ulHeight = videoFormat.height; in create()
84 createInfo_.ulNumDecodeSurfaces = FrameQueue::MaximumSize; in create()
87 …while (createInfo_.ulNumDecodeSurfaces * videoFormat.width * videoFormat.height > 16 * 1024 * 1024) in create()
88 createInfo_.ulNumDecodeSurfaces--; in create()
90 createInfo_.ChromaFormat = _chromaFormat; in create()
91 createInfo_.OutputFormat = cudaVideoSurfaceFormat_NV12; in create()
92 createInfo_.DeinterlaceMode = cudaVideoDeinterlaceMode_Adaptive; in create()
97 createInfo_.ulTargetWidth = createInfo_.ulWidth; in create()
98 createInfo_.ulTargetHeight = createInfo_.ulHeight; in create()
99 …createInfo_.ulNumOutputSurfaces = MAX_FRAME_COUNT; // We won't simultaneously map more than 8 sur… in create()
100 createInfo_.ulCreationFlags = videoCreateFlags; in create()
101 createInfo_.vidLock = lock_; in create()
104 cuSafeCall( cuvidCreateDecoder(&decoder_, &createInfo_) ); in create()