/linux/drivers/media/v4l2-core/ |
H A D | v4l2-h264.c | 40 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 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 …]
|
H A D | hva.h | 259 u32 frame_num; member
|
/linux/tools/testing/selftests/net/ |
H 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/drivers/media/platform/nvidia/tegra-vde/ |
H A D | h264.c | 206 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 D | vde.h | 61 u32 frame_num; member
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H 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()
|
H A D | vdec_h264_req_common.h | 96 unsigned int frame_num; member 126 unsigned short frame_num; member
|
/linux/include/media/ |
H A D | v4l2-h264.h | 37 int frame_num; member
|
/linux/drivers/staging/media/meson/vdec/ |
H 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/drivers/usb/host/ |
H 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()
|
/linux/drivers/media/platform/ti/cal/ |
H A D | cal.c | 605 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 D | pvr_rogue_fwif_shared.h | 77 u32 frame_num; member
|
H A D | pvr_rogue_fwif_shared_check.h | 100 OFFSET_CHECK(struct rogue_fwif_cmd_common, frame_num, 0);
|
H A D | pvr_rogue_fwif_check.h | 112 OFFSET_CHECK(struct rogue_hwrinfo, frame_num, 48);
|
/linux/drivers/media/test-drivers/visl/ |
H A D | visl-trace-h264.h | 251 __entry->d.frame_num, 282 __entry->e.frame_num,
|
/linux/drivers/media/platform/mediatek/jpeg/ |
H A D | mtk_jpeg_core.h | 84 u32 frame_num; member
|
H A D | mtk_jpeg_enc_hw.c | 219 if (tmp_dst_done_buf->frame_num == in mtk_jpegenc_put_buf()
|
/linux/drivers/media/pci/zoran/ |
H A D | zoran.h | 282 unsigned long frame_num; member
|
H A D | zoran_device.c | 564 zr->frame_num = 0; in jpeg_start() 884 zr->frame_num++; in zoran_irq()
|
/linux/drivers/media/platform/st/sti/delta/ |
H A D | delta.h | 441 u32 frame_num; member
|
/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_g1_h264_dec.c | 75 G1_REG_DEC_CTRL4_FRAMENUM(dec_param->frame_num) | in set_params()
|
H A D | hantro_h264.c | 394 return dpb->frame_num; in hantro_h264_get_ref_nbr()
|
H A D | rockchip_vpu2_hw_h264_dec.c | 274 VDPU_REG_FRAMENUM(dec_param->frame_num); in set_params()
|
/linux/drivers/media/pci/intel/ipu3/ |
H A D | ipu3-cio2.h | 432 u16 frame_num; /* updated by DMA upon FE */ member
|