Home
last modified time | relevance | path

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

/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Ddecoder_driver_test.c48 static unsigned int read_frame ( unsigned char *dataptr,unsigned int length,
51 static int Read_Buffer_From_DAT_File( unsigned char *dataptr, unsigned int length,
1001 static unsigned int read_frame (unsigned char *dataptr, unsigned int length, in read_frame() argument
1012 if (dataptr == NULL || length == 0) { in read_frame()
1013 DEBUG_PRINT ("\n dataptr = %p length = %u",dataptr,length); in read_frame()
1023 bytes_read = fread(&dataptr[readOffset],1, 1,inputBufferFile); in read_frame()
1031 code |= (0x000000FF & dataptr[readOffset]); in read_frame()
1076 readOffset = Read_Buffer_From_DAT_File(dataptr,length,inputBufferFile); in read_frame()
1079 bytes_read = Read_Buffer_From_DAT_File(&dataptr[readOffset], in read_frame()
1090 static int Read_Buffer_From_DAT_File(unsigned char *dataptr, unsigned int length, in Read_Buffer_From_DAT_File() argument
[all …]
Domx_vdec_test.cpp2880 char *dataptr = (char *)pBufHdr->pBuffer; in Read_Buffer_From_H264_Start_Code_File() local
2884 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); in Read_Buffer_From_H264_Start_Code_File()
2890 code |= (0x000000FF & dataptr[cnt]); in Read_Buffer_From_H264_Start_Code_File()
2899 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); in Read_Buffer_From_H264_Start_Code_File()
2904 DEBUG_PRINT("%s: READ Byte[%d] = 0x%x", __FUNCTION__, cnt, dataptr[cnt]); in Read_Buffer_From_H264_Start_Code_File()
2905 naluType = dataptr[cnt] & 0x1F; in Read_Buffer_From_H264_Start_Code_File()
2909 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); in Read_Buffer_From_H264_Start_Code_File()
2914 DEBUG_PRINT("%s: READ Byte[%d] = 0x%x", __FUNCTION__, cnt, dataptr[cnt]); in Read_Buffer_From_H264_Start_Code_File()
2915 newFrame = (dataptr[cnt] & 0x80); in Read_Buffer_From_H264_Start_Code_File()
2920 …BUG_PRINT("%s: Found a NAL unit (type 0x%x) of size = %d", __FUNCTION__, (dataptr[4] & 0x1F), cnt); in Read_Buffer_From_H264_Start_Code_File()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Ddecoder_driver_test.c48 static unsigned int read_frame ( unsigned char *dataptr,unsigned int length,
51 static int Read_Buffer_From_DAT_File( unsigned char *dataptr, unsigned int length,
1064 static unsigned int read_frame (unsigned char *dataptr, unsigned int length, in read_frame() argument
1075 if (dataptr == NULL || length == 0) in read_frame()
1077 DEBUG_PRINT ("\n dataptr = %p length = %u",dataptr,length); in read_frame()
1088 bytes_read = fread(&dataptr[readOffset],1, 1,inputBufferFile); in read_frame()
1095 code |= (0x000000FF & dataptr[readOffset]); in read_frame()
1148 readOffset = Read_Buffer_From_DAT_File(dataptr,length,inputBufferFile); in read_frame()
1151 bytes_read = Read_Buffer_From_DAT_File(&dataptr[readOffset], in read_frame()
1161 static int Read_Buffer_From_DAT_File(unsigned char *dataptr, unsigned int length, in Read_Buffer_From_DAT_File() argument
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/
Dvideo_encoder_test.c48 static unsigned int read_frame ( unsigned char *dataptr,unsigned int length,
1042 static unsigned int read_frame (unsigned char *dataptr, unsigned int length, in read_frame() argument
1053 if (dataptr == NULL && length == 0) in read_frame()
1055 DEBUG_PRINT ("\n dataptr = %p length = %d",dataptr,(int)length); in read_frame()
1060 bytes_read = fread(&dataptr[readOffset],1,length,inputBufferFile); in read_frame()