Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 30 lines (23 sloc) 0.673 kb
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
/*
* Copyright (C) 2009-2010 Felipe Contreras
*
* Author: Felipe Contreras <felipe.contreras@gmail.com>
*
* This file may be used under the terms of the GNU Lesser General Public
* License version 2.1, a copy of which is found in LICENSE included in the
* packaging of this file.
*/

#ifndef UTIL_H
#define UTIL_H

#include "dsp_bridge.h"
#include "dmm_buffer.h"

struct _GstBuffer;

bool gstdsp_register(int dsp_handle,
const struct dsp_uuid *uuid,
int type,
const char *filename);

bool gstdsp_map_buffer(void *self,
struct _GstBuffer *buf,
dmm_buffer_t *b);

#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))

#endif /* UTIL_H */
Something went wrong with that request. Please try again.