Home
last modified time | relevance | path

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

/drivers/staging/media/rkvdec/
Drkvdec.h25 struct rkvdec_ctx;
64 int (*adjust_fmt)(struct rkvdec_ctx *ctx,
66 int (*start)(struct rkvdec_ctx *ctx);
67 void (*stop)(struct rkvdec_ctx *ctx);
68 int (*run)(struct rkvdec_ctx *ctx);
69 void (*done)(struct rkvdec_ctx *ctx, struct vb2_v4l2_buffer *src_buf,
95 struct rkvdec_ctx { struct
105 static inline struct rkvdec_ctx *fh_to_rkvdec_ctx(struct v4l2_fh *fh) in fh_to_rkvdec_ctx() argument
107 return container_of(fh, struct rkvdec_ctx, fh); in fh_to_rkvdec_ctx()
116 void rkvdec_run_preamble(struct rkvdec_ctx *ctx, struct rkvdec_run *run);
[all …]
Drkvdec.c127 static void rkvdec_reset_fmt(struct rkvdec_ctx *ctx, struct v4l2_format *f, in rkvdec_reset_fmt()
139 static void rkvdec_reset_coded_fmt(struct rkvdec_ctx *ctx) in rkvdec_reset_coded_fmt()
154 static void rkvdec_reset_decoded_fmt(struct rkvdec_ctx *ctx) in rkvdec_reset_decoded_fmt()
204 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_try_capture_fmt()
245 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_try_output_fmt()
276 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_s_capture_fmt()
297 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_s_output_fmt()
358 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_g_output_fmt()
367 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_g_capture_fmt()
386 struct rkvdec_ctx *ctx = fh_to_rkvdec_ctx(priv); in rkvdec_enum_capture_fmt()
[all …]
Drkvdec-h264.c636 static void assemble_hw_pps(struct rkvdec_ctx *ctx, in assemble_hw_pps()
729 static void lookup_ref_buf_idx(struct rkvdec_ctx *ctx, in lookup_ref_buf_idx()
749 static void assemble_hw_rps(struct rkvdec_ctx *ctx, in assemble_hw_rps()
810 static void assemble_hw_scaling_list(struct rkvdec_ctx *ctx, in assemble_hw_scaling_list()
877 get_ref_buf(struct rkvdec_ctx *ctx, struct rkvdec_h264_run *run, in get_ref_buf()
894 static void config_registers(struct rkvdec_ctx *ctx, in config_registers()
1026 static int rkvdec_h264_adjust_fmt(struct rkvdec_ctx *ctx, in rkvdec_h264_adjust_fmt()
1038 static int rkvdec_h264_start(struct rkvdec_ctx *ctx) in rkvdec_h264_start()
1069 static void rkvdec_h264_stop(struct rkvdec_ctx *ctx) in rkvdec_h264_stop()
1079 static void rkvdec_h264_run_preamble(struct rkvdec_ctx *ctx, in rkvdec_h264_run_preamble()
[all …]