Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/media/platform/mediatek/vcodec/encoder/venc/
Dvenc_h264_if.c88 u32 gop_size; member
159 u32 gop_size; member
421 static int h264_frame_type(unsigned int frm_cnt, unsigned int gop_size, in h264_frame_type() argument
424 if ((gop_size != 0 && (frm_cnt % gop_size) == 0) || in h264_frame_type()
425 (frm_cnt == 0 && gop_size == 0)) { in h264_frame_type()
511 unsigned int gop_size; in h264_encode_frame() local
520 gop_size = inst->vsi_34->config.gop_size; in h264_encode_frame()
523 gop_size = inst->vsi->config.gop_size; in h264_encode_frame()
528 frame_info.frm_type = h264_frame_type(inst->frm_cnt, gop_size, in h264_encode_frame()
717 inst->vsi->config.gop_size = enc_prm->gop_size; in h264_enc_set_vsi_configs()
[all …]
Dvenc_vp8_if.c71 u32 gop_size; member
390 inst->vsi->config.gop_size = enc_prm->gop_size; in vp8_enc_set_param()
/linux-6.6.21/drivers/media/platform/qcom/venus/
Dvenc_ctrls.c25 static int venc_calc_bpframes(u32 gop_size, u32 conseq_b, u32 *bf, u32 *pf) in venc_calc_bpframes() argument
27 u32 half = (gop_size - 1) >> 1; in venc_calc_bpframes()
31 if (!gop_size) in venc_calc_bpframes()
37 *pf = gop_size - 1; in venc_calc_bpframes()
43 for (; b <= gop_size - 1; b++, p--) { in venc_calc_bpframes()
61 if (b + p + 1 != gop_size) in venc_calc_bpframes()
236 ctr->gop_size = ctrl->val; in venc_op_s_ctrl()
248 ret = venc_calc_bpframes(ctr->gop_size, ctrl->val, &bframes, in venc_op_s_ctrl()
Dcore.h248 u16 gop_size; member
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/encoder/
Dvenc_drv_if.h91 unsigned int gop_size; member
Dmtk_vcodec_enc.c98 p->gop_size = ctrl->val; in vidioc_venc_s_ctrl()
402 param->gop_size = enc_params->gop_size; in mtk_venc_set_param()
411 param->gop_size, param->intra_period); in mtk_venc_set_param()
1117 enc_prm.gop_size = mtk_buf->enc_params.gop_size; in mtk_venc_param_change()
1118 mtk_v4l2_venc_dbg(1, ctx, "change param intra period=%d", enc_prm.gop_size); in mtk_venc_param_change()
Dmtk_vcodec_enc_drv.h83 unsigned int gop_size; member
Dvenc_vpu_if.c226 out.base.data[0] = enc_param->gop_size; in vpu_enc_set_param()
/linux-6.6.21/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-6.6.21/drivers/media/platform/st/sti/hva/
Dhva-h264.c437 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()
816 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()
Dhva-v4l2.c630 ctx->ctrls.gop_size = ctrl->val; in hva_s_ctrl()
/linux-6.6.21/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()
Dsaa7164-api.c163 gs.ucGOPSize = port->encoder_params.gop_size; in saa7164_api_set_gop_size()
/linux-6.6.21/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()
/linux-6.6.21/drivers/media/platform/chips-media/
Dcoda.h133 u8 gop_size; member
Dcoda-bit.c712 coda_write(dev, ctx->params.gop_size, in coda_enc_param_change()
714 ctx->gopcounter = ctx->params.gop_size - 1; in coda_enc_param_change()
1222 value = ctx->params.gop_size; in coda_start_encoding()
1510 else if (ctx->params.gop_size != 0 && in coda_prepare_encode()
1511 (src_buf->sequence % ctx->params.gop_size) == 0) in coda_prepare_encode()
1698 ctx->gopcounter = ctx->params.gop_size - 1; in coda_finish_encode()
Dcoda-common.c2070 ctx->gopcounter = ctx->params.gop_size - 1; in coda_start_streaming()
2073 ctx->params.gop_size = 1; in coda_start_streaming()
2074 ctx->gopcounter = ctx->params.gop_size - 1; in coda_start_streaming()
2209 ctx->params.gop_size = ctrl->val; in coda_s_ctrl()
/linux-6.6.21/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_common.h495 u16 gop_size; member
/linux-6.6.21/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c3045 int gop_size; in pvr2_hdw_commit_execute() local
3048 gop_size = 15; in pvr2_hdw_commit_execute()
3051 gop_size = 12; in pvr2_hdw_commit_execute()
3061 if (gop_size != hdw->enc_ctl_state.video_gop_size) { in pvr2_hdw_commit_execute()
3069 c1.value = gop_size; in pvr2_hdw_commit_execute()

12