Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/media/platform/qcom/venus/
Dvenc_ctrls.c24 static int venc_calc_bpframes(u32 gop_size, u32 conseq_b, u32 *bf, u32 *pf) in venc_calc_bpframes() argument
26 u32 half = (gop_size - 1) >> 1; in venc_calc_bpframes()
30 if (!gop_size) in venc_calc_bpframes()
36 *pf = gop_size - 1; in venc_calc_bpframes()
42 for (; b <= gop_size - 1; b++, p--) { in venc_calc_bpframes()
60 if (b + p + 1 != gop_size) in venc_calc_bpframes()
170 ctr->gop_size = ctrl->val; in venc_op_s_ctrl()
182 ret = venc_calc_bpframes(ctr->gop_size, ctrl->val, &bframes, in venc_op_s_ctrl()
Dcore.h216 u16 gop_size; member
/Linux-v5.10/drivers/media/platform/mtk-vcodec/venc/
Dvenc_h264_if.c89 u32 gop_size; member
343 if ((inst->vsi->config.gop_size != 0 && in h264_frame_type()
344 (inst->frm_cnt % inst->vsi->config.gop_size) == 0) || in h264_frame_type()
345 (inst->frm_cnt == 0 && inst->vsi->config.gop_size == 0)) { in h264_frame_type()
643 inst->vsi->config.gop_size = enc_prm->gop_size; in h264_enc_set_param()
Dvenc_vp8_if.c72 u32 gop_size; member
412 inst->vsi->config.gop_size = enc_prm->gop_size; in vp8_enc_set_param()
/Linux-v5.10/drivers/media/platform/mtk-vcodec/
Dvenc_drv_if.h92 unsigned int gop_size; member
Dmtk_vcodec_enc.c96 p->gop_size = ctrl->val; in vidioc_venc_s_ctrl()
369 param->gop_size = enc_params->gop_size; in mtk_venc_set_param()
378 param->gop_size, param->intra_period); in mtk_venc_set_param()
1000 enc_prm.gop_size = mtk_buf->enc_params.gop_size; in mtk_venc_param_change()
1002 enc_prm.gop_size); in mtk_venc_param_change()
Dmtk_vcodec_drv.h162 unsigned int gop_size; member
Dvenc_vpu_if.c201 out.base.data[0] = enc_param->gop_size; in vpu_enc_set_param()
/Linux-v5.10/drivers/media/test-drivers/vicodec/
Dcodec-v4l2-fwht.h34 unsigned int gop_size; member
Dcodec-v4l2-fwht.c242 state->gop_cnt == state->gop_size - 1, in v4l2_fwht_encode()
248 if (++state->gop_cnt >= state->gop_size) in v4l2_fwht_encode()
/Linux-v5.10/drivers/media/platform/sti/hva/
Dhva-h264.c435 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()
814 if (!(frame_num % ctrls->gop_size)) { in hva_h264_prepare_task()
Dhva.h89 u32 gop_size; member
Dhva-debugfs.c54 ctrls->gop_size, in format_ctx()
/Linux-v5.10/drivers/media/pci/saa7164/
Dsaa7164.h271 u32 gop_size; member
288 u32 gop_size; member
Dsaa7164-encoder.c474 params->gop_size = ctrl->val; in saa7164_s_ctrl()
/Linux-v5.10/drivers/media/usb/go7007/
Dgo7007-priv.h203 int gop_size; member
Dgo7007-v4l2.c104 go->gop_size = 0; in set_formatting()
147 go->gop_size = v4l2_ctrl_g_ctrl(go->mpeg_video_gop_size); in set_formatting()
157 go->gop_size == 15 && in set_formatting()
Dgo7007-fw.c1364 go->ipb ? (go->gop_size / 3) : go->gop_size, in final_package()
Dgo7007-driver.c723 go->gop_size = 0; in go7007_alloc()
/Linux-v5.10/drivers/media/platform/coda/
Dcoda-bit.c710 coda_write(dev, ctx->params.gop_size, in coda_enc_param_change()
712 ctx->gopcounter = ctx->params.gop_size - 1; in coda_enc_param_change()
1214 value = ctx->params.gop_size; in coda_start_encoding()
1502 else if (ctx->params.gop_size != 0 && in coda_prepare_encode()
1503 (src_buf->sequence % ctx->params.gop_size) == 0) in coda_prepare_encode()
1690 ctx->gopcounter = ctx->params.gop_size - 1; in coda_finish_encode()
Dcoda.h124 u8 gop_size; member
Dcoda-common.c2060 ctx->gopcounter = ctx->params.gop_size - 1; in coda_start_streaming()
2063 ctx->params.gop_size = 1; in coda_start_streaming()
2064 ctx->gopcounter = ctx->params.gop_size - 1; in coda_start_streaming()
2196 ctx->params.gop_size = ctrl->val; in coda_s_ctrl()
/Linux-v5.10/drivers/staging/media/allegro-dvt/
Dallegro-core.c208 unsigned int gop_size; member
994 param->freq_idr = channel->gop_size; in fill_create_channel_param()
997 param->gop_length = channel->gop_size; in fill_create_channel_param()
2107 channel->gop_size = ALLEGRO_GOP_SIZE_DEFAULT; in allegro_set_default_params()
2356 channel->gop_size = ctrl->val; in allegro_s_ctrl()
2465 1, channel->gop_size); in allegro_open()
/Linux-v5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc_common.h491 u16 gop_size; member
/Linux-v5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c3041 int gop_size; in pvr2_hdw_commit_execute() local
3044 gop_size = 15; in pvr2_hdw_commit_execute()
3047 gop_size = 12; in pvr2_hdw_commit_execute()
3057 if (gop_size != hdw->enc_ctl_state.video_gop_size) { in pvr2_hdw_commit_execute()
3065 c1.value = gop_size; in pvr2_hdw_commit_execute()

12