blob: 6227a8b2ffe65cb85145d4a8c82ed4c3f81a8c37
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_pic_infos( |
12 | struct aml_vcodec_ctx *ctx, |
13 | struct aml_vdec_pic_infos *info); |
14 | |
15 | int vdec_v4l_write_frame_sync( |
16 | struct aml_vcodec_ctx *ctx); |
17 | |
18 | int vdec_v4l_binding_fd_and_vf( |
19 | ulong v4l_handle, |
20 | void *vf); |
21 | |
22 | #endif |
23 |