Home
last modified time | relevance | path

Searched refs:createInfo_ (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/cudacodec/src/
Dvideo_decoder.cpp78 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()
[all …]
Dvideo_decoder.hpp72 cudaVideoCodec codec() const { return createInfo_.CodecType; } in codec()
73 unsigned long maxDecodeSurfaces() const { return createInfo_.ulNumDecodeSurfaces; } in maxDecodeSurfaces()
75 unsigned long frameWidth() const { return createInfo_.ulWidth; } in frameWidth()
76 unsigned long frameHeight() const { return createInfo_.ulHeight; } in frameHeight()
78 unsigned long targetWidth() const { return createInfo_.ulTargetWidth; } in targetWidth()
79 unsigned long targetHeight() const { return createInfo_.ulTargetHeight; } in targetHeight()
81 cudaVideoChromaFormat chromaFormat() const { return createInfo_.ChromaFormat; } in chromaFormat()
106 CUVIDDECODECREATEINFO createInfo_; member in cv::cudacodec::detail::VideoDecoder