summaryrefstree
path: root/kernel/include/media/exynos_tsmux.h
blob: 40b1ccfddc878785ec077ffc6ea16515f45af0a0 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
 *              http://www.samsung.com
 *
 * Header file for Exynos TSMUX driver
 *
 * 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 EXYNOS_TSMUX_H
#define EXYNOS_TSMUX_H

struct packetizing_param {
	long time_stamp;
};

#ifdef CONFIG_VIDEO_EXYNOS_TSMUX
int g2d_blending_start(int32_t index);
int g2d_blending_end(int32_t index);
int mfc_encoding_start(int32_t index);
int mfc_encoding_end(void);
int packetize(struct packetizing_param *param);
void set_es_size(unsigned int size);
void tsmux_sfr_dump(void);
#else
int g2d_blending_start(int32_t index)
{
	return -1;
}
int g2d_blending_end(int32_t index)
{
	return -1;
}
int mfc_encoding_start(int32_t index)
{
	return -1;
}
int mfc_encoding_end(void)
{
	return -1;
}
static inline int packetize(struct packetizing_param *param)
{
	return -1;
}
static inline void set_es_size(unsigned int size)
{
}

static inline void tsmux_sfr_dump(void)
{
}
#endif

#endif