MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / getCodeStreamInfo

Method getCodeStreamInfo

external/nvImageCodec/src/code_stream.cpp:139–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 }
138
139 nvimgcodecStatus_t CodeStream::getCodeStreamInfo(nvimgcodecCodeStreamInfo_t* codestream_info) {
140 assert(codestream_info);
141
142 if (ensureParsed() != NVIMGCODEC_STATUS_SUCCESS) {
143 return parse_status_;
144 }
145
146 void* struct_next = codestream_info->struct_next;
147 *codestream_info = codestream_info_;
148 codestream_info->struct_next = struct_next;
149
150 if (codestream_info->struct_next) {
151 return NVIMGCODEC_STATUS_INVALID_PARAMETER;
152 }
153
154 return NVIMGCODEC_STATUS_SUCCESS;
155 }
156
157 nvimgcodecStatus_t CodeStream::getImageInfo(nvimgcodecImageInfo_t* image_info) {
158 assert(image_info);

Callers 11

ensureParsedMethod · 0.45
canDecodeMethod · 0.45
decodeMethod · 0.45
canDecodeMethod · 0.45
decodeMethod · 0.45
canDecodeMethod · 0.45
setDecodeParamsMethod · 0.45
canDecodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected