Home
last modified time | relevance | path

Searched refs:nal_len (Results 1 – 13 of 13) sorted by relevance

/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dhevc_utils.cpp138 uint32 nal_len = buffer_length; in isNewFrame() local
162 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()
Dframeparser.cpp133 int frame_parse::init_nal_length (unsigned int nal_len) in init_nal_length() argument
135 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()
Dh264_utils.cpp248 uint32 nal_len = buffer_length; in extract_rbsp() local
272 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()
/hardware/qcom/sm8150/media/libarbitrarybytes/src/
Dhevc_utils.cpp136 uint32 nal_len = buffer_length; in isNewFrame() local
160 nal_len = 0; in isNewFrame()
163 nal_len |= buffer[pos++]<<(size_of_nal_length_field<<3); in isNewFrame()
166 if (nal_len >= buffer_length) { in isNewFrame()
172 if (nal_len > buffer_length) { in isNewFrame()
177 if (pos + 2 > (nal_len + sizeofNalLengthField)) { in isNewFrame()
Dframeparser.cpp94 int frame_parse::init_nal_length (unsigned int nal_len) in init_nal_length() argument
96 if (nal_len == 0 || nal_len > 4 || state_nal != NAL_LENGTH_ACC) { in init_nal_length()
100 nal_length = nal_len; in init_nal_length()
Dh264_utils.cpp240 uint32 nal_len = buffer_length; in extract_rbsp() local
264 nal_len = 0; in extract_rbsp()
266 nal_len |= buffer[pos++]<<(size_of_nal_length_field<<3); in extract_rbsp()
268 if (nal_len >= buffer_length) { in extract_rbsp()
274 if (nal_len > buffer_length) { in extract_rbsp()
278 if (pos + 1 > (nal_len + sizeofNalLengthField)) { in extract_rbsp()
294 return (nal_len + sizeofNalLengthField); in extract_rbsp()
297 while (pos < (nal_len+sizeofNalLengthField)) { //similar to for in p-42 in extract_rbsp()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dhevc_utils.cpp138 uint32 nal_len = buffer_length; in isNewFrame() local
162 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()
Dframeparser.cpp133 int frame_parse::init_nal_length (unsigned int nal_len) in init_nal_length() argument
135 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()
Dh264_utils.cpp248 uint32 nal_len = buffer_length; in extract_rbsp() local
272 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()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dframeparser.cpp133 int frame_parse::init_nal_length (unsigned int nal_len) in init_nal_length() argument
135 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()
Dh264_utils.cpp248 uint32 nal_len = buffer_length; in extract_rbsp() local
272 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()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dframeparser.cpp133 int frame_parse::init_nal_length (unsigned int nal_len) in init_nal_length() argument
135 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()
Dh264_utils.cpp258 uint32 nal_len = buffer_length; in extract_rbsp() local
285 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()