Lines Matching +full:frame +full:- +full:buffer

1 /* SPDX-License-Identifier: GPL-2.0 */
16 * enum venc_yuv_fmt - The type of input yuv format
31 * enum venc_start_opt - encode frame option used in venc_if_encode()
33 * @VENC_START_OPT_ENCODE_FRAME: encode normal frame
41 * enum venc_set_param_type - The type of set parameter used in
45 * @VENC_SET_PARAM_FORCE_INTRA: force an intra frame
47 * @VENC_SET_PARAM_ADJUST_FRAMERATE: set frame rate
49 * @VENC_SET_PARAM_INTRA_PERIOD: set I frame interval
50 * @VENC_SET_PARAM_SKIP_FRAME: set H264 skip one frame
67 * struct venc_enc_prm - encoder settings for VENC_SET_PARAM_ENC used in
74 * @buf_width: buffer width
75 * @buf_height: buffer height
76 * @frm_rate: frame rate in fps
77 * @intra_period: intra frame period
96 * struct venc_frame_info - per-frame information to pass to the firmware.
98 * @frm_count: sequential number for this frame
100 * @frm_type: type of the frame, from enum venc_h264_frame_type
103 unsigned int frm_count; /* per frame update */
104 unsigned int skip_frm_count; /* per frame update */
105 unsigned int frm_type; /* per frame update */
109 * struct venc_frm_buf - frame buffer information used in venc_if_encode()
110 * @fb_addr: plane frame buffer addresses
117 * struct venc_done_result - This is return information used in venc_if_encode()
119 * @is_key_frm: output is key frame or not
130 * venc_if_init - Create the driver handle
138 * venc_if_deinit - Release the driver handle
145 * venc_if_set_param - Set parameter to driver
156 * venc_if_encode - Encode one frame
158 * @opt: encode frame option
159 * @frm_buf: input frame buffer information
160 * @bs_buf: output bitstream buffer infomraiton
162 * Return: 0 if encoding frame successfully, otherwise it is failed.