blob: 3b22f654deb551e07d4e0c9861c5071a46e9cf7c (
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
|
/*
* Copyright (C) ST-Ericsson SA 2010
*
* ST-Ericsson B2R2 generic. Full coverage of user interface but
* non optimized implementation. For Fallback purposes.
*
* Author: Maciej Socha <maciej.socha@stericsson.com>
* for ST-Ericsson.
*
* License terms: GNU General Public License (GPL), version 2.
*/
#ifndef _LINUX_VIDEO_B2R2_GENERIC_H
#define _LINUX_VIDEO_B2R2_GENERIC_H
#include <video/b2r2_blt.h>
#include "b2r2_internal.h"
/**
* b2r2_generic_init()
*/
void b2r2_generic_init(struct b2r2_control *cont);
/**
* b2r2_generic_exit()
*/
void b2r2_generic_exit(struct b2r2_control *cont);
/**
* b2r2_generic_analyze()
*/
int b2r2_generic_analyze(const struct b2r2_blt_request *req,
s32 *work_buf_width,
s32 *work_buf_height,
u32 *work_buf_count,
u32 *node_count);
/**
* b2r2_generic_configure()
*/
int b2r2_generic_configure(const struct b2r2_blt_request *req,
struct b2r2_node *first,
struct b2r2_work_buf *tmp_bufs,
u32 buf_count);
/**
* b2r2_generic_set_areas()
*/
void b2r2_generic_set_areas(const struct b2r2_blt_request *req,
struct b2r2_node *first,
struct b2r2_blt_rect *dst_rect_area);
#endif
|