Searched refs:nal_len (Results 1 – 6 of 6) sorted by relevance
138 uint32 nal_len = buffer_length; in isNewFrame() local162 nal_len = 0; in isNewFrame()165 nal_len |= buffer[pos++]<<(size_of_nal_length_field<<3); in isNewFrame()168 if (nal_len >= buffer_length) { in isNewFrame()174 if (nal_len > buffer_length) { in isNewFrame()179 if (pos + 2 > (nal_len + sizeofNalLengthField)) { in isNewFrame()
133 int frame_parse::init_nal_length (unsigned int nal_len) in init_nal_length() argument135 if (nal_len == 0 || nal_len > 4 || state_nal != NAL_LENGTH_ACC) { in init_nal_length()139 nal_length = nal_len; in init_nal_length()
248 uint32 nal_len = buffer_length; in extract_rbsp() local272 nal_len = 0; in extract_rbsp()274 nal_len |= buffer[pos++]<<(size_of_nal_length_field<<3); in extract_rbsp()276 if (nal_len >= buffer_length) { in extract_rbsp()282 if (nal_len > buffer_length) { in extract_rbsp()286 if (pos + 1 > (nal_len + sizeofNalLengthField)) { in extract_rbsp()302 return (nal_len + sizeofNalLengthField); in extract_rbsp()305 while (pos < (nal_len+sizeofNalLengthField)) { //similar to for in p-42 in extract_rbsp()
133 int frame_parse::init_nal_length (unsigned int nal_len) in init_nal_length() argument135 if (nal_len == 0 || nal_len > 4 || state_nal != NAL_LENGTH_ACC) in init_nal_length()139 nal_length = nal_len; in init_nal_length()
258 uint32 nal_len = buffer_length; in extract_rbsp() local285 nal_len = 0; in extract_rbsp()288 nal_len |= buffer[pos++]<<(size_of_nal_length_field<<3); in extract_rbsp()290 if (nal_len >= buffer_length) in extract_rbsp()297 if (nal_len > buffer_length) in extract_rbsp()302 if(pos + 1 > (nal_len + sizeofNalLengthField)) in extract_rbsp()320 return (nal_len + sizeofNalLengthField); in extract_rbsp()323 while (pos < (nal_len+sizeofNalLengthField)) //similar to for in p-42 in extract_rbsp()
5647 OMX_U32 nal_len, i; local5661 nal_len = (OMX_U32)pDataBuf[length_pos];5664 nal_len = (OMX_U32)pDataBuf[length_pos];5668 … nal_len = (OMX_U32)pDataBuf[length_pos] << 8 | pDataBuf[length_pos+1];5671 … nal_len = (OMX_U32)pDataBuf[length_pos] << 0 | pDataBuf[length_pos+1] << 8 ;5675 …nal_len = (OMX_U32)pDataBuf[length_pos]<<24 | pDataBuf[length_pos+1] << 16 | pDataBuf[length_pos+2…5678 …nal_len = (OMX_U32)pDataBuf[length_pos]<<0 | pDataBuf[length_pos+1] << 8 | pDataBuf[length_pos+2] …5686 if (nal_len > buf_len - length_pos) {5691 for (i=0; i<nal_len; i++)5693 data_pos += nal_len;[all …]