Home
last modified time | relevance | path

Searched refs:sps (Results 1 – 5 of 5) sorted by relevance

/hardware/ti/omap3/omx/ti_omx_config_parser/src/
Dti_m4v_config_parser.cpp804 uint8* sps = NULL; in iGetAVCConfigInfo() local
811 sps = temp; // Make a copy of the original pointer to be freed later in iGetAVCConfigInfo()
813 oscl_memcpy(sps, buffer, length); in iGetAVCConfigInfo()
829 if (sps[0] == 0 && sps[1] == 0) in iGetAVCConfigInfo()
832 while (sps[i++] == 0 && i < length) in iGetAVCConfigInfo()
836 if (sps[i-1] == 1) in iGetAVCConfigInfo()
838 sps += i; in iGetAVCConfigInfo()
842 while (!(sps[sps_length] == 0 && sps[sps_length+1] == 0 && sps[sps_length+2] == 1) && in iGetAVCConfigInfo()
855 pps = sps + sps_length + 3; in iGetAVCConfigInfo()
865 sps_length = (uint16)(sps[1] << 8) | sps[0]; in iGetAVCConfigInfo()
[all …]
/hardware/intel/common/wrs_omxil_core/core/src/
Dintel_m4v_config_parser.cpp789 uint8* sps = NULL; in iGetAVCConfigInfo() local
796 sps = temp; // Make a copy of the original pointer to be freed later in iGetAVCConfigInfo()
798 oscl_memcpy(sps, buffer, length); in iGetAVCConfigInfo()
814 if (sps[0] == 0 && sps[1] == 0) in iGetAVCConfigInfo()
817 while (sps[i++] == 0 && i < length) in iGetAVCConfigInfo()
821 if (sps[i-1] == 1) in iGetAVCConfigInfo()
823 sps += i; in iGetAVCConfigInfo()
827 while (!(sps[sps_length] == 0 && sps[sps_length+1] == 0 && sps[sps_length+2] == 1) && in iGetAVCConfigInfo()
840 pps = sps + sps_length + 3; in iGetAVCConfigInfo()
850 sps_length = (uint16)(sps[1] << 8) | sps[0]; in iGetAVCConfigInfo()
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/
DOMX_VideoEnc_Utils.c1331 if (pComponentPrivate->sps) { in OMX_VIDENC_HandleCommandStateSetIdle()
1332 free(pComponentPrivate->sps); in OMX_VIDENC_HandleCommandStateSetIdle()
1333 pComponentPrivate->sps = NULL; in OMX_VIDENC_HandleCommandStateSetIdle()
2854 pComponentPrivate->sps = malloc(4 + pBufHead->nFilledLen); in OMX_VIDENC_Process_FilledOutBuf()
2856 memcpy(pComponentPrivate->sps, "\x00\x00\x00\x01", 4); in OMX_VIDENC_Process_FilledOutBuf()
2857 … memcpy(pComponentPrivate->sps + 4, pBufHead->pBuffer, pBufHead->nFilledLen); in OMX_VIDENC_Process_FilledOutBuf()
2864 if (pComponentPrivate->sps == NULL || in OMX_VIDENC_Process_FilledOutBuf()
2871 pComponentPrivate->sps, pComponentPrivate->spsLen); in OMX_VIDENC_Process_FilledOutBuf()
2875 free(pComponentPrivate->sps); in OMX_VIDENC_Process_FilledOutBuf()
2876 pComponentPrivate->sps = NULL; in OMX_VIDENC_Process_FilledOutBuf()
DOMX_VideoEncoder.c387 pComponentPrivate->sps = NULL; in OMX_ComponentInit()
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/inc/
DOMX_VideoEnc_Utils.h617 unsigned char *sps; member