Home
last modified time | relevance | path

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

/Linux-v4.19/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.c824 frame->vbuf.sequence = ctx->frame_num++; in hva_run_work()
1076 ctx->frame_num = 0; in hva_stop_streaming()
/Linux-v4.19/tools/testing/selftests/net/
Dpsock_tpacket.c239 unsigned int frame_num = 0; in walk_v1_v2_rx() local
253 while (__v1_v2_rx_kernel_ready(ring->rd[frame_num].iov_base, in walk_v1_v2_rx()
255 ppd.raw = ring->rd[frame_num].iov_base; in walk_v1_v2_rx()
276 frame_num = (frame_num + 1) % ring->rd_num; in walk_v1_v2_rx()
390 unsigned int frame_num = 0, got = 0; in walk_tx() local
433 void *next = get_next_frame(ring, frame_num); in walk_tx()
479 frame_num = (frame_num + 1) % nframes; in walk_tx()
/Linux-v4.19/drivers/staging/media/tegra-vde/
Dtegra-vde.c59 u32 frame_num; member
249 dpb_frames[0].frame_num); in tegra_vde_setup_iram_tables()
262 value |= frame->frame_num; in tegra_vde_setup_iram_tables()
266 i + 1, frame->frame_num, in tegra_vde_setup_iram_tables()
299 value |= frame->frame_num; in tegra_vde_setup_iram_tables()
303 k + 1, frame->frame_num); in tegra_vde_setup_iram_tables()
316 value |= frame->frame_num; in tegra_vde_setup_iram_tables()
320 k + 1, frame->frame_num); in tegra_vde_setup_iram_tables()
687 if (frame->frame_num > 0x7FFFFF) { in tegra_vde_validate_frame()
688 dev_err(dev, "Bad frame_num %u\n", frame->frame_num); in tegra_vde_validate_frame()
[all …]
Duapi.h28 __u32 frame_num; member
/Linux-v4.19/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()
/Linux-v4.19/drivers/media/usb/usbvision/
Dusbvision.h285 unsigned char frame_num; /* 3 */ member
452 int frame_num; /* How many video frames we send to user */ member
Dusbvision-core.c429 frame->isoc_header.frame_num, in usbvision_find_header()
464 if (((usbvision->last_isoc_frame_num + 1) % 32) != frame->isoc_header.frame_num) { in usbvision_find_header()
466 PDEBUG(DBG_HEADER, "Lost frame before %d on USB", frame->isoc_header.frame_num); in usbvision_find_header()
471 usbvision->last_isoc_frame_num = frame->isoc_header.frame_num; in usbvision_find_header()
1164 frame->sequence = usbvision->frame_num; in usbvision_parse_data()
1171 usbvision->frame_num++; in usbvision_parse_data()
/Linux-v4.19/drivers/staging/media/zoran/
Dzoran_device.c901 zr->frame_num = 0; in jpeg_start()
1452 if (zr36067_debug > 1 && (!zr->frame_num || zr->JPEG_error)) { in zoran_irq()
1481 if (zr36067_debug > 2 && zr->frame_num < 6) { in zoran_irq()
1492 zr->frame_num++; in zoran_irq()
1506 (zr->frame_num && (zr->JPEG_missed > zr->jpg_settings.field_per_buff)))) { in zoran_irq()
Dzoran.h383 unsigned long frame_num; member
/Linux-v4.19/drivers/media/platform/sti/delta/
Ddelta.h441 u32 frame_num; member
Ddelta-v4l2.c110 vbuf->sequence = ctx->frame_num++; in delta_frame_done()
1553 ctx->frame_num = 0; in delta_vb2_frame_stop_streaming()
/Linux-v4.19/drivers/media/pci/intel/ipu3/
Dipu3-cio2.h413 u16 frame_num; /* updated by DMA upon FE */ member