Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/media/v4l2-core/
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-6.1.9/drivers/media/platform/nvidia/tegra-vde/
Dtrace.h62 TP_PROTO(unsigned int frame_num),
63 TP_ARGS(frame_num),
65 __field(unsigned int, frame_num)
68 __entry->frame_num = frame_num;
70 TP_printk("REF L0: DPB: Frame 0: frame_num = %u", __entry->frame_num)
Dh264.c23 unsigned int frame_num; member
211 trace_vde_ref_l0(dpb_frames[0].frame_num); in tegra_vde_setup_iram_tables()
222 value |= frame->frame_num; in tegra_vde_setup_iram_tables()
252 value |= frame->frame_num; in tegra_vde_setup_iram_tables()
265 value |= frame->frame_num; in tegra_vde_setup_iram_tables()
709 int err, frame_num; in tegra_vde_h264_setup_frame() local
735 frame_num = h->decode_params->frame_num; in tegra_vde_h264_setup_frame()
740 frame_num = b->refs[ref_id].frame_num; in tegra_vde_h264_setup_frame()
751 vde->frames[id].frame_num = frame_num & 0x7fffff; in tegra_vde_h264_setup_frame()
Dvde.h62 u32 frame_num; member
/linux-6.1.9/drivers/staging/media/atomisp/pci/
Dsh_css_sp.h90 unsigned int frame_num,
102 unsigned int frame_num,
113 unsigned int frame_num,
Dsh_css_sp.c1410 unsigned int frame_num, in sh_css_update_host2sp_offline_frame() argument
1417 assert(frame_num < NUM_CONTINUOUS_FRAMES); in sh_css_update_host2sp_offline_frame()
1424 offset += frame_num; in sh_css_update_host2sp_offline_frame()
1431 offset += frame_num; in sh_css_update_host2sp_offline_frame()
1441 unsigned int frame_num, in sh_css_update_host2sp_mipi_frame() argument
1448 assert(frame_num < (N_CSI_PORTS * NUM_MIPI_FRAMES_PER_STREAM)); in sh_css_update_host2sp_mipi_frame()
1455 offset += frame_num; in sh_css_update_host2sp_mipi_frame()
1467 unsigned int frame_num, in sh_css_update_host2sp_mipi_metadata() argument
1474 assert(frame_num < (N_CSI_PORTS * NUM_MIPI_FRAMES_PER_STREAM)); in sh_css_update_host2sp_mipi_metadata()
1480 o += frame_num; in sh_css_update_host2sp_mipi_metadata()
/linux-6.1.9/drivers/media/platform/st/sti/hva/
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 …]
Dhva.h259 u32 frame_num; member
/linux-6.1.9/tools/testing/selftests/net/
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-6.1.9/drivers/media/platform/mediatek/vcodec/vdec/
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()
Dvdec_h264_req_common.h96 unsigned int frame_num; member
126 unsigned short frame_num; member
/linux-6.1.9/drivers/usb/host/
Dfhci-sched.c68 td_next->start_frame = usb->actual_frame->frame_num; in fhci_transaction_confirm()
304 (((usb->actual_frame->frame_num - in scan_ed_list()
312 td->start_frame = usb->actual_frame->frame_num; in scan_ed_list()
340 if ((((in_be16(&fhci->pram->frame_num) & 0x07ff) - in rotate_frames()
341 usb->actual_frame->frame_num) & 0x7ff) > 5) in rotate_frames()
348 usb->actual_frame->frame_num = in_be16(&fhci->pram->frame_num) & 0x7ff; in rotate_frames()
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()
Dfhci-hcd.c39 out_be16(&fhci->pram->frame_num, 0); in fhci_start_sof_timer()
275 out_be16(&fhci->pram->frame_num, 0); in fhci_usb_init()
/linux-6.1.9/include/media/
Dv4l2-h264.h37 int frame_num; member
/linux-6.1.9/drivers/staging/media/meson/vdec/
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-6.1.9/drivers/media/platform/ti/cal/
Dcal.c635 u16 prev_frame_num, frame_num; in cal_update_seq_number() local
638 frame_num = in cal_update_seq_number()
642 if (phy->vc_frame_number[vc] != frame_num) { in cal_update_seq_number()
645 if (prev_frame_num >= frame_num) in cal_update_seq_number()
648 phy->vc_sequence[vc] += frame_num - prev_frame_num; in cal_update_seq_number()
650 phy->vc_frame_number[vc] = frame_num; in cal_update_seq_number()
/linux-6.1.9/drivers/media/pci/zoran/
Dzoran.h282 unsigned long frame_num; member
Dzoran_device.c564 zr->frame_num = 0; in jpeg_start()
884 zr->frame_num++; in zoran_irq()
/linux-6.1.9/drivers/media/platform/st/sti/delta/
Ddelta.h441 u32 frame_num; member
/linux-6.1.9/drivers/media/platform/verisilicon/
Dhantro_g1_h264_dec.c75 G1_REG_DEC_CTRL4_FRAMENUM(dec_param->frame_num) | in set_params()
Dhantro_h264.c394 return dpb->frame_num; in hantro_h264_get_ref_nbr()
/linux-6.1.9/drivers/media/pci/intel/ipu3/
Dipu3-cio2.h436 u16 frame_num; /* updated by DMA upon FE */ member
/linux-6.1.9/drivers/staging/fieldbus/anybuss/
Dhost.c226 __be16 frame_num; member
836 h->frame_num = cpu_to_be16(1); in _anybus_mbox_cmd()
/linux-6.1.9/include/uapi/linux/
Dv4l2-controls.h1572 __u16 frame_num; member
1611 __u16 frame_num; member

12