Lines Matching refs:param
57 InitContextParam& param) { in parseInitContextParams() argument
59 param.version = *(uint32_t*)xptr; in parseInitContextParams()
60 param.width = *(unsigned int*)(xptr + 8); in parseInitContextParams()
61 param.height = *(unsigned int*)(xptr + 16); in parseInitContextParams()
62 param.outputWidth = *(unsigned int*)(xptr + 24); in parseInitContextParams()
63 param.outputHeight = *(unsigned int*)(xptr + 32); in parseInitContextParams()
64 param.outputPixelFormat = static_cast<PixelFormat>(*(uint8_t*)(xptr + 40)); in parseInitContextParams()
65 param.pHostDecoderId = static_cast<uint64_t*>(getReturnAddress(ptr)); in parseInitContextParams()
76 DecodeFrameParam& param) { in parseDecodeFrameParams() argument
77 param.hostDecoderId = parseHostDecoderId(ptr); in parseDecodeFrameParams()
79 param.pData = (uint8_t*)ptr + offset; in parseDecodeFrameParams()
80 param.size = *(size_t*)((uint8_t*)ptr + 16); in parseDecodeFrameParams()
81 param.pts = *(size_t*)((uint8_t*)ptr + 24); in parseDecodeFrameParams()
83 param.pConsumedBytes = (size_t*)(retptr); in parseDecodeFrameParams()
84 param.pDecoderErrorCode = (int*)(retptr + 8); in parseDecodeFrameParams()
87 void H264PingInfoParser::parseResetParams(void* ptr, ResetParam& param) { in parseResetParams() argument
89 param.hostDecoderId = parseHostDecoderId(ptr); in parseResetParams()
90 param.width = *(unsigned int*)(xptr + 8); in parseResetParams()
91 param.height = *(unsigned int*)(xptr + 16); in parseResetParams()
92 param.outputWidth = *(unsigned int*)(xptr + 24); in parseResetParams()
93 param.outputHeight = *(unsigned int*)(xptr + 32); in parseResetParams()
94 param.outputPixelFormat = static_cast<PixelFormat>(*(uint8_t*)(xptr + 40)); in parseResetParams()
110 void H264PingInfoParser::parseGetImageParams(void* ptr, GetImageParam& param) { in parseGetImageParams() argument
111 param.hostDecoderId = parseHostDecoderId(ptr); in parseGetImageParams()
113 param.hostColorBufferId = -1; in parseGetImageParams()
115 param.hostColorBufferId = parseHostColorBufferId(ptr); in parseGetImageParams()
118 param.pDecoderErrorCode = (int*)(retptr); in parseGetImageParams()
119 param.pRetWidth = (uint32_t*)(retptr + 8); in parseGetImageParams()
120 param.pRetHeight = (uint32_t*)(retptr + 16); in parseGetImageParams()
121 param.pRetPts = (uint64_t*)(retptr + 24); in parseGetImageParams()
122 param.pRetColorPrimaries = (uint32_t*)(retptr + 32); in parseGetImageParams()
123 param.pRetColorRange = (uint32_t*)(retptr + 40); in parseGetImageParams()
124 param.pRetColorTransfer = (uint32_t*)(retptr + 48); in parseGetImageParams()
125 param.pRetColorSpace = (uint32_t*)(retptr + 56); in parseGetImageParams()
129 param.pDecodedFrame = (uint8_t*)ptr + offset; in parseGetImageParams()