Searched refs:outHeader (Results 1 – 6 of 6) sorted by relevance
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/ |
D | GoldfishAVCDec.cpp | 202 OMX_BUFFERHEADERTYPE *outHeader) { in setDecodeArgs() argument 218 if (outHeader) { in setDecodeArgs() 219 if (outHeader->nAllocLen < sizeY + (sizeUV * 2)) { in setDecodeArgs() 220 …ALOGE("outHeader->nAllocLen %d < needed size %d", outHeader->nAllocLen, (int)(sizeY + sizeUV * 2)); in setDecodeArgs() 224 mOutHeaderBuf = outHeader->pBuffer; in setDecodeArgs() 263 void GoldfishAVCDec::copyImageData( OMX_BUFFERHEADERTYPE *outHeader, h264_image_t & img) { in copyImageData() argument 266 memcpy(outHeader->pBuffer + i * myStride, img.data + i * mWidth, mWidth); in copyImageData() 270 …memcpy(outHeader->pBuffer + Y + i * myStride / 2 , img.data + mWidth * mHeight + i * mWidth/2, mWi… in copyImageData() 274 …memcpy(outHeader->pBuffer + Y + UV + i * myStride / 2 , img.data + mWidth * mHeight * 5/4 + i * mW… in copyImageData() 319 OMX_BUFFERHEADERTYPE *outHeader; in onQueueFilled() local [all …]
|
D | GoldfishAVCDec.h | 120 OMX_BUFFERHEADERTYPE *outHeader); 124 void copyImageData( OMX_BUFFERHEADERTYPE *outHeader, h264_image_t & img);
|
/device/generic/goldfish-opengl/system/codecs/omx/vpxdec/ |
D | GoldfishVPX.cpp | 148 OMX_BUFFERHEADERTYPE *outHeader = NULL; in outputBuffers() local 177 outHeader = outInfo->mHeader; in outputBuffers() 179 setup_ctx_parameters(mCtx, getHostColorBufferId(outHeader)); in outputBuffers() 199 outHeader->nOffset = 0; in outputBuffers() 200 outHeader->nFlags = 0; in outputBuffers() 201 outHeader->nFilledLen = (outputBufferWidth() * outputBufferHeight() * bpp * 3) / 2; in outputBuffers() 203 outHeader->nTimeStamp = privInfo->mTimeStamp; in outputBuffers() 208 if (outputBufferSafe(outHeader) && in outputBuffers() 209 getHostColorBufferId(outHeader) < 0) { in outputBuffers() 210 uint8_t *dst = outHeader->pBuffer; in outputBuffers() [all …]
|
D | GoldfishVPX.h | 102 bool outputBufferSafe(OMX_BUFFERHEADERTYPE *outHeader);
|
/device/google/contexthub/util/nanoapp_postprocess/ |
D | postprocess.c | 244 struct ImageHeader outHeader = { in finalizeAndWrite() local 270 good = fwrite(&outHeader, sizeof(outHeader), 1, out) == 1 && good; in finalizeAndWrite() 271 binarySize += sizeof(outHeader); in finalizeAndWrite() 579 struct ImageHeader outHeader = { in handleKey() local 593 good = good && fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleKey() 611 struct ImageHeader outHeader = { in handleOs() local 625 good = fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleOs()
|
D | postprocess_elf.c | 235 struct ImageHeader outHeader = { in finalizeAndWrite() local 252 uint32_t dataOffset = sizeof(outHeader) + sizeof(app); in finalizeAndWrite() 261 memcpy(buf, &outHeader, sizeof(outHeader)); in finalizeAndWrite() 262 memcpy(buf + sizeof(outHeader), &app, sizeof(app)); in finalizeAndWrite() 840 struct ImageHeader outHeader = { in handleKey() local 854 good = good && fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleKey() 872 struct ImageHeader outHeader = { in handleOs() local 886 good = fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleOs()
|