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()
571 int nal_start_idx, err, timeout = 0, i; in vdec_h264_slice_lat_decode() local601 nal_start_idx = mtk_vdec_h264_find_start_code(buf, bs->size); in vdec_h264_slice_lat_decode()602 if (nal_start_idx < 0) { in vdec_h264_slice_lat_decode()607 inst->vsi->dec.nal_info = buf[nal_start_idx]; in vdec_h264_slice_lat_decode()720 int err, nal_start_idx; in vdec_h264_slice_single_decode() local753 nal_start_idx = mtk_vdec_h264_find_start_code(buf, bs->size); in vdec_h264_slice_single_decode()754 if (nal_start_idx < 0) { in vdec_h264_slice_single_decode()758 inst->vsi_ctx.dec.nal_info = buf[nal_start_idx]; in vdec_h264_slice_single_decode()