~ubuntu-branches/ubuntu/feisty/avidemux/feisty

« back to all changes in this revision

Viewing changes to avidemux/ADM_lavcodec/amr_float/interf_enc.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2006-12-15 17:13:20 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20061215171320-w79pvpehxx2fr217
Tags: 1:2.3.0-0.0ubuntu1
* Merge from debian-multimedia.org, remaining Ubuntu change:
  - desktop file,
  - no support for ccache and make -j.
* Closes Ubuntu: #69614.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * ===================================================================
 
3
 *  TS 26.104
 
4
 *  REL-5 V5.4.0 2004-03
 
5
 *  REL-6 V6.1.0 2004-03
 
6
 *  3GPP AMR Floating-point Speech Codec
 
7
 * ===================================================================
 
8
 *
 
9
 */
 
10
 
 
11
/*
 
12
 * interf_enc.h
 
13
 *
 
14
 *
 
15
 * Project:
 
16
 *    AMR Floating-Point Codec
 
17
 *
 
18
 * Contains:
 
19
 *    Defines interface to AMR encoder
 
20
 *
 
21
 */
 
22
 
 
23
#ifndef _interf_enc_h_
 
24
#define _interf_enc_h_
 
25
 
 
26
/*
 
27
 * include files
 
28
 */
 
29
#include"sp_enc.h"
 
30
 
 
31
/*
 
32
 * Function prototypes
 
33
 */
 
34
/*
 
35
 * Encodes one frame of speech
 
36
 * Returns packed octets
 
37
 */
 
38
int Encoder_Interface_Encode( void *st, enum Mode mode, short *speech,
 
39
 
 
40
#ifndef ETSI
 
41
      unsigned char *serial,  /* max size 31 bytes */
 
42
 
 
43
#else
 
44
      short *serial, /* size 500 bytes */
 
45
#endif
 
46
 
 
47
      int forceSpeech );   /* use speech mode */
 
48
 
 
49
/*
 
50
 * Reserve and init. memory
 
51
 */
 
52
void *Encoder_Interface_init( int dtx );
 
53
 
 
54
/*
 
55
 * Exit and free memory
 
56
 */
 
57
void Encoder_Interface_exit( void *state );
 
58
#endif