#include <linux/types.h>
#include <media/v4l2-ctrls.h>
#include "core.h"
#include "venc.h"
#include "helpers.h"
#define BITRATE_MIN …
#define BITRATE_MAX …
#define BITRATE_DEFAULT …
#define BITRATE_DEFAULT_PEAK …
#define BITRATE_STEP …
#define SLICE_BYTE_SIZE_MAX …
#define SLICE_BYTE_SIZE_MIN …
#define SLICE_MB_SIZE_MAX …
#define AT_SLICE_BOUNDARY …
#define MAX_LTR_FRAME_COUNT …
static int venc_calc_bpframes(u32 gop_size, u32 conseq_b, u32 *bf, u32 *pf)
{ … }
static int venc_op_s_ctrl(struct v4l2_ctrl *ctrl)
{ … }
static int venc_op_g_volatile_ctrl(struct v4l2_ctrl *ctrl)
{ … }
static const struct v4l2_ctrl_ops venc_ctrl_ops = …;
int venc_ctrl_init(struct venus_inst *inst)
{ … }
void venc_ctrl_deinit(struct venus_inst *inst)
{ … }