File: codec_vdvi.h

package info (click to toggle)
rat 4.2.20-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,888 kB
  • ctags: 3,655
  • sloc: ansic: 36,042; sh: 3,481; tcl: 2,740; makefile: 293
file content (27 lines) | stat: -rw-r--r-- 936 bytes parent folder | download | duplicates (5)
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
/*
 * FILE:    codec_vdvi.h
 * AUTHORS: Orion Hodson
 *
 * Copyright (c) 1998-2001 University College London
 * All rights reserved.
 *
 * $Id: codec_vdvi.h,v 1.8 2001/01/08 20:29:58 ucaccsp Exp $
 */

/* Just wrote the RAT interface, see codec_dvi.c for coder copyright [oth] */

#ifndef _CODEC_VDVI_H_
#define _CODEC_VDVI_H_

uint16_t               vdvi_get_formats_count (void);
const codec_format_t* vdvi_get_format        (uint16_t idx);
int                   vdvi_state_create      (uint16_t idx, u_char **state);
void                  vdvi_state_destroy     (uint16_t idx, u_char **state);
int                   vdvi_encoder           (uint16_t idx, u_char *state, sample     *in, coded_unit *out);
int                   vdvi_decoder           (uint16_t idx, u_char *state, coded_unit *in, sample     *out);
int                   vdvi_peek_frame_size   (uint16_t idx, u_char *data, int data_len);

#endif /* _CODEC_VDVI_H_ */