Searched refs:rkvdec_ctx (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/staging/media/rkvdec/ |
H A D | rkvdec.h | 25 struct rkvdec_ctx; 67 int (*adjust_fmt)(struct rkvdec_ctx *ctx, 69 int (*start)(struct rkvdec_ctx *ctx); 70 void (*stop)(struct rkvdec_ctx *ctx); 71 int (*run)(struct rkvdec_ctx *ctx); 72 void (*done)(struct rkvdec_ctx *ctx, struct vb2_v4l2_buffer *src_buf, 75 int (*try_ctrl)(struct rkvdec_ctx *ctx, struct v4l2_ctrl *ctrl); 100 struct rkvdec_ctx { struct 110 static inline struct rkvdec_ctx *fh_to_rkvdec_ctx(struct v4l2_fh *fh) in fh_to_rkvdec_ctx() argument 112 return container_of(fh, struct rkvdec_ctx, fh); in fh_to_rkvdec_ctx() [all …]
|
H A D | rkvdec.c | 32 struct rkvdec_ctx *ctx = container_of(ctrl->handler, struct rkvdec_ctx, ctrl_hdl); in rkvdec_try_ctrl() 473 struct rkvdec_ctx *ctx = vb2_get_drv_priv(vq); in rkvdec_queue_setup() 502 struct rkvdec_ctx *ctx = vb2_get_drv_priv(vq); in rkvdec_buf_prepare() 554 struct rkvdec_ctx *ctx = vb2_get_drv_priv(q); in rkvdec_start_streaming() 576 struct rkvdec_ctx *ctx = vb2_get_drv_priv(vq); in rkvdec_queue_cleanup() 597 struct rkvdec_ctx *ctx = vb2_get_drv_priv(q); in rkvdec_stop_streaming() 694 struct rkvdec_ctx *ctx = priv; in rkvdec_device_run() 721 struct rkvdec_ctx *ctx = priv; in rkvdec_queue_init() 812 struct rkvdec_ctx *ctx; in rkvdec_open() 965 struct rkvdec_ctx *ctx; in rkvdec_irq_handler() [all …]
|
H A D | rkvdec-vp9.c | 189 static void init_intra_only_probs(struct rkvdec_ctx *ctx, in init_intra_only_probs() 239 static void init_inter_probs(struct rkvdec_ctx *ctx, in init_inter_probs() 310 static void init_probs(struct rkvdec_ctx *ctx, in init_probs() 412 static void config_ref_registers(struct rkvdec_ctx *ctx, in config_ref_registers() 516 static void config_registers(struct rkvdec_ctx *ctx, in config_registers() 696 static int validate_dec_params(struct rkvdec_ctx *ctx, in validate_dec_params() 801 static int rkvdec_vp9_run(struct rkvdec_ctx *ctx) in rkvdec_vp9_run() 843 static void rkvdec_vp9_done(struct rkvdec_ctx *ctx, in rkvdec_vp9_done() 996 static int rkvdec_vp9_start(struct rkvdec_ctx *ctx) in rkvdec_vp9_start() 1043 static void rkvdec_vp9_stop(struct rkvdec_ctx *ctx) in rkvdec_vp9_stop() [all …]
|
H A D | rkvdec-h264.c | 633 static void assemble_hw_pps(struct rkvdec_ctx *ctx, in assemble_hw_pps() 735 static void lookup_ref_buf_idx(struct rkvdec_ctx *ctx, in lookup_ref_buf_idx() 758 static void assemble_hw_rps(struct rkvdec_ctx *ctx, in assemble_hw_rps() 817 static void assemble_hw_scaling_list(struct rkvdec_ctx *ctx, in assemble_hw_scaling_list() 883 static void config_registers(struct rkvdec_ctx *ctx, in config_registers() 1017 static int rkvdec_h264_adjust_fmt(struct rkvdec_ctx *ctx, in rkvdec_h264_adjust_fmt() 1029 static int rkvdec_h264_validate_sps(struct rkvdec_ctx *ctx, in rkvdec_h264_validate_sps() 1067 static int rkvdec_h264_start(struct rkvdec_ctx *ctx) in rkvdec_h264_start() 1108 static void rkvdec_h264_stop(struct rkvdec_ctx *ctx) in rkvdec_h264_stop() 1118 static void rkvdec_h264_run_preamble(struct rkvdec_ctx *ctx, in rkvdec_h264_run_preamble() [all …]
|