Home | History | Annotate | Download | only in src

Lines Matching refs:createInfo_

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