Home
last modified time | relevance | path

Searched refs:frame_num (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/media/v4l2-core/
H A Dv4l2-h264.c40 cur_frame_num = dec_params->frame_num; in v4l2_h264_init_reflist_builder()
68 if (!b->refs[i].longterm && dpb[i].frame_num > cur_frame_num) in v4l2_h264_init_reflist_builder()
69 b->refs[i].frame_num = (int)dpb[i].frame_num - in v4l2_h264_init_reflist_builder()
72 b->refs[i].frame_num = dpb[i].frame_num; in v4l2_h264_init_reflist_builder()
155 return builder->refs[idxb].frame_num < in v4l2_h264_p_ref_list_cmp()
156 builder->refs[idxa].frame_num ? in v4l2_h264_p_ref_list_cmp()
159 return builder->refs[idxa].frame_num < builder->refs[idxb].frame_num ? in v4l2_h264_p_ref_list_cmp()
187 return builder->refs[idxa].frame_num < in v4l2_h264_b0_ref_list_cmp()
188 builder->refs[idxb].frame_num ? in v4l2_h264_b0_ref_list_cmp()
232 return builder->refs[idxa].frame_num < in v4l2_h264_b1_ref_list_cmp()
[all …]
/linux/drivers/media/platform/st/sti/hva/
H A Dhva-h264.c283 u32 frame_num; member
418 int frame_num, in hva_h264_fill_slice_header() argument
435 int idr_pic_id = frame_num % 2; in hva_h264_fill_slice_header()
437 u32 frame_order = frame_num % ctrls->gop_size; in hva_h264_fill_slice_header()
439 if (!(frame_num % ctrls->gop_size)) in hva_h264_fill_slice_header()
456 if ((frame_num / ctrls->gop_size) % 2) { in hva_h264_fill_slice_header()
602 u32 frame_num = pctx->stream_num; in hva_h264_prepare_task() local
637 td->first_picture_in_sequence = (!frame_num) ? 1 : 0; in hva_h264_prepare_task()
785 if (frame_num % 2) { in hva_h264_prepare_task()
816 if (!(frame_num % ctrls->gop_size)) { in hva_h264_prepare_task()
[all …]
H A Dhva.h259 u32 frame_num; member
/linux/tools/testing/selftests/net/
H A Dpsock_tpacket.c225 unsigned int frame_num = 0; in walk_v1_v2_rx() local
239 while (__v1_v2_rx_kernel_ready(ring->rd[frame_num].iov_base, in walk_v1_v2_rx()
241 ppd.raw = ring->rd[frame_num].iov_base; in walk_v1_v2_rx()
262 frame_num = (frame_num + 1) % ring->rd_num; in walk_v1_v2_rx()
376 unsigned int frame_num = 0, got = 0; in walk_tx() local
419 void *next = get_next_frame(ring, frame_num); in walk_tx()
465 frame_num = (frame_num + 1) % nframes; in walk_tx()
/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dh264.c206 trace_vde_ref_l0(dpb_frames[0].frame_num); in tegra_vde_setup_iram_tables()
217 value |= frame->frame_num; in tegra_vde_setup_iram_tables()
247 value |= frame->frame_num; in tegra_vde_setup_iram_tables()
260 value |= frame->frame_num; in tegra_vde_setup_iram_tables()
704 int err, frame_num; in tegra_vde_h264_setup_frame() local
730 frame_num = h->decode_params->frame_num; in tegra_vde_h264_setup_frame()
735 frame_num = b->refs[ref_id].frame_num; in tegra_vde_h264_setup_frame()
746 vde->frames[id].frame_num = frame_num & 0x7fffff; in tegra_vde_h264_setup_frame()
H A Dvde.h61 u32 frame_num; member
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_common.c165 dst_param->frame_num = dec_param->frame_num; in mtk_vdec_h264_copy_slice_hd_params()
209 dst_entry->frame_num = src_entry->frame_num; in mtk_vdec_h264_copy_decode_params()
H A Dvdec_h264_req_common.h96 unsigned int frame_num; member
126 unsigned short frame_num; member
/linux/include/media/
H A Dv4l2-h264.h37 int frame_num; member
/linux/drivers/staging/media/meson/vdec/
H A Dcodec_h264.c363 static u32 get_offset_msb(struct amvdec_core *core, int frame_num) in get_offset_msb() argument
365 int take_msb = frame_num % 2; in get_offset_msb()
366 int reg_offset = (frame_num / 2) * 4; in get_offset_msb()
/linux/drivers/usb/host/
H A Dfhci.h179 __be16 frame_num; /* Frame number */ member
418 u16 frame_num; /* frame number */ member
448 return in_be16(&fhci->pram->frame_num) & 0x07ff; in get_frame_num()
/linux/drivers/media/platform/ti/cal/
H A Dcal.c605 u16 prev_frame_num, frame_num; in cal_update_seq_number() local
608 frame_num = in cal_update_seq_number()
612 if (phy->vc_frame_number[vc] != frame_num) { in cal_update_seq_number()
615 if (prev_frame_num >= frame_num) in cal_update_seq_number()
618 phy->vc_sequence[vc] += frame_num - prev_frame_num; in cal_update_seq_number()
620 phy->vc_frame_number[vc] = frame_num; in cal_update_seq_number()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_rogue_fwif_shared.h77 u32 frame_num; member
H A Dpvr_rogue_fwif_shared_check.h100 OFFSET_CHECK(struct rogue_fwif_cmd_common, frame_num, 0);
H A Dpvr_rogue_fwif_check.h112 OFFSET_CHECK(struct rogue_hwrinfo, frame_num, 48);
/linux/drivers/media/test-drivers/visl/
H A Dvisl-trace-h264.h251 __entry->d.frame_num,
282 __entry->e.frame_num,
/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_core.h84 u32 frame_num; member
H A Dmtk_jpeg_enc_hw.c219 if (tmp_dst_done_buf->frame_num == in mtk_jpegenc_put_buf()
/linux/drivers/media/pci/zoran/
H A Dzoran.h282 unsigned long frame_num; member
H A Dzoran_device.c564 zr->frame_num = 0; in jpeg_start()
884 zr->frame_num++; in zoran_irq()
/linux/drivers/media/platform/st/sti/delta/
H A Ddelta.h441 u32 frame_num; member
/linux/drivers/media/platform/verisilicon/
H A Dhantro_g1_h264_dec.c75 G1_REG_DEC_CTRL4_FRAMENUM(dec_param->frame_num) | in set_params()
H A Dhantro_h264.c394 return dpb->frame_num; in hantro_h264_get_ref_nbr()
H A Drockchip_vpu2_hw_h264_dec.c274 VDPU_REG_FRAMENUM(dec_param->frame_num); in set_params()
/linux/drivers/media/pci/intel/ipu3/
H A Dipu3-cio2.h432 u16 frame_num; /* updated by DMA upon FE */ member

12