Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/media/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)
Dvde.c49 u32 frame_num; member
238 trace_vde_ref_l0(dpb_frames[0].frame_num); in tegra_vde_setup_iram_tables()
249 value |= frame->frame_num; in tegra_vde_setup_iram_tables()
279 value |= frame->frame_num; in tegra_vde_setup_iram_tables()
292 value |= frame->frame_num; in tegra_vde_setup_iram_tables()
615 if (frame->frame_num > 0x7FFFFF) { in tegra_vde_validate_frame()
616 dev_err(dev, "Bad frame_num %u\n", frame->frame_num); in tegra_vde_validate_frame()
762 dpb_frames[i].frame_num = frames[i].frame_num; in tegra_vde_ioctl_decode_h264()
Duapi.h21 __u32 frame_num; member
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-h264.c34 cur_frame_num = dec_params->frame_num; in v4l2_h264_init_reflist_builder()
61 if (dpb[i].frame_num > cur_frame_num) in v4l2_h264_init_reflist_builder()
62 b->refs[i].frame_num = (int)dpb[i].frame_num - in v4l2_h264_init_reflist_builder()
65 b->refs[i].frame_num = dpb[i].frame_num; in v4l2_h264_init_reflist_builder()
111 return builder->refs[idxb].frame_num < in v4l2_h264_p_ref_list_cmp()
112 builder->refs[idxa].frame_num ? in v4l2_h264_p_ref_list_cmp()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dsh_css_sp.h95 unsigned int frame_num,
107 unsigned int frame_num,
118 unsigned int frame_num,
Dsh_css_sp.c1443 unsigned int frame_num, in sh_css_update_host2sp_offline_frame() argument
1450 assert(frame_num < NUM_CONTINUOUS_FRAMES); in sh_css_update_host2sp_offline_frame()
1457 offset += frame_num; in sh_css_update_host2sp_offline_frame()
1464 offset += frame_num; in sh_css_update_host2sp_offline_frame()
1474 unsigned int frame_num, in sh_css_update_host2sp_mipi_frame() argument
1481 assert(frame_num < (N_CSI_PORTS * NUM_MIPI_FRAMES_PER_STREAM)); in sh_css_update_host2sp_mipi_frame()
1488 offset += frame_num; in sh_css_update_host2sp_mipi_frame()
1500 unsigned int frame_num, in sh_css_update_host2sp_mipi_metadata() argument
1507 assert(frame_num < (N_CSI_PORTS * NUM_MIPI_FRAMES_PER_STREAM)); in sh_css_update_host2sp_mipi_metadata()
1513 o += frame_num; in sh_css_update_host2sp_mipi_metadata()
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
Dhva-h264.c283 u32 frame_num; member
418 int frame_num, in hva_h264_fill_slice_header() argument
433 int idr_pic_id = frame_num % 2; in hva_h264_fill_slice_header()
435 u32 frame_order = frame_num % ctrls->gop_size; in hva_h264_fill_slice_header()
437 if (!(frame_num % ctrls->gop_size)) in hva_h264_fill_slice_header()
454 if ((frame_num / ctrls->gop_size) % 2) { in hva_h264_fill_slice_header()
600 u32 frame_num = pctx->stream_num; in hva_h264_prepare_task() local
635 td->first_picture_in_sequence = (!frame_num) ? 1 : 0; in hva_h264_prepare_task()
783 if (frame_num % 2) { in hva_h264_prepare_task()
814 if (!(frame_num % ctrls->gop_size)) { in hva_h264_prepare_task()
[all …]
Dhva.h259 u32 frame_num; member
Dhva-v4l2.c826 frame->vbuf.sequence = ctx->frame_num++; in hva_run_work()
1078 ctx->frame_num = 0; in hva_stop_streaming()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/media/
Dh264-ctrls.h197 __u16 frame_num; member
213 __u16 frame_num; member
Dv4l2-h264.h35 int frame_num; member
/kernel/linux/linux-5.10/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.h178 __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()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_g1_h264_dec.c76 G1_REG_DEC_CTRL4_FRAMENUM(dec_param->frame_num) | in set_params()
164 reg |= G1_REG_REF_PIC_REFER0_NBR(dpb[i].frame_num); in set_ref()
169 reg |= G1_REG_REF_PIC_REFER1_NBR(dpb[i + 1].frame_num); in set_ref()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/media/rkvdec/
Drkvdec-h264.c755 dpb[i].frame_num < dec_params->frame_num) { in assemble_hw_rps()
756 p[i] = dpb[i].frame_num; in assemble_hw_rps()
760 p[i] = dpb[i].frame_num - max_frame_num; in assemble_hw_rps()
/kernel/linux/linux-5.10/drivers/staging/media/zoran/
Dzoran.h288 unsigned long frame_num; member
Dzoran_device.c626 zr->frame_num = 0; in jpeg_start()
941 zr->frame_num++; in zoran_irq()
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/
Ddelta.h441 u32 frame_num; member
Ddelta-v4l2.c110 vbuf->sequence = ctx->frame_num++; in delta_frame_done()
1555 ctx->frame_num = 0; in delta_vb2_frame_stop_streaming()
/kernel/linux/linux-5.10/drivers/media/pci/intel/ipu3/
Dipu3-cio2.h414 u16 frame_num; /* updated by DMA upon FE */ member
/kernel/linux/linux-5.10/drivers/staging/fieldbus/anybuss/
Dhost.c226 __be16 frame_num; member
836 h->frame_num = cpu_to_be16(1); in _anybus_mbox_cmd()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dext-ctrls-codec.rst1998 - ``frame_num``
2080 - ``frame_num``