/hardware/intel/img/psb_video/src/ |
H A D | pnw_jpeg.c | 553 TOPAZSC_JPEG_ENCODER_CONTEXT *pContext = ctx->jpeg_ctx; local 562 ui32RemainMCUs = pContext->sScan_Encode_Info.ui32NumberMCUsToEncode; 564 for (ui16BCnt = 0; ui16BCnt < pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers 565 && pContext->sScan_Encode_Info.ui16SScan > 0; ui16BCnt++) { 566 pContext->sScan_Encode_Info.aBufferTable[ui16BCnt].ui16ScanNumber = 567 pContext->sScan_Encode_Info.ui16SScan--; 568 if (pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers < 2 || 569 pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers > PNW_JPEG_MAX_SCAN_NUM) { 575 pContext->sScan_Encode_Info.aBufferTable[ui16BCnt].i8MTXNumber = 576 (aui32_jpg_mtx_num[pContext 626 TOPAZSC_JPEG_ENCODER_CONTEXT *pContext = ctx->jpeg_ctx; local [all...] |
H A D | pnw_hostjpeg.c | 517 IMG_ERRORCODE AllocateCodedDataBuffers(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext) argument 521 for (ui8Loop = 0 ; ui8Loop < pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers; ui8Loop ++) 522 if (pContext->sScan_Encode_Info.aBufferTable[ui8Loop].pMemInfo == NULL) { 523 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui32DataBufferSizeBytes = ((DATA_BUFFER_SIZE(pContext->sScan_Encode_Info.ui32NumberMCUsToEncodePerScan) + sizeof(BUFFER_HEADER)) + 3) & ~3; 524 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui32DataBufferUsedBytes = 0; 525 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].i8MTXNumber = 0; // Indicates buffer is idle 526 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui16ScanNumber = 0; // Indicates buffer is idle 527 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].pMemInfo = 528 (unsigned char *)pContext 562 SetupMCUDetails(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext, const IMG_UINT32 uiComponentNumber , const IMG_UINT32 uiWidthBlocks , const IMG_UINT32 uiHeightBlocks, const IMG_UINT32 uiLastRow, const IMG_UINT32 uiLastCol) argument 597 InitializeJpegEncode(TOPAZSC_JPEG_ENCODER_CONTEXT * pContext, object_surface_p __maybe_unused pTFrame) argument 852 EncodeMarkerSegment(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext, IMG_UINT8 *puc_stream_buff, IMG_BOOL bIncludeHuffmanTables) argument 1078 EncodeFrameHeader(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext, IMG_UINT8 *puc_stream_buff) argument 1187 JPGEncodeHeader( TOPAZSC_JPEG_ENCODER_CONTEXT *pContext, IMG_UINT8* pui8BitStreamBuffer , IMG_UINT32* pui32BytesWritten) argument 1214 SetupIssueSetup(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext, const IMG_UINT32 ui32ComponentsInScan, IMG_UINT8 __maybe_unused * aui8Planes, object_surface_p pTFrame, const IMG_UINT32 ui32TableA , const IMG_UINT32 __maybe_unused ui32TableB) argument 1380 JPGEncodeSOSHeader( TOPAZSC_JPEG_ENCODER_CONTEXT *pContext, IMG_UINT8* pui8BitStreamBuffer , IMG_UINT32* pui32BytesWritten) argument 1485 SetupJPEGTables(TOPAZSC_JPEG_ENCODER_CONTEXT * pContext, IMG_CODED_BUFFER *pCBuffer, object_surface_p pTFrame) argument 1688 PrepareHeader(TOPAZSC_JPEG_ENCODER_CONTEXT * pContext, IMG_CODED_BUFFER *pCBuffer, IMG_UINT32 ui32StartOffset, IMG_BOOL bIncludeHuffmanTables) argument 1731 IssueBufferToHW(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext, TOPAZSC_JPEG_BUFFER_INFO* pWriteBuf, IMG_UINT16 ui16BCnt, IMG_UINT32 ui32NoMCUsToEncode, IMG_INT8 i8MTXNumber) argument 1792 SubmitScanToMTX(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext, IMG_UINT16 ui16BCnt, IMG_INT8 i8MTXNumber, IMG_UINT32 ui32NoMCUsToEncode) argument [all...] |
/hardware/ti/omap4-aah/security/tf_daemon/ |
H A D | lib_manifest2.c | 39 #define LOG_ERROR(pContext, msg, ...) log_error("%s - line %d: " msg, pContext->pManifestName, pContext->nLine, __VA_ARGS__) 50 #define LOG_ERROR(pContext...) 57 LIB_MANIFEST2_CONTEXT* pContext) 59 pContext->nOffset = 0; 60 pContext->nLine = 1; 61 pContext->nSectionStartOffset = 0; 132 LIB_MANIFEST2_CONTEXT* pContext, 139 uint8_t* pCurrent = pContext 56 libManifest2InitContext( LIB_MANIFEST2_CONTEXT* pContext) argument 131 static_libManifest2GetNextItemInternal( LIB_MANIFEST2_CONTEXT* pContext, OUT uint8_t** ppName, OUT uint32_t* pNameLength, OUT uint8_t** ppValue, OUT uint32_t* pValueLength) argument 519 libManifest2GetNextItem( LIB_MANIFEST2_CONTEXT* pContext, OUT uint8_t** ppName, OUT uint32_t* pNameLength, OUT uint8_t** ppValue, OUT uint32_t* pValueLength) argument 641 libManifest2CheckFormat( LIB_MANIFEST2_CONTEXT* pContext, uint32_t* pnItemCount) argument [all...] |
H A D | delegation_client.c | 993 static int runSession(TEEC_Context* pContext, TEEC_Session* pSession, TEEC_Operation* pOperation) argument 1273 static int createSession(TEEC_Context* pContext, TEEC_Session* pSession, TEEC_Operation* pOperation) argument 1281 nError = TEEC_OpenSession(pContext, 1328 nError = TEEC_RegisterSharedMemory(pContext, &sExchangeSharedMem);
|
/hardware/ti/omap4xxx/security/tf_daemon/ |
H A D | lib_manifest2.c | 39 #define LOG_ERROR(pContext, msg, ...) log_error("%s - line %d: " msg, pContext->pManifestName, pContext->nLine, __VA_ARGS__) 50 #define LOG_ERROR(pContext...) 57 LIB_MANIFEST2_CONTEXT* pContext) 59 pContext->nOffset = 0; 60 pContext->nLine = 1; 61 pContext->nSectionStartOffset = 0; 132 LIB_MANIFEST2_CONTEXT* pContext, 139 uint8_t* pCurrent = pContext 56 libManifest2InitContext( LIB_MANIFEST2_CONTEXT* pContext) argument 131 static_libManifest2GetNextItemInternal( LIB_MANIFEST2_CONTEXT* pContext, OUT uint8_t** ppName, OUT uint32_t* pNameLength, OUT uint8_t** ppValue, OUT uint32_t* pValueLength) argument 519 libManifest2GetNextItem( LIB_MANIFEST2_CONTEXT* pContext, OUT uint8_t** ppName, OUT uint32_t* pNameLength, OUT uint8_t** ppValue, OUT uint32_t* pValueLength) argument 641 libManifest2CheckFormat( LIB_MANIFEST2_CONTEXT* pContext, uint32_t* pnItemCount) argument [all...] |
H A D | delegation_client.c | 875 static int runSession(TEEC_Context* pContext, TEEC_Session* pSession, TEEC_Operation* pOperation) argument 1107 static int createSession(TEEC_Context* pContext, TEEC_Session* pSession, TEEC_Operation* pOperation) argument 1115 nError = TEEC_OpenSession(pContext, 1162 nError = TEEC_RegisterSharedMemory(pContext, &sExchangeSharedMem);
|
/hardware/ti/omap4-aah/domx/test/sample_proxy/ |
H A D | test_sample_proxy.c | 418 SampleCompTestCtxt *pContext; local 425 pContext = (SampleCompTestCtxt *) pAppData; 435 pContext->eState = (OMX_STATETYPE) nData2; 436 TIMM_OSAL_SemaphoreRelease(pContext->hStateSetEvent); 443 TIMM_OSAL_SemaphoreRelease(pContext-> 494 SampleCompTestCtxt *pContext; local 501 pContext = (SampleCompTestCtxt *) pAppData; 502 pContext->nBufDoneCalls++; 504 BUFFER_LIST_SET_ENTRY(pContext->pInBufferList, pBuffer); 519 SampleCompTestCtxt *pContext; local 548 SampleTest_ReadInputFile(SampleCompTestCtxt * pContext, OMX_PTR pData, OMX_U32 nBytes, FILE * fp) argument 576 SampleTest_WriteInBuffers(SampleCompTestCtxt * pContext) argument 639 SampleTest_ReadOutBuffers(SampleCompTestCtxt * pContext) argument 672 SampleTest_AllocateBuffers(SampleCompTestCtxt * pContext, OMX_PARAM_PORTDEFINITIONTYPE * pPortDef) argument 836 SampleTest_DeInitBuffers(SampleCompTestCtxt * pContext) argument 923 SampleTest_TransitionWait(OMX_STATETYPE eToState, SampleCompTestCtxt * pContext) argument 992 SampleCompTestCtxt *pContext; local [all...] |
/hardware/ti/omap4-aah/security/tee_client_api/ |
H A D | tee_client_api_linux_driver.c | 157 * @param pContext 165 IN TEEC_Context* pContext, 172 TRACE_INFO("scxExchangeMessage[0x%X]\n",pContext); 245 nResult = ioctl((S_HANDLE)pContext->imp._hConnection, IOCTL_SCX_EXCHANGE, pCommand); 248 TRACE_INFO("scxExchangeMessage[0x%X]: Ioctl returned error: 0x%x (0x%x - %d)\n",pContext,nResult,errno,errno); 388 TEEC_Context* pContext) 439 pContext->imp._hConnection = hDriver; 444 pContext->imp._hConnection = 0; 451 void TEEC_FinalizeContext(TEEC_Context* pContext) argument 453 TRACE_INFO("TEEC_FinalizeContext[0x%X]", pContext); 164 scxExchangeMessage( IN TEEC_Context* pContext, IN SCHANNEL6_COMMAND* pCommand, OUT SCHANNEL6_ANSWER* pAnswer, IN TEEC_Operation* pOperation) argument 386 TEEC_InitializeContext( const char* pDeviceName, TEEC_Context* pContext) argument [all...] |
/hardware/ti/omap4xxx/domx/test/sample_proxy/ |
H A D | test_sample_proxy.c | 418 SampleCompTestCtxt *pContext; local 425 pContext = (SampleCompTestCtxt *) pAppData; 435 pContext->eState = (OMX_STATETYPE) nData2; 436 TIMM_OSAL_SemaphoreRelease(pContext->hStateSetEvent); 443 TIMM_OSAL_SemaphoreRelease(pContext-> 494 SampleCompTestCtxt *pContext; local 501 pContext = (SampleCompTestCtxt *) pAppData; 502 pContext->nBufDoneCalls++; 504 BUFFER_LIST_SET_ENTRY(pContext->pInBufferList, pBuffer); 519 SampleCompTestCtxt *pContext; local 548 SampleTest_ReadInputFile(SampleCompTestCtxt * pContext, OMX_PTR pData, OMX_U32 nBytes, FILE * fp) argument 576 SampleTest_WriteInBuffers(SampleCompTestCtxt * pContext) argument 639 SampleTest_ReadOutBuffers(SampleCompTestCtxt * pContext) argument 672 SampleTest_AllocateBuffers(SampleCompTestCtxt * pContext, OMX_PARAM_PORTDEFINITIONTYPE * pPortDef) argument 836 SampleTest_DeInitBuffers(SampleCompTestCtxt * pContext) argument 923 SampleTest_TransitionWait(OMX_STATETYPE eToState, SampleCompTestCtxt * pContext) argument 992 SampleCompTestCtxt *pContext; local [all...] |
/hardware/ti/omap4xxx/security/tee_client_api/ |
H A D | tee_client_api_linux_driver.c | 149 * @param pContext 157 IN TEEC_Context* pContext, 164 TRACE_INFO("scxExchangeMessage[0x%X]\n",pContext); 237 nResult = ioctl((S_HANDLE)pContext->imp._hConnection, IOCTL_SCX_EXCHANGE, pCommand); 240 TRACE_INFO("scxExchangeMessage[0x%X]: Ioctl returned error: 0x%x (0x%x - %d)\n",pContext,nResult,errno,errno); 380 TEEC_Context* pContext) 431 pContext->imp._hConnection = hDriver; 436 pContext->imp._hConnection = 0; 443 void TEEC_FinalizeContext(TEEC_Context* pContext) argument 445 TRACE_INFO("TEEC_FinalizeContext[0x%X]", pContext); 156 scxExchangeMessage( IN TEEC_Context* pContext, IN SCHANNEL6_COMMAND* pCommand, OUT SCHANNEL6_ANSWER* pAnswer, IN TEEC_Operation* pOperation) argument 378 TEEC_InitializeContext( const char* pDeviceName, TEEC_Context* pContext) argument [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/inc/ |
H A D | OMX_VideoEnc_DSP.h | 258 void (*pfNalUnitCallBack)(OMX_U32 *pNalu, OMX_U32 *pPacketSizeInBytes, void *pContext) ; /* Function pointer of the call-back function to be used by Encoder*/ 259 void *pContext ; /*pointer to context structure used during callback*/ member in struct:IH264VENC_DynamicParams
|