22 #include <vo-aacenc/voAAC.h>
23 #include <vo-aacenc/cmnMemory.h>
30 #define FRAME_SIZE 1024
31 #define ENC_DELAY 1600
60 AACENC_PARAM
params = { 0 };
81 s->
user_data.memflag = VO_IMF_USERMEMOPERATOR;
96 for (index = 0; index < 16; index++)
114 avctx->
extradata[0] = 0x02 << 3 | index >> 1;
127 VO_CODECBUFFER input = { 0 }, output = { 0 };
128 VO_AUDIO_OUTPUTINFO output_info = { { 0 } };
149 samples = (VO_PBYTE)frame->
data[0];
159 input.Buffer = samples;
161 output.Buffer = avpkt->
data;
162 output.Length = avpkt->
size;
175 avpkt->
size = output.Length;
183 96000, 88200, 64000, 48000, 44100, 32000,
184 24000, 22050, 16000, 12000, 11025, 8000, 7350
188 .
name =
"libvo_aacenc",