| 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); |
no outgoing calls
no test coverage detected