hva_ctx
void hva_dbg_perf_begin(struct hva_ctx *ctx)
static void format_ctx(struct seq_file *s, struct hva_ctx *ctx)
void hva_dbg_perf_end(struct hva_ctx *ctx, struct hva_stream *stream)
static void hva_dbg_perf_compute(struct hva_ctx *ctx)
struct hva_ctx *last_ctx = &hva->dbg.last_ctx;
struct hva_ctx *ctx = s->private;
void hva_dbg_ctx_create(struct hva_ctx *ctx)
void hva_dbg_ctx_remove(struct hva_ctx *ctx)
static int hva_h264_encode(struct hva_ctx *pctx, struct hva_frame *frame,
static int hva_h264_fill_slice_header(struct hva_ctx *pctx,
static int hva_h264_fill_data_nal(struct hva_ctx *pctx,
static int hva_h264_fill_sei_nal(struct hva_ctx *pctx,
static int hva_h264_prepare_task(struct hva_ctx *pctx,
static int hva_h264_open(struct hva_ctx *pctx)
static int hva_h264_close(struct hva_ctx *pctx)
struct hva_ctx *ctx = NULL;
struct hva_ctx *ctx;
int hva_hw_execute_task(struct hva_ctx *ctx, enum hva_hw_cmd_type cmd,
int hva_hw_execute_task(struct hva_ctx *ctx, enum hva_hw_cmd_type cmd,
int hva_mem_alloc(struct hva_ctx *ctx, u32 size, const char *name,
void hva_mem_free(struct hva_ctx *ctx, struct hva_buffer *buf)
int hva_mem_alloc(struct hva_ctx *ctx,
void hva_mem_free(struct hva_ctx *ctx,
struct hva_ctx *ctx = vb2_get_drv_priv(vq);
static int queue_init(struct hva_ctx *ctx, struct vb2_queue *vq)
struct hva_ctx *ctx = priv;
struct hva_ctx *ctx;
static const struct hva_enc *hva_find_encoder(struct hva_ctx *ctx,
struct hva_ctx *ctx = file_to_ctx(file);
static int hva_open_encoder(struct hva_ctx *ctx, u32 streamformat,
static void hva_dbg_summary(struct hva_ctx *ctx)
struct hva_ctx *ctx = file_to_ctx(file);
struct hva_ctx *ctx = file_to_ctx(file);
struct hva_ctx *ctx = file_to_ctx(file);
struct hva_ctx *ctx = file_to_ctx(file);
struct hva_ctx *ctx = file_to_ctx(file);
struct hva_ctx *ctx = file_to_ctx(file);
static inline struct hva_ctx *file_to_ctx(struct file *filp)
struct hva_ctx *ctx = file_to_ctx(file);
return container_of(file_to_v4l2_fh(filp), struct hva_ctx, fh);
struct hva_ctx *ctx = file_to_ctx(file);
struct hva_ctx *ctx = file_to_ctx(file);
struct hva_ctx *ctx = file_to_ctx(file);
struct hva_ctx *ctx = file_to_ctx(file);
struct hva_ctx *ctx = file_to_ctx(file);
struct hva_ctx *ctx = container_of(ctrl->handler, struct hva_ctx,
static int hva_ctrls_setup(struct hva_ctx *ctx)
struct hva_ctx *ctx = container_of(work, struct hva_ctx, run_work);
struct hva_ctx *ctx = priv;
struct hva_ctx *ctx = priv;
struct hva_ctx *ctx = priv;
struct hva_ctx *ctx = vb2_get_drv_priv(vq);
struct hva_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
static void set_default_params(struct hva_ctx *ctx)
struct hva_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
struct hva_ctx *ctx = vb2_get_drv_priv(vq);
struct hva_ctx last_ctx;
struct hva_ctx *instances[HVA_MAX_INSTANCES];
int (*open)(struct hva_ctx *ctx);
int (*close)(struct hva_ctx *ctx);
int (*encode)(struct hva_ctx *ctx, struct hva_frame *frame,
void hva_dbg_ctx_create(struct hva_ctx *ctx);
void hva_dbg_ctx_remove(struct hva_ctx *ctx);
void hva_dbg_perf_begin(struct hva_ctx *ctx);
void hva_dbg_perf_end(struct hva_ctx *ctx, struct hva_stream *stream);