Home
last modified time | relevance | path

Searched refs:hva_ctx (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/media/platform/st/sti/hva/
H A Dhva.h245 struct hva_ctx { struct
290 struct hva_ctx last_ctx; argument
342 struct hva_ctx *instances[HVA_MAX_INSTANCES];
392 int (*open)(struct hva_ctx *ctx);
393 int (*close)(struct hva_ctx *ctx);
394 int (*encode)(struct hva_ctx *ctx, struct hva_frame *frame,
401 void hva_dbg_ctx_create(struct hva_ctx *ctx);
402 void hva_dbg_ctx_remove(struct hva_ctx *ctx);
403 void hva_dbg_perf_begin(struct hva_ctx *ctx);
404 void hva_dbg_perf_end(struct hva_ctx *ctx, struct hva_stream *stream);
H A Dhva-v4l2.c39 static inline struct hva_ctx *file_to_ctx(struct file *filp) in file_to_ctx()
41 return container_of(file_to_v4l2_fh(filp), struct hva_ctx, fh); in file_to_ctx()
94 static void set_default_params(struct hva_ctx *ctx) in set_default_params()
123 static const struct hva_enc *hva_find_encoder(struct hva_ctx *ctx, in hva_find_encoder()
192 static int hva_open_encoder(struct hva_ctx *ctx, u32 streamformat, in hva_open_encoder()
231 static void hva_dbg_summary(struct hva_ctx *ctx) in hva_dbg_summary()
260 struct hva_ctx *ctx = file_to_ctx(file); in hva_querycap()
274 struct hva_ctx *ctx = file_to_ctx(file); in hva_enum_fmt_stream()
288 struct hva_ctx *ctx = file_to_ctx(file); in hva_enum_fmt_frame()
301 struct hva_ctx *ctx = file_to_ctx(file); in hva_g_fmt_stream()
[all …]
H A Dhva-debugfs.c13 static void format_ctx(struct seq_file *s, struct hva_ctx *ctx) in format_ctx()
119 void hva_dbg_perf_begin(struct hva_ctx *ctx) in hva_dbg_perf_begin()
175 void hva_dbg_perf_end(struct hva_ctx *ctx, struct hva_stream *stream) in hva_dbg_perf_end()
219 static void hva_dbg_perf_compute(struct hva_ctx *ctx) in hva_dbg_perf_compute()
305 struct hva_ctx *last_ctx = &hva->dbg.last_ctx; in last_show()
359 struct hva_ctx *ctx = s->private; in ctx_show()
371 void hva_dbg_ctx_create(struct hva_ctx *ctx) in hva_dbg_ctx_create()
387 void hva_dbg_ctx_remove(struct hva_ctx *ctx) in hva_dbg_ctx_remove()
H A Dhva-mem.h26 int hva_mem_alloc(struct hva_ctx *ctx,
31 void hva_mem_free(struct hva_ctx *ctx,
H A Dhva-mem.c11 int hva_mem_alloc(struct hva_ctx *ctx, u32 size, const char *name, in hva_mem_alloc()
50 void hva_mem_free(struct hva_ctx *ctx, struct hva_buffer *buf) in hva_mem_free()
H A Dhva-h264.c415 static int hva_h264_fill_slice_header(struct hva_ctx *pctx, in hva_h264_fill_slice_header()
488 static int hva_h264_fill_data_nal(struct hva_ctx *pctx, in hva_h264_fill_data_nal()
521 static int hva_h264_fill_sei_nal(struct hva_ctx *pctx, in hva_h264_fill_sei_nal()
587 static int hva_h264_prepare_task(struct hva_ctx *pctx, in hva_h264_prepare_task()
889 static int hva_h264_open(struct hva_ctx *pctx) in hva_h264_open()
985 static int hva_h264_close(struct hva_ctx *pctx) in hva_h264_close()
1007 static int hva_h264_encode(struct hva_ctx *pctx, struct hva_frame *frame, in hva_h264_encode()
H A Dhva-hw.h39 int hva_hw_execute_task(struct hva_ctx *ctx, enum hva_hw_cmd_type cmd,
H A Dhva-hw.c121 struct hva_ctx *ctx = NULL; in hva_hw_its_irq_thread()
224 struct hva_ctx *ctx; in hva_hw_err_irq_thread()
454 int hva_hw_execute_task(struct hva_ctx *ctx, enum hva_hw_cmd_type cmd, in hva_hw_execute_task()