blob: b15bb2460390529b2d5fa7a2ce930195f8e1455e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/*
* Samsung Exynos5 SoC series FIMC-IS driver
*
*
* Copyright (c) 2015 Samsung Electronics Co., Ltd
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef IS_PIPE_H
#define IS_PIPE_H
#include "is-groupmgr.h"
#define IS_MAX_PIPE_BUFS (5)
enum pipe_slot_type {
PIPE_SLOT_SRC,
PIPE_SLOT_JUNCTION,
PIPE_SLOT_DST,
PIPE_SLOT_MAX,
};
struct is_pipe {
u32 id;
struct is_group *src;
struct is_group *dst;
struct is_video_ctx *vctx[PIPE_SLOT_MAX];
struct camera2_dm pipe_dm;
struct camera2_udm pipe_udm;
struct v4l2_buffer buf[PIPE_SLOT_MAX][IS_MAX_PIPE_BUFS];
struct v4l2_plane planes[PIPE_SLOT_MAX][IS_MAX_PIPE_BUFS][IS_MAX_PLANES];
};
int is_pipe_probe(struct is_pipe *pipe);
int is_pipe_create(struct is_pipe *pipe,
struct is_group *src,
struct is_group *dst);
#endif
|