Home
last modified time | relevance | path

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

/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/
DJPEGTestEnc.c873 JPEG_APPTHUMB_MARKER sAPP1; in SetMarkers() local
875 sAPP1.bMarkerEnabled = OMX_TRUE; in SetMarkers()
878 sAPP1.nThumbnailWidth = imageinfo->nThumbnailWidth_app1; in SetMarkers()
879 sAPP1.nThumbnailHeight = imageinfo->nThumbnailHeight_app1; in SetMarkers()
882 if(sAPP1.nThumbnailWidth > 0 && sAPP1.nThumbnailHeight > 0) { in SetMarkers()
883 sAPP1.nMarkerSize = sizeof(APPLICATION1_THUMB); in SetMarkers()
884 sAPP1.pMarkerBuffer = APPLICATION1_THUMB; in SetMarkers()
887 sAPP1.nMarkerSize = sizeof(APPLICATION1_NOTHUMB); in SetMarkers()
888 sAPP1.pMarkerBuffer = APPLICATION1_NOTHUMB; in SetMarkers()
894 sAPP1.pMarkerBuffer[152] = sCrop.nWidth & 0xFF; in SetMarkers()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEnc_Utils.c2250 if (pComponentPrivate->sAPP1.bMarkerEnabled) { in CalculateParamsSize()
2257 if (pComponentPrivate->sAPP1.nMarkerSize <= 0) { in CalculateParamsSize()
2264 …i += (pComponentPrivate->sAPP1.nMarkerSize/4)*4; /* x bytes for the actual buffer data for this T… in CalculateParamsSize()
2265 if (pComponentPrivate->sAPP1.nMarkerSize % 4) { in CalculateParamsSize()
2271 …if (pComponentPrivate->sAPP1.nThumbnailWidth > 0 && pComponentPrivate->sAPP1.nThumbnailHeight > 0)… in CalculateParamsSize()
2438 if(pComponentPrivate->sAPP1.bMarkerEnabled) { in SetJpegEncInPortParams()
2447 if (pComponentPrivate->sAPP1.nMarkerSize <= 0) { in SetJpegEncInPortParams()
2453 new_params[i++] = pComponentPrivate->sAPP1.nMarkerSize; in SetJpegEncInPortParams()
2454 …memcpy(new_params + i, pComponentPrivate->sAPP1.pMarkerBuffer, pComponentPrivate->sAPP1.nMarkerSiz… in SetJpegEncInPortParams()
2455 i += pComponentPrivate->sAPP1.nMarkerSize / 4; in SetJpegEncInPortParams()
[all …]
DOMX_JpegEncoder.c655 pComponentPrivate->sAPP1.bMarkerEnabled = OMX_FALSE; in OMX_ComponentInit()
660 pComponentPrivate->sAPP1.pMarkerBuffer = NULL; in OMX_ComponentInit()
1411 if (pComponentPrivate->sAPP1.pMarkerBuffer != NULL) { in JPEGENC_SetConfig()
1412 OMX_FREE(pComponentPrivate->sAPP1.pMarkerBuffer); in JPEGENC_SetConfig()
1415 memcpy (&pComponentPrivate->sAPP1, pMarkerInfo, sizeof(JPEG_APPTHUMB_MARKER)); in JPEGENC_SetConfig()
1416 OMX_MEMCPY_CHECK(&pComponentPrivate->sAPP1); in JPEGENC_SetConfig()
1418 OMX_MALLOC(pComponentPrivate->sAPP1.pMarkerBuffer, pMarkerInfo->nMarkerSize); in JPEGENC_SetConfig()
1419 …memcpy (pComponentPrivate->sAPP1.pMarkerBuffer, pMarkerInfo->pMarkerBuffer, pMarkerInfo->nMarkerSi… in JPEGENC_SetConfig()
1420 OMX_MEMCPY_CHECK(pComponentPrivate->sAPP1.pMarkerBuffer); in JPEGENC_SetConfig()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/inc/
DOMX_JpegEnc_Utils.h432 JPEG_APPTHUMB_MARKER sAPP1; member