Searched refs:sAPP0 (Results 1 – 4 of 4) sorted by relevance
2214 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 …]
654 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()
845 JPEG_APPTHUMB_MARKER sAPP0; in SetMarkers() local847 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()
431 JPEG_APPTHUMB_MARKER sAPP0; member