Home
last modified time | relevance | path

Searched refs:rkvdec_ctx (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/media/rkvdec/
Drkvdec.h25 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 …]
Drkvdec.c32 struct rkvdec_ctx *ctx = container_of(ctrl->handler, struct rkvdec_ctx, ctrl_hdl); in rkvdec_try_ctrl()
162 static void rkvdec_reset_fmt(struct rkvdec_ctx *ctx, struct v4l2_format *f, in rkvdec_reset_fmt()
174 static void rkvdec_reset_coded_fmt(struct rkvdec_ctx *ctx) in rkvdec_reset_coded_fmt()
189 static void rkvdec_reset_decoded_fmt(struct rkvdec_ctx *ctx) in rkvdec_reset_decoded_fmt()
239 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_try_capture_fmt()
282 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_try_output_fmt()
313 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_s_capture_fmt()
334 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_s_output_fmt()
398 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_g_output_fmt()
407 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_g_capture_fmt()
[all …]
Drkvdec-vp9.c189 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()
383 get_ref_buf(struct rkvdec_ctx *ctx, struct vb2_v4l2_buffer *dst, u64 timestamp) in get_ref_buf()
412 static void config_ref_registers(struct rkvdec_ctx *ctx, in config_ref_registers()
448 static void config_seg_registers(struct rkvdec_ctx *ctx, unsigned int segid) in config_seg_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()
727 static int rkvdec_vp9_run_preamble(struct rkvdec_ctx *ctx, in rkvdec_vp9_run_preamble()
801 static int rkvdec_vp9_run(struct rkvdec_ctx *ctx) in rkvdec_vp9_run()
[all …]
Drkvdec-h264.c633 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 …]