Home
last modified time | relevance | path

Searched refs:nal_start_idx (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_if.c334 int nal_start_idx = 0; in vdec_h264_decode() local
354 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()
H A Dvdec_h264_req_multi_if.c571 int nal_start_idx, err, timeout = 0, i; in vdec_h264_slice_lat_decode() local
601 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() local
753 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()