/linux-6.3-rc2/drivers/media/v4l2-core/ |
A D | v4l2-h264.c | 40 cur_frame_num = dec_params->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() 317 int frame_num = builder->refs[reflist[i].index].frame_num; in format_ref_list_p() local 354 int frame_num = builder->refs[reflist[i].index].frame_num; in format_ref_list_b() local [all …]
|
/linux-6.3-rc2/drivers/media/platform/nvidia/tegra-vde/ |
A D | trace.h | 62 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)
|
A D | h264.c | 23 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()
|
A D | vde.h | 62 u32 frame_num; member
|
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/ |
A D | sh_css_sp.h | 90 unsigned int frame_num, 102 unsigned int frame_num, 113 unsigned int frame_num,
|
A D | sh_css_sp.c | 1410 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.3-rc2/drivers/media/platform/st/sti/hva/ |
A D | hva-h264.c | 283 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 …]
|
A D | hva.h | 259 u32 frame_num; member
|
/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | psock_tpacket.c | 225 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.3-rc2/drivers/media/platform/mediatek/vcodec/vdec/ |
A D | vdec_h264_req_common.c | 165 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()
|
A D | vdec_h264_req_common.h | 96 unsigned int frame_num; member 126 unsigned short frame_num; member
|
/linux-6.3-rc2/drivers/usb/host/ |
A D | fhci-sched.c | 68 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()
|
A D | fhci.h | 179 __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()
|
A D | fhci-hcd.c | 39 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.3-rc2/include/media/ |
A D | v4l2-h264.h | 37 int frame_num; member
|
/linux-6.3-rc2/drivers/staging/media/meson/vdec/ |
A D | codec_h264.c | 363 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.3-rc2/drivers/media/platform/ti/cal/ |
A D | cal.c | 635 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.3-rc2/drivers/media/test-drivers/visl/ |
A D | visl-trace-h264.h | 251 __entry->d.frame_num, 282 __entry->e.frame_num,
|
/linux-6.3-rc2/drivers/media/platform/mediatek/jpeg/ |
A D | mtk_jpeg_core.h | 80 u32 frame_num; member
|
/linux-6.3-rc2/drivers/media/pci/zoran/ |
A D | zoran.h | 282 unsigned long frame_num; member
|
A D | zoran_device.c | 564 zr->frame_num = 0; in jpeg_start() 884 zr->frame_num++; in zoran_irq()
|
/linux-6.3-rc2/drivers/media/platform/st/sti/delta/ |
A D | delta.h | 441 u32 frame_num; member
|
/linux-6.3-rc2/drivers/media/platform/verisilicon/ |
A D | hantro_g1_h264_dec.c | 75 G1_REG_DEC_CTRL4_FRAMENUM(dec_param->frame_num) | in set_params()
|
A D | hantro_h264.c | 394 return dpb->frame_num; in hantro_h264_get_ref_nbr()
|
/linux-6.3-rc2/drivers/media/pci/intel/ipu3/ |
A D | ipu3-cio2.h | 436 u16 frame_num; /* updated by DMA upon FE */ member
|