/linux-6.1.9/drivers/media/platform/mediatek/vcodec/venc/ |
D | venc_h264_if.c | 89 u32 gop_size; member 160 u32 gop_size; member 432 static int h264_frame_type(unsigned int frm_cnt, unsigned int gop_size, in h264_frame_type() argument 435 if ((gop_size != 0 && (frm_cnt % gop_size) == 0) || in h264_frame_type() 436 (frm_cnt == 0 && gop_size == 0)) { in h264_frame_type() 528 unsigned int gop_size; in h264_encode_frame() local 538 gop_size = inst->vsi_34->config.gop_size; in h264_encode_frame() 541 gop_size = inst->vsi->config.gop_size; in h264_encode_frame() 546 frame_info.frm_type = h264_frame_type(inst->frm_cnt, gop_size, in h264_encode_frame() 740 inst->vsi->config.gop_size = enc_prm->gop_size; in h264_enc_set_vsi_configs() [all …]
|
D | venc_vp8_if.c | 72 u32 gop_size; member 411 inst->vsi->config.gop_size = enc_prm->gop_size; in vp8_enc_set_param()
|
/linux-6.1.9/drivers/media/platform/qcom/venus/ |
D | venc_ctrls.c | 25 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()
|
D | core.h | 217 u16 gop_size; member
|
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/ |
D | venc_drv_if.h | 92 unsigned int gop_size; member
|
D | mtk_vcodec_enc.c | 111 p->gop_size = ctrl->val; in vidioc_venc_s_ctrl() 414 param->gop_size = enc_params->gop_size; in mtk_venc_set_param() 423 param->gop_size, param->intra_period); in mtk_venc_set_param() 1137 enc_prm.gop_size = mtk_buf->enc_params.gop_size; in mtk_venc_param_change() 1139 enc_prm.gop_size); in mtk_venc_param_change()
|
D | mtk_vcodec_drv.h | 179 unsigned int gop_size; member
|
D | venc_vpu_if.c | 201 out.base.data[0] = enc_param->gop_size; in vpu_enc_set_param()
|
/linux-6.1.9/drivers/media/test-drivers/vicodec/ |
D | codec-v4l2-fwht.h | 34 unsigned int gop_size; member
|
D | codec-v4l2-fwht.c | 242 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.1.9/drivers/media/platform/st/sti/hva/ |
D | hva-h264.c | 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() 816 if (!(frame_num % ctrls->gop_size)) { in hva_h264_prepare_task()
|
D | hva.h | 89 u32 gop_size; member
|
D | hva-debugfs.c | 54 ctrls->gop_size, in format_ctx()
|
D | hva-v4l2.c | 630 ctx->ctrls.gop_size = ctrl->val; in hva_s_ctrl()
|
/linux-6.1.9/drivers/media/pci/saa7164/ |
D | saa7164.h | 271 u32 gop_size; member 288 u32 gop_size; member
|
D | saa7164-encoder.c | 474 params->gop_size = ctrl->val; in saa7164_s_ctrl()
|
D | saa7164-api.c | 163 gs.ucGOPSize = port->encoder_params.gop_size; in saa7164_api_set_gop_size()
|
/linux-6.1.9/drivers/media/usb/go7007/ |
D | go7007-priv.h | 203 int gop_size; member
|
D | go7007-v4l2.c | 104 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()
|
D | go7007-fw.c | 1364 go->ipb ? (go->gop_size / 3) : go->gop_size, in final_package()
|
/linux-6.1.9/drivers/media/platform/chips-media/ |
D | coda.h | 133 u8 gop_size; member
|
D | coda-bit.c | 712 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()
|
D | coda-common.c | 2070 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.1.9/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc_common.h | 495 u16 gop_size; member
|
/linux-6.1.9/drivers/media/usb/pvrusb2/ |
D | pvrusb2-hdw.c | 3045 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()
|