Searched refs:pContext (Results 1 – 3 of 3) sorted by relevance
517 IMG_ERRORCODE AllocateCodedDataBuffers(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext) in AllocateCodedDataBuffers() argument521 for (ui8Loop = 0 ; ui8Loop < pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers; ui8Loop ++) in AllocateCodedDataBuffers()522 if (pContext->sScan_Encode_Info.aBufferTable[ui8Loop].pMemInfo == NULL) { in AllocateCodedDataBuffers()523 …pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui32DataBufferSizeBytes = ((DATA_BUFFER_SIZE(pCo… in AllocateCodedDataBuffers()524 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui32DataBufferUsedBytes = 0; in AllocateCodedDataBuffers()525 … pContext->sScan_Encode_Info.aBufferTable[ui8Loop].i8MTXNumber = 0; // Indicates buffer is idle in AllocateCodedDataBuffers()526 … pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui16ScanNumber = 0; // Indicates buffer is idle in AllocateCodedDataBuffers()527 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].pMemInfo = in AllocateCodedDataBuffers()528 …(unsigned char *)pContext->jpeg_coded_buf.pMemInfo + PNW_JPEG_HEADER_MAX_SIZE + ui8Loop * pContext… in AllocateCodedDataBuffers()545 IMG_UINT32 FreeCodedDataBuffers(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext)[all …]
553 TOPAZSC_JPEG_ENCODER_CONTEXT *pContext = ctx->jpeg_ctx; in pnw_jpeg_EndPicture() local562 ui32RemainMCUs = pContext->sScan_Encode_Info.ui32NumberMCUsToEncode; in pnw_jpeg_EndPicture()564 for (ui16BCnt = 0; ui16BCnt < pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers in pnw_jpeg_EndPicture()565 && pContext->sScan_Encode_Info.ui16SScan > 0; ui16BCnt++) { in pnw_jpeg_EndPicture()566 pContext->sScan_Encode_Info.aBufferTable[ui16BCnt].ui16ScanNumber = in pnw_jpeg_EndPicture()567 pContext->sScan_Encode_Info.ui16SScan--; in pnw_jpeg_EndPicture()568 if (pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers < 2 || in pnw_jpeg_EndPicture()569 pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers > PNW_JPEG_MAX_SCAN_NUM) { in pnw_jpeg_EndPicture()575 pContext->sScan_Encode_Info.aBufferTable[ui16BCnt].i8MTXNumber = in pnw_jpeg_EndPicture()576 (aui32_jpg_mtx_num[pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers - 1] in pnw_jpeg_EndPicture()[all …]
648 IMG_ERRORCODE Legacy_PrepareHeader(LEGACY_JPEG_ENCODER_CONTEXT * pContext, IMG_CODED_BUFFER *pCBuff…663 IMG_ERRORCODE PrepareHeader(TOPAZSC_JPEG_ENCODER_CONTEXT * pContext, IMG_CODED_BUFFER *pCBuffer, IM…664 IMG_ERRORCODE AllocateCodedDataBuffers(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext);674 IMG_ERRORCODE InitializeJpegEncode(TOPAZSC_JPEG_ENCODER_CONTEXT * pContext, object_surface_p pTFram…675 IMG_ERRORCODE SetupJPEGTables(TOPAZSC_JPEG_ENCODER_CONTEXT * pContext, IMG_CODED_BUFFER *pCBuffer, …676 IMG_ERRORCODE SubmitScanToMTX(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext, IMG_UINT16 ui16BCnt, IMG_INT8…