annotate libmpcodecs/ae_toolame.h @ 22888:43b8a7c3595c

Use "generic" optimization instead of 686 as default for runtime-cpudetection if available. It promises to deliver optimal performance on a collection of comtemporary CPUs. patch by Zuxy Meng, zuxy.meng gmail com
author diego
date Tue, 03 Apr 2007 13:16:46 +0000
parents 92772475ed8d
children 3baf6a2283da
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13425
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
1 #ifndef MPAE_TOOLAME_H
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
2 #define MPAE_TOOLAME_H
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
3
15234
e84a6ae9d51e audio encoding reworked
nicodvb
parents: 13425
diff changeset
4 #include "ae.h"
13425
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
5 #include <toolame.h>
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
6
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
7 typedef struct {
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
8 toolame_options *toolame_ctx;
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
9 int channels, srate, bitrate;
15265
92772475ed8d toolame now works in vbr mode, too
nicodvb
parents: 15234
diff changeset
10 int vbr;
13425
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
11 int16_t left_pcm[1152], right_pcm[1152];
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
12 } mpae_toolame_ctx;
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
13
15234
e84a6ae9d51e audio encoding reworked
nicodvb
parents: 13425
diff changeset
14 int mpae_init_toolame(audio_encoder_t *encoder);
13425
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
15
a87f1a948a24 encoding to mp2 with libtoolame - only cbr atm
nicodvb
parents:
diff changeset
16 #endif