Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/staging/media/rkvdec/
Drkvdec.h25 struct rkvdec_ctx;
63 int (*adjust_fmt)(struct rkvdec_ctx *ctx,
65 int (*start)(struct rkvdec_ctx *ctx);
66 void (*stop)(struct rkvdec_ctx *ctx);
67 int (*run)(struct rkvdec_ctx *ctx);
68 void (*done)(struct rkvdec_ctx *ctx, struct vb2_v4l2_buffer *src_buf,
94 struct rkvdec_ctx { struct
104 static inline struct rkvdec_ctx *fh_to_rkvdec_ctx(struct v4l2_fh *fh) in fh_to_rkvdec_ctx() argument
106 return container_of(fh, struct rkvdec_ctx, fh); in fh_to_rkvdec_ctx()
115 void rkvdec_run_preamble(struct rkvdec_ctx *ctx, struct rkvdec_run *run);
[all …]
Drkvdec.c137 static void rkvdec_reset_fmt(struct rkvdec_ctx *ctx, struct v4l2_format *f, in rkvdec_reset_fmt()
149 static void rkvdec_reset_coded_fmt(struct rkvdec_ctx *ctx) in rkvdec_reset_coded_fmt()
164 static void rkvdec_reset_decoded_fmt(struct rkvdec_ctx *ctx) in rkvdec_reset_decoded_fmt()
214 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_try_capture_fmt()
255 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_try_output_fmt()
288 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_s_fmt()
304 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_s_capture_fmt()
318 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_s_output_fmt()
368 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_g_output_fmt()
377 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_g_capture_fmt()
[all …]
Drkvdec-h264.c635 static void assemble_hw_pps(struct rkvdec_ctx *ctx, in assemble_hw_pps()
728 static void assemble_hw_rps(struct rkvdec_ctx *ctx, in assemble_hw_rps()
791 static void assemble_hw_scaling_list(struct rkvdec_ctx *ctx, in assemble_hw_scaling_list()
858 get_ref_buf(struct rkvdec_ctx *ctx, struct rkvdec_h264_run *run, in get_ref_buf()
880 static void config_registers(struct rkvdec_ctx *ctx, in config_registers()
1012 static int rkvdec_h264_adjust_fmt(struct rkvdec_ctx *ctx, in rkvdec_h264_adjust_fmt()
1023 static int rkvdec_h264_start(struct rkvdec_ctx *ctx) in rkvdec_h264_start()
1054 static void rkvdec_h264_stop(struct rkvdec_ctx *ctx) in rkvdec_h264_stop()
1064 static void rkvdec_h264_run_preamble(struct rkvdec_ctx *ctx, in rkvdec_h264_run_preamble()
1085 static int rkvdec_h264_run(struct rkvdec_ctx *ctx) in rkvdec_h264_run()