Lines Matching refs:hantro_ctx

39 struct hantro_ctx;
269 void (*enable)(struct hantro_ctx *ctx);
270 void (*disable)(struct hantro_ctx *ctx);
271 int (*enum_framesizes)(struct hantro_ctx *ctx, struct v4l2_frmsizeenum *fsize);
289 int (*init)(struct hantro_ctx *ctx);
290 void (*exit)(struct hantro_ctx *ctx);
291 int (*run)(struct hantro_ctx *ctx);
292 void (*done)(struct hantro_ctx *ctx);
293 void (*reset)(struct hantro_ctx *ctx);
332 void hantro_run(struct hantro_ctx *ctx);
335 void hantro_start_prepare_run(struct hantro_ctx *ctx);
336 void hantro_end_prepare_run(struct hantro_ctx *ctx);
339 void hantro_g1_reset(struct hantro_ctx *ctx);
341 int hantro_h1_jpeg_enc_run(struct hantro_ctx *ctx);
342 int rockchip_vpu2_jpeg_enc_run(struct hantro_ctx *ctx);
343 void hantro_h1_jpeg_enc_done(struct hantro_ctx *ctx);
344 void rockchip_vpu2_jpeg_enc_done(struct hantro_ctx *ctx);
346 dma_addr_t hantro_h264_get_ref_buf(struct hantro_ctx *ctx,
348 u16 hantro_h264_get_ref_nbr(struct hantro_ctx *ctx,
350 int hantro_h264_dec_prepare_run(struct hantro_ctx *ctx);
351 int rockchip_vpu2_h264_dec_run(struct hantro_ctx *ctx);
352 int hantro_g1_h264_dec_run(struct hantro_ctx *ctx);
353 int hantro_h264_dec_init(struct hantro_ctx *ctx);
354 void hantro_h264_dec_exit(struct hantro_ctx *ctx);
356 int hantro_hevc_dec_init(struct hantro_ctx *ctx);
357 void hantro_hevc_dec_exit(struct hantro_ctx *ctx);
358 int hantro_g2_hevc_dec_run(struct hantro_ctx *ctx);
359 int hantro_hevc_dec_prepare_run(struct hantro_ctx *ctx);
360 void hantro_hevc_ref_init(struct hantro_ctx *ctx);
361 dma_addr_t hantro_hevc_get_ref_buf(struct hantro_ctx *ctx, s32 poc);
362 int hantro_hevc_add_ref_buf(struct hantro_ctx *ctx, int poc, dma_addr_t addr);
420 int hantro_g1_mpeg2_dec_run(struct hantro_ctx *ctx);
421 int rockchip_vpu2_mpeg2_dec_run(struct hantro_ctx *ctx);
424 int hantro_mpeg2_dec_init(struct hantro_ctx *ctx);
425 void hantro_mpeg2_dec_exit(struct hantro_ctx *ctx);
427 int hantro_g1_vp8_dec_run(struct hantro_ctx *ctx);
428 int rockchip_vpu2_vp8_dec_run(struct hantro_ctx *ctx);
429 int hantro_vp8_dec_init(struct hantro_ctx *ctx);
430 void hantro_vp8_dec_exit(struct hantro_ctx *ctx);
431 void hantro_vp8_prob_update(struct hantro_ctx *ctx,
434 int hantro_g2_vp9_dec_run(struct hantro_ctx *ctx);
435 void hantro_g2_vp9_dec_done(struct hantro_ctx *ctx);
436 int hantro_vp9_dec_init(struct hantro_ctx *ctx);
437 void hantro_vp9_dec_exit(struct hantro_ctx *ctx);