Lines Matching refs:coda_ctx

201 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 {
307 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data,
319 int coda_hw_reset(struct coda_ctx *ctx);
321 void coda_fill_bitstream(struct coda_ctx *ctx, struct list_head *buffer_list);
323 void coda_set_gdi_regs(struct coda_ctx *ctx);
325 static inline struct coda_q_data *get_q_data(struct coda_ctx *ctx,
342 static inline unsigned int coda_get_bitstream_payload(struct coda_ctx *ctx)
351 static inline bool coda_bitstream_can_fetch_past(struct coda_ctx *ctx,
357 bool coda_bitstream_can_fetch_past(struct coda_ctx *ctx, unsigned int pos);
358 int coda_bitstream_flush(struct coda_ctx *ctx);
360 void coda_bit_stream_end_flag(struct coda_ctx *ctx);
362 void coda_m2m_buf_done(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
369 int coda_sps_parse_profile(struct coda_ctx *ctx, struct vb2_buffer *vb);
370 int coda_h264_sps_fixup(struct coda_ctx *ctx, int width, int height, char *buf,
375 u32 coda_mpeg2_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size);
378 u32 coda_mpeg4_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size);
380 void coda_update_profile_level_ctrls(struct coda_ctx *ctx, u8 profile_idc,
390 bool coda_jpeg_check_buffer(struct coda_ctx *ctx, struct vb2_buffer *vb);
391 int coda_jpeg_decode_header(struct coda_ctx *ctx, struct vb2_buffer *vb);
392 int coda_jpeg_write_tables(struct coda_ctx *ctx);
393 void coda_set_jpeg_compression_quality(struct coda_ctx *ctx, int quality);