55 files changed, 11471 insertions, 2282 deletions
diff --git a/drivers/frame_provider/decoder/utils/vdec_v4l2_buffer_ops.h b/drivers/frame_provider/decoder/utils/vdec_v4l2_buffer_ops.h new file mode 100644 index 0000000..6227a8b --- a/dev/null +++ b/drivers/frame_provider/decoder/utils/vdec_v4l2_buffer_ops.h @@ -0,0 +1,22 @@ +#ifndef _AML_VDEC_V4L2_BUFFER_H_ +#define _AML_VDEC_V4L2_BUFFER_H_ + +#include "../../../amvdec_ports/vdec_drv_base.h" +#include "../../../amvdec_ports/aml_vcodec_adapt.h" + +int vdec_v4l_get_buffer( + struct aml_vcodec_ctx *ctx, + struct vdec_v4l2_buffer **out); + +int vdec_v4l_set_pic_infos( + struct aml_vcodec_ctx *ctx, + struct aml_vdec_pic_infos *info); + +int vdec_v4l_write_frame_sync( + struct aml_vcodec_ctx *ctx); + +int vdec_v4l_binding_fd_and_vf( + ulong v4l_handle, + void *vf); + +#endif |