Lines Matching refs:ctr
73 struct venc_controls *ctr = &inst->controls.enc; in venc_op_s_ctrl() local
84 ctr->bitrate_mode = ctrl->val; in venc_op_s_ctrl()
87 ctr->bitrate = ctrl->val; in venc_op_s_ctrl()
91 brate.bitrate = ctr->bitrate; in venc_op_s_ctrl()
103 ctr->bitrate_peak = ctrl->val; in venc_op_s_ctrl()
106 ctr->h264_entropy_mode = ctrl->val; in venc_op_s_ctrl()
109 ctr->profile.mpeg4 = ctrl->val; in venc_op_s_ctrl()
112 ctr->profile.h264 = ctrl->val; in venc_op_s_ctrl()
115 ctr->profile.hevc = ctrl->val; in venc_op_s_ctrl()
118 ctr->profile.vp8 = ctrl->val; in venc_op_s_ctrl()
121 ctr->level.mpeg4 = ctrl->val; in venc_op_s_ctrl()
124 ctr->level.h264 = ctrl->val; in venc_op_s_ctrl()
127 ctr->level.hevc = ctrl->val; in venc_op_s_ctrl()
130 ctr->h264_i_qp = ctrl->val; in venc_op_s_ctrl()
133 ctr->h264_p_qp = ctrl->val; in venc_op_s_ctrl()
136 ctr->h264_b_qp = ctrl->val; in venc_op_s_ctrl()
139 ctr->h264_min_qp = ctrl->val; in venc_op_s_ctrl()
142 ctr->h264_i_min_qp = ctrl->val; in venc_op_s_ctrl()
145 ctr->h264_p_min_qp = ctrl->val; in venc_op_s_ctrl()
148 ctr->h264_b_min_qp = ctrl->val; in venc_op_s_ctrl()
151 ctr->h264_max_qp = ctrl->val; in venc_op_s_ctrl()
154 ctr->h264_i_max_qp = ctrl->val; in venc_op_s_ctrl()
157 ctr->h264_p_max_qp = ctrl->val; in venc_op_s_ctrl()
160 ctr->h264_b_max_qp = ctrl->val; in venc_op_s_ctrl()
163 ctr->hevc_i_qp = ctrl->val; in venc_op_s_ctrl()
166 ctr->hevc_p_qp = ctrl->val; in venc_op_s_ctrl()
169 ctr->hevc_b_qp = ctrl->val; in venc_op_s_ctrl()
172 ctr->hevc_min_qp = ctrl->val; in venc_op_s_ctrl()
175 ctr->hevc_i_min_qp = ctrl->val; in venc_op_s_ctrl()
178 ctr->hevc_p_min_qp = ctrl->val; in venc_op_s_ctrl()
181 ctr->hevc_b_min_qp = ctrl->val; in venc_op_s_ctrl()
184 ctr->hevc_max_qp = ctrl->val; in venc_op_s_ctrl()
187 ctr->hevc_i_max_qp = ctrl->val; in venc_op_s_ctrl()
190 ctr->hevc_p_max_qp = ctrl->val; in venc_op_s_ctrl()
193 ctr->hevc_b_max_qp = ctrl->val; in venc_op_s_ctrl()
196 ctr->multi_slice_mode = ctrl->val; in venc_op_s_ctrl()
199 ctr->multi_slice_max_bytes = ctrl->val; in venc_op_s_ctrl()
202 ctr->multi_slice_max_mb = ctrl->val; in venc_op_s_ctrl()
205 ctr->h264_loop_filter_alpha = ctrl->val; in venc_op_s_ctrl()
208 ctr->h264_loop_filter_beta = ctrl->val; in venc_op_s_ctrl()
211 ctr->h264_loop_filter_mode = ctrl->val; in venc_op_s_ctrl()
214 ctr->header_mode = ctrl->val; in venc_op_s_ctrl()
231 ret = venc_calc_bpframes(ctrl->val, ctr->num_b_frames, &bframes, in venc_op_s_ctrl()
232 &ctr->num_p_frames); in venc_op_s_ctrl()
236 ctr->gop_size = ctrl->val; in venc_op_s_ctrl()
239 ctr->h264_i_period = ctrl->val; in venc_op_s_ctrl()
242 ctr->vp8_min_qp = ctrl->val; in venc_op_s_ctrl()
245 ctr->vp8_max_qp = ctrl->val; in venc_op_s_ctrl()
248 ret = venc_calc_bpframes(ctr->gop_size, ctrl->val, &bframes, in venc_op_s_ctrl()
249 &ctr->num_p_frames); in venc_op_s_ctrl()
253 ctr->num_b_frames = bframes; in venc_op_s_ctrl()
269 ctr->rc_enable = ctrl->val; in venc_op_s_ctrl()
272 ctr->const_quality = ctrl->val; in venc_op_s_ctrl()
275 ctr->frame_skip_mode = ctrl->val; in venc_op_s_ctrl()
278 ctr->base_priority_id = ctrl->val; in venc_op_s_ctrl()
281 ctr->aud_enable = ctrl->val; in venc_op_s_ctrl()
284 ctr->ltr_count = ctrl->val; in venc_op_s_ctrl()
315 ctr->cll = *ctrl->p_new.p_hdr10_cll; in venc_op_s_ctrl()
318 ctr->mastering = *ctrl->p_new.p_hdr10_mastering; in venc_op_s_ctrl()
321 ctr->intra_refresh_type = ctrl->val; in venc_op_s_ctrl()
324 ctr->intra_refresh_period = ctrl->val; in venc_op_s_ctrl()
327 if (ctr->profile.h264 != V4L2_MPEG_VIDEO_H264_PROFILE_HIGH && in venc_op_s_ctrl()
328 ctr->profile.h264 != V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_HIGH) in venc_op_s_ctrl()
341 ctr->h264_8x8_transform = ctrl->val; in venc_op_s_ctrl()