blob: 3ebe9a54f5eb4a7672704a36b3942065dfc571f4 (
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
|
/*
* 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 FIMC_IS_PIPE_H
#define FIMC_IS_PIPE_H
#include "fimc-is-groupmgr.h"
enum pipe_slot_type {
PIPE_SLOT_SRC,
PIPE_SLOT_JUNCTION,
PIPE_SLOT_DST,
PIPE_SLOT_MAX,
};
struct fimc_is_pipe {
u32 id;
struct fimc_is_group *src;
struct fimc_is_group *dst;
struct fimc_is_video_ctx *vctx[PIPE_SLOT_MAX];
struct camera2_dm pipe_dm;
struct camera2_udm pipe_udm;
struct v4l2_buffer buf[PIPE_SLOT_MAX][FIMC_IS_MAX_BUFS];
struct v4l2_plane planes[PIPE_SLOT_MAX][FIMC_IS_MAX_BUFS][FIMC_IS_MAX_PLANES];
};
int fimc_is_pipe_probe(struct fimc_is_pipe *pipe);
int fimc_is_pipe_create(struct fimc_is_pipe *pipe,
struct fimc_is_group *src,
struct fimc_is_group *dst);
#endif
|