summaryrefslogtreecommitdiff
path: root/drivers/frame_provider/decoder/utils/vdec_v4l2_buffer_ops.h (plain)
blob: 8bedb88a0ae9d3a01307725870aa975eba1d0fed
1#ifndef _AML_VDEC_V4L2_BUFFER_H_
2#define _AML_VDEC_V4L2_BUFFER_H_
3
4#include "../../../amvdec_ports/vdec_drv_base.h"
5#include "../../../amvdec_ports/aml_vcodec_adapt.h"
6
7int vdec_v4l_get_buffer(
8 struct aml_vcodec_ctx *ctx,
9 struct vdec_v4l2_buffer **out);
10
11int vdec_v4l_get_pic_info(
12 struct aml_vcodec_ctx *ctx,
13 struct vdec_pic_info *pic);
14
15int vdec_v4l_set_ps_infos(
16 struct aml_vcodec_ctx *ctx,
17 struct aml_vdec_ps_infos *ps);
18
19int vdec_v4l_set_hdr_infos(
20 struct aml_vcodec_ctx *ctx,
21 struct aml_vdec_hdr_infos *hdr);
22
23int vdec_v4l_write_frame_sync(
24 struct aml_vcodec_ctx *ctx);
25
26int vdec_v4l_post_evet(
27 struct aml_vcodec_ctx *ctx,
28 u32 event);
29
30int vdec_v4l_res_ch_event(
31 struct aml_vcodec_ctx *ctx);
32
33#endif
34