blob: 13f3543daada222c38aa029ea80518bd3aba217f
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 | |
7 | int vdec_v4l_get_buffer( |
8 | struct aml_vcodec_ctx *ctx, |
9 | struct vdec_v4l2_buffer **out); |
10 | |
11 | int vdec_v4l_set_ps_infos( |
12 | struct aml_vcodec_ctx *ctx, |
13 | struct aml_vdec_ps_infos *ps); |
14 | |
15 | int vdec_v4l_set_hdr_infos( |
16 | struct aml_vcodec_ctx *ctx, |
17 | struct aml_vdec_hdr_infos *hdr); |
18 | |
19 | int vdec_v4l_write_frame_sync( |
20 | struct aml_vcodec_ctx *ctx); |
21 | |
22 | int vdec_v4l_post_evet( |
23 | struct aml_vcodec_ctx *ctx, |
24 | u32 event); |
25 | |
26 | #endif |
27 |