Home
last modified time | relevance | path

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

/drivers/media/platform/coda/
Dcoda.h192 struct coda_ctx;
197 int (*reqbufs)(struct coda_ctx *ctx, struct v4l2_requestbuffers *rb);
198 int (*start_streaming)(struct coda_ctx *ctx);
199 int (*prepare_run)(struct coda_ctx *ctx);
200 void (*finish_run)(struct coda_ctx *ctx);
201 void (*run_timeout)(struct coda_ctx *ctx);
204 void (*release)(struct coda_ctx *ctx);
214 struct coda_ctx { struct
296 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, argument
308 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()
423 static int 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.c40 static void coda_free_bitstream_buffer(struct coda_ctx *ctx);
63 static void coda_command_async(struct coda_ctx *ctx, int cmd) in coda_command_async()
96 static int coda_command_sync(struct coda_ctx *ctx, int cmd) in coda_command_sync()
110 int coda_hw_reset(struct coda_ctx *ctx) in coda_hw_reset()
148 static void coda_kfifo_sync_from_device(struct coda_ctx *ctx) in coda_kfifo_sync_from_device()
161 static void coda_kfifo_sync_to_device_full(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_full()
173 static void coda_kfifo_sync_to_device_write(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_write()
183 static int coda_h264_bitstream_pad(struct coda_ctx *ctx, u32 size) in coda_h264_bitstream_pad()
202 int coda_bitstream_flush(struct coda_ctx *ctx) in coda_bitstream_flush()
222 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()
424 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap()
444 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_enum_fmt()
494 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt()
515 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat()
547 static int coda_try_fmt_vdoa(struct coda_ctx *ctx, struct v4l2_format *f, in coda_try_fmt_vdoa()
574 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage()
586 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt()
650 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()