summaryrefslogtreecommitdiff
path: root/drivers/frame_provider/decoder/utils/vdec_v4l2_buffer_ops.h (plain)
blob: b26cf51d4722a3c9e94c1c3a24b565e0821676fb
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_set_pic_infos(
12 struct aml_vcodec_ctx *ctx,
13 struct aml_vdec_pic_infos *info);
14
15int vdec_v4l_set_hdr_infos(
16 struct aml_vcodec_ctx *ctx,
17 struct aml_vdec_hdr_infos *hdr);
18
19int vdec_v4l_write_frame_sync(
20 struct aml_vcodec_ctx *ctx);
21
22#endif
23