Searched refs:nal_start_idx (Results 1 – 2 of 2) sorted by relevance
334 int nal_start_idx = 0; in vdec_h264_decode() local354 nal_start_idx = find_start_code(buf, buf_sz); in vdec_h264_decode()355 if (nal_start_idx < 0) { in vdec_h264_decode()361 nal_start = buf[nal_start_idx]; in vdec_h264_decode()362 nal_type = NAL_TYPE(buf[nal_start_idx]); in vdec_h264_decode()367 buf_sz -= nal_start_idx; in vdec_h264_decode()372 memcpy(inst->vsi->hdr_buf, buf + nal_start_idx, buf_sz); in vdec_h264_decode()
866 int nal_start_idx, err, timeout = 0, i; in vdec_h264_slice_lat_decode() local896 nal_start_idx = mtk_vdec_h264_find_start_code(buf, bs->size); in vdec_h264_slice_lat_decode()897 if (nal_start_idx < 0) { in vdec_h264_slice_lat_decode()902 inst->vsi->dec.nal_info = buf[nal_start_idx]; in vdec_h264_slice_lat_decode()1112 int err, nal_start_idx; in vdec_h264_slice_single_decode() local1149 nal_start_idx = mtk_vdec_h264_find_start_code(buf, bs->size); in vdec_h264_slice_single_decode()1150 if (nal_start_idx < 0) { in vdec_h264_slice_single_decode()1154 inst->vsi_ctx.dec.nal_info = buf[nal_start_idx]; in vdec_h264_slice_single_decode()