22 #include <vo-aacenc/voAAC.h>
23 #include <vo-aacenc/cmnMemory.h>
30 #define FRAME_SIZE 1024
31 #define ENC_DELAY 1600
50 #if FF_API_OLD_ENCODE_AUDIO
63 AACENC_PARAM params = { 0 };
66 #if FF_API_OLD_ENCODE_AUDIO
89 s->
user_data.memflag = VO_IMF_USERMEMOPERATOR;
104 for (index = 0; index < 16; index++)
122 avctx->
extradata[0] = 0x02 << 3 | index >> 1;
135 VO_CODECBUFFER input = { 0 }, output = { 0 };
136 VO_AUDIO_OUTPUTINFO output_info = { { 0 } };
157 samples = (VO_PBYTE)frame->
data[0];
169 output.Buffer = avpkt->
data;
170 output.Length = avpkt->
size;
183 avpkt->
size = output.Length;
191 96000, 88200, 64000, 48000, 44100, 32000,
192 24000, 22050, 16000, 12000, 11025, 8000, 7350
196 .
name =
"libvo_aacenc",