summaryrefslogtreecommitdiff
path: root/amvdec/ionv4l.h (plain)
blob: eae164c60d2159c5a9c8c84328ea519063de18b6
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 IONV4L_HEAD_A__
12#define IONV4L_HEAD_A__
13#include <ionvideo.h>
14
15typedef struct ionv4l_dev {
16 int v4l_fd;
17 unsigned int buffer_num;
18 vframebuf_t *vframe;
19 int type;
20 int width;
21 int height;
22 int pixformat;
23 int memory_mode;
24} ionv4l_dev_t;
25ionvideo_dev_t *new_ionv4l(void);
26int ionv4l_release(ionvideo_dev_t *dev);
27
28#endif//IONV4L_HEAD_A__
29