summaryrefslogtreecommitdiff
path: root/amvdec/amlv4l.h (plain)
blob: e6c0fcec32427866be1f9ed1ef7547249427c6c5
1/*
2 * Copyright (c) 2014 Amlogic, Inc. All rights reserved.
3 *
4 * This source code is subject to the terms and conditions defined in the
5 * file 'LICENSE' which is part of this source code package.
6 *
7 * Description:
8 */
9
10
11#ifndef AMLV4L_HEAD_A__
12#define AMLV4L_HEAD_A__
13#include <amvideo.h>
14
15typedef struct amlv4l_dev {
16 int v4l_fd;
17 unsigned int bufferNum;
18 vframebuf_t *vframe;
19 int type;
20 int width;
21 int height;
22 int pixformat;
23 int memory_mode;
24} amlv4l_dev_t;
25amvideo_dev_t *new_amlv4l(void);
26int amlv4l_release(amvideo_dev_t *dev);
27
28#endif//AMLV4L_HEAD_A__