Home
last modified time | relevance | path

Searched refs:coda_ctx (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/media/platform/chips-media/
Dcoda.h201 struct coda_ctx;
206 int (*reqbufs)(struct coda_ctx *ctx, struct v4l2_requestbuffers *rb);
207 int (*start_streaming)(struct coda_ctx *ctx);
208 int (*prepare_run)(struct coda_ctx *ctx);
209 void (*finish_run)(struct coda_ctx *ctx);
210 void (*run_timeout)(struct coda_ctx *ctx);
213 void (*release)(struct coda_ctx *ctx);
223 struct coda_ctx { struct
307 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, argument
319 int coda_hw_reset(struct coda_ctx *ctx);
[all …]
Dtrace.h14 TP_PROTO(struct coda_ctx *ctx, int cmd),
35 TP_PROTO(struct coda_ctx *ctx),
53 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
74 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
79 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
84 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
111 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
117 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta),
142 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta),
147 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta),
[all …]
Dcoda-jpeg.c215 int coda_jpeg_write_tables(struct coda_ctx *ctx) in coda_jpeg_write_tables()
241 bool coda_jpeg_check_buffer(struct coda_ctx *ctx, struct vb2_buffer *vb) in coda_jpeg_check_buffer()
265 static int coda9_jpeg_gen_dec_huff_tab(struct coda_ctx *ctx, int tab_num);
267 int coda_jpeg_decode_header(struct coda_ctx *ctx, struct vb2_buffer *vb) in coda_jpeg_decode_header()
424 static void coda9_jpeg_dec_huff_setup(struct coda_ctx *ctx) in coda9_jpeg_dec_huff_setup()
471 static void coda9_jpeg_qmat_setup(struct coda_ctx *ctx) in coda9_jpeg_qmat_setup()
482 static void coda9_jpeg_dec_bbc_gbu_setup(struct coda_ctx *ctx, in coda9_jpeg_dec_bbc_gbu_setup()
582 static int coda9_jpeg_gen_enc_huff_tab(struct coda_ctx *ctx, int tab_num, in coda9_jpeg_gen_enc_huff_tab()
651 static u8 *coda9_jpeg_get_huff_bits(struct coda_ctx *ctx, int tab_num) in coda9_jpeg_get_huff_bits()
668 static int coda9_jpeg_gen_dec_huff_tab(struct coda_ctx *ctx, int tab_num) in coda9_jpeg_gen_dec_huff_tab()
[all …]
Dcoda-bit.c41 static void coda_free_bitstream_buffer(struct coda_ctx *ctx);
64 static void coda_command_async(struct coda_ctx *ctx, int cmd) in coda_command_async()
97 static int coda_command_sync(struct coda_ctx *ctx, int cmd) in coda_command_sync()
111 int coda_hw_reset(struct coda_ctx *ctx) in coda_hw_reset()
149 static void coda_kfifo_sync_from_device(struct coda_ctx *ctx) in coda_kfifo_sync_from_device()
162 static void coda_kfifo_sync_to_device_full(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_full()
174 static void coda_kfifo_sync_to_device_write(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_write()
184 static int coda_h264_bitstream_pad(struct coda_ctx *ctx, u32 size) in coda_h264_bitstream_pad()
203 int coda_bitstream_flush(struct coda_ctx *ctx) in coda_bitstream_flush()
223 static int coda_bitstream_queue(struct coda_ctx *ctx, const u8 *buf, u32 size) in coda_bitstream_queue()
[all …]
Dcoda-common.c57 #define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh)
92 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, in coda_write_base()
425 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap()
445 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_enum_fmt()
495 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt()
516 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat()
548 static int coda_try_fmt_vdoa(struct coda_ctx *ctx, struct v4l2_format *f, in coda_try_fmt_vdoa()
575 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage()
587 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt()
656 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap()
[all …]
Dcoda-mpeg2.c64 u32 coda_mpeg2_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size) in coda_mpeg2_parse_headers()
Dcoda-mpeg4.c61 u32 coda_mpeg4_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size) in coda_mpeg4_parse_headers()
Dcoda-h264.c31 int coda_sps_parse_profile(struct coda_ctx *ctx, struct vb2_buffer *vb) in coda_sps_parse_profile()
250 int coda_h264_sps_fixup(struct coda_ctx *ctx, int width, int height, char *buf, in coda_h264_sps_fixup()
Dcoda-gdi.c110 void coda_set_gdi_regs(struct coda_ctx *ctx) in coda_set_gdi_regs()