Home
last modified time | relevance | path

Searched refs:sAPP0 (Results 1 – 4 of 4) sorted by relevance

/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEnc_Utils.c2214 if(pComponentPrivate->sAPP0.bMarkerEnabled) { in CalculateParamsSize()
2221 …if ((pComponentPrivate->sAPP0.nThumbnailWidth > 0 && pComponentPrivate->sAPP0.nThumbnailHeight > 0) in CalculateParamsSize()
2222 || pComponentPrivate->sAPP0.nMarkerSize <= 0) { in CalculateParamsSize()
2228 …i += (pComponentPrivate->sAPP0.nMarkerSize/4)*4; /* x bytes for the actual buffer data for this T… in CalculateParamsSize()
2229 if (pComponentPrivate->sAPP0.nMarkerSize % 4) { in CalculateParamsSize()
2234 …if (pComponentPrivate->sAPP0.nThumbnailWidth > 0 && pComponentPrivate->sAPP0.nThumbnailHeight > 0)… in CalculateParamsSize()
2398 if(pComponentPrivate->sAPP0.bMarkerEnabled) { in SetJpegEncInPortParams()
2407 …if ((pComponentPrivate->sAPP0.nThumbnailWidth > 0 && pComponentPrivate->sAPP0.nThumbnailHeight > 0) in SetJpegEncInPortParams()
2408 || pComponentPrivate->sAPP0.nMarkerSize <= 0) { in SetJpegEncInPortParams()
2413 new_params[i++] = pComponentPrivate->sAPP0.nMarkerSize; in SetJpegEncInPortParams()
[all …]
DOMX_JpegEncoder.c654 pComponentPrivate->sAPP0.bMarkerEnabled = OMX_FALSE; in OMX_ComponentInit()
659 pComponentPrivate->sAPP0.pMarkerBuffer = NULL; in OMX_ComponentInit()
1391 if (pComponentPrivate->sAPP0.pMarkerBuffer != NULL) { in JPEGENC_SetConfig()
1392 OMX_FREE(pComponentPrivate->sAPP0.pMarkerBuffer); in JPEGENC_SetConfig()
1395 memcpy (&pComponentPrivate->sAPP0, pMarkerInfo, sizeof(JPEG_APPTHUMB_MARKER)); in JPEGENC_SetConfig()
1396 OMX_MEMCPY_CHECK(&pComponentPrivate->sAPP0); in JPEGENC_SetConfig()
1398 OMX_MALLOC(pComponentPrivate->sAPP0.pMarkerBuffer, pMarkerInfo->nMarkerSize); in JPEGENC_SetConfig()
1399 …memcpy (pComponentPrivate->sAPP0.pMarkerBuffer, pMarkerInfo->pMarkerBuffer, pMarkerInfo->nMarkerSi… in JPEGENC_SetConfig()
1400 OMX_MEMCPY_CHECK(pComponentPrivate->sAPP0.pMarkerBuffer); in JPEGENC_SetConfig()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/
DJPEGTestEnc.c845 JPEG_APPTHUMB_MARKER sAPP0; in SetMarkers() local
847 sAPP0.bMarkerEnabled = OMX_TRUE; in SetMarkers()
850 sAPP0.nMarkerSize = sizeof(APPLICATION0); in SetMarkers()
851 sAPP0.pMarkerBuffer = APPLICATION0; in SetMarkers()
852 sAPP0.nThumbnailWidth = imageinfo->nThumbnailWidth_app0; in SetMarkers()
853 sAPP0.nThumbnailHeight = imageinfo->nThumbnailHeight_app0; in SetMarkers()
861 eError = OMX_SetConfig(pHandle, nCustomIndex, &sAPP0); in SetMarkers()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/inc/
DOMX_JpegEnc_Utils.h431 JPEG_APPTHUMB_MARKER sAPP0; member