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

/linux-master/drivers/media/platform/chips-media/coda/
H A 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,
319 int coda_hw_reset(struct coda_ctx *ct
[all...]
H A 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 *ct
[all...]
H A Dcoda-mpeg2.c64 u32 coda_mpeg2_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size)
H A Dcoda-mpeg4.c61 u32 coda_mpeg4_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size)
H A 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)
97 static int coda_command_sync(struct coda_ctx *ctx, int cmd)
111 int coda_hw_reset(struct coda_ctx *ctx)
149 static void coda_kfifo_sync_from_device(struct coda_ctx *ctx)
162 static void coda_kfifo_sync_to_device_full(struct coda_ctx *ctx)
174 static void coda_kfifo_sync_to_device_write(struct coda_ctx *ctx)
184 static int coda_h264_bitstream_pad(struct coda_ctx *ctx, u32 size)
203 int coda_bitstream_flush(struct coda_ctx *ctx)
223 static int coda_bitstream_queue(struct coda_ctx *ct
[all...]
H A Dcoda-jpeg.c215 int coda_jpeg_write_tables(struct coda_ctx *ctx)
241 bool coda_jpeg_check_buffer(struct coda_ctx *ctx, struct vb2_buffer *vb)
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)
424 static void coda9_jpeg_dec_huff_setup(struct coda_ctx *ctx)
471 static void coda9_jpeg_qmat_setup(struct coda_ctx *ctx)
482 static void coda9_jpeg_dec_bbc_gbu_setup(struct coda_ctx *ctx,
582 static int coda9_jpeg_gen_enc_huff_tab(struct coda_ctx *ctx, int tab_num,
651 static u8 *coda9_jpeg_get_huff_bits(struct coda_ctx *ctx, int tab_num)
668 static int coda9_jpeg_gen_dec_huff_tab(struct coda_ctx *ct
[all...]
H A 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,
425 struct coda_ctx *ctx = fh_to_ctx(priv);
445 struct coda_ctx *ctx = fh_to_ctx(priv);
495 struct coda_ctx *ctx = fh_to_ctx(priv);
516 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f)
548 static int coda_try_fmt_vdoa(struct coda_ctx *ctx, struct v4l2_format *f,
575 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage,
587 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec,
656 struct coda_ctx *ct
[all...]
H A Dcoda-gdi.c110 void coda_set_gdi_regs(struct coda_ctx *ctx)
H A Dcoda-h264.c31 int coda_sps_parse_profile(struct coda_ctx *ctx, struct vb2_buffer *vb)
250 int coda_h264_sps_fixup(struct coda_ctx *ctx, int width, int height, char *buf,

Completed in 219 milliseconds