This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
/* |
| 2 |
* Copyright (C) 2009-2010 Felipe Contreras |
| 3 |
* |
| 4 |
* Author: Felipe Contreras <felipe.contreras@gmail.com> |
| 5 |
* |
| 6 |
* This file may be used under the terms of the GNU Lesser General Public |
| 7 |
* License version 2.1, a copy of which is found in LICENSE included in the |
| 8 |
* packaging of this file. |
| 9 |
*/ |
| 10 |
|
| 11 |
#ifndef UTIL_H |
| 12 |
#define UTIL_H |
| 13 |
|
| 14 |
#include "dsp_bridge.h" |
| 15 |
#include "dmm_buffer.h" |
| 16 |
|
| 17 |
struct _GstBuffer; |
| 18 |
|
| 19 |
bool gstdsp_register(int dsp_handle, |
| 20 |
const struct dsp_uuid *uuid, |
| 21 |
int type, |
| 22 |
const char *filename); |
| 23 |
|
| 24 |
bool gstdsp_map_buffer(void *self, |
| 25 |
struct _GstBuffer *buf, |
| 26 |
dmm_buffer_t *b); |
| 27 |
|
| 28 |
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) |
| 29 |
|
| 30 |
#endif /* UTIL_H */ |