Lines Matching +full:max +full:- +full:bitrate

1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include <media/v4l2-ctrls.h>
14 #include <media/v4l2-device.h>
15 #include <media/v4l2-ioctl.h>
16 #include <media/videobuf2-core.h>
20 #define MTK_VCODEC_DEC_NAME "mtk-vcodec-dec"
21 #define MTK_VCODEC_ENC_NAME "mtk-vcodec-enc"
29 * enum mtk_hw_reg_idx - MTK hw register base index
53 * enum mtk_instance_type - The type of an MTK Vcodec instance.
61 * enum mtk_instance_state - The state of an MTK Vcodec instance.
62 * @MTK_STATE_FREE - default state when instance is created
63 * @MTK_STATE_INIT - vcodec instance is initialized
64 * @MTK_STATE_HEADER - vdec had sps/pps header parsed or venc
66 * @MTK_STATE_FLUSH - vdec is flushing. Only used by decoder
67 * @MTK_STATE_ABORT - vcodec should be aborted
78 * struct mtk_encode_param - General encoding parameters type
96 * struct mtk_video_fmt - Structure used to store information about pixelformats
106 * struct mtk_codec_framesizes - Structure used to store information about
115 * struct mtk_q_type - Type of queue
123 * struct mtk_q_data - Structure used to store information about queue
137 * struct mtk_enc_params - General encoding parameters
138 * @bitrate: target bitrate in bits per second
139 * @num_b_frame: number of b frames between p-frame
150 * @h264_max_qp: Max value for H.264 quantization parameter
156 unsigned int bitrate; member
172 * struct mtk_vcodec_clk_info - Structure used to store clock name
180 * struct mtk_vcodec_clk - Structure used to store vcodec clock information
188 * struct mtk_vcodec_pm - Power management data structure
202 * struct vdec_pic_info - picture size information
211 * @reserved: align struct to 64-bit in order to adjust 32-bit and 64-bit os.
224 * struct mtk_vcodec_ctx - Context (instance) private data.
226 * @type: type of the instance - decoder or encoder
253 * @empty_flush_buf: a fake size-0 capture buffer that indicates flush
309 * struct mtk_vcodec_enc_pdata - compatible data for each IC
315 * @min_birate: minimum supported encoding bitrate
316 * @max_bitrate: maximum supported encoding bitrate
335 #define MTK_ENC_CTX_IS_EXT(ctx) ((ctx)->dev->venc_pdata->uses_ext)
338 * struct mtk_vcodec_dev - driver data
417 return container_of(ctrl->handler, struct mtk_vcodec_ctx, ctrl_hdl); in ctrl_to_ctx()