comparison adx.c @ 3445:2d042ed9dd2c libavcodec

make the adx adpcm codec available
author mru
date Sat, 08 Jul 2006 22:31:14 +0000
parents 90344fa4a1d4
children c8c591fe26f8
comparison
equal deleted inserted replaced
3444:d50b2d024968 3445:2d042ed9dd2c
383 // printf("%d:%d ",buf-buf0,*data_size); fflush(stdout); 383 // printf("%d:%d ",buf-buf0,*data_size); fflush(stdout);
384 return buf-buf0; 384 return buf-buf0;
385 } 385 }
386 386
387 #ifdef CONFIG_ENCODERS 387 #ifdef CONFIG_ENCODERS
388 AVCodec adx_adpcm_encoder = { 388 AVCodec adpcm_adx_encoder = {
389 "adx_adpcm", 389 "adpcm_adx",
390 CODEC_TYPE_AUDIO, 390 CODEC_TYPE_AUDIO,
391 CODEC_ID_ADPCM_ADX, 391 CODEC_ID_ADPCM_ADX,
392 sizeof(ADXContext), 392 sizeof(ADXContext),
393 adx_encode_init, 393 adx_encode_init,
394 adx_encode_frame, 394 adx_encode_frame,
395 adx_encode_close, 395 adx_encode_close,
396 NULL, 396 NULL,
397 }; 397 };
398 #endif //CONFIG_ENCODERS 398 #endif //CONFIG_ENCODERS
399 399
400 AVCodec adx_adpcm_decoder = { 400 AVCodec adpcm_adx_decoder = {
401 "adx_adpcm", 401 "adpcm_adx",
402 CODEC_TYPE_AUDIO, 402 CODEC_TYPE_AUDIO,
403 CODEC_ID_ADPCM_ADX, 403 CODEC_ID_ADPCM_ADX,
404 sizeof(ADXContext), 404 sizeof(ADXContext),
405 adx_decode_init, 405 adx_decode_init,
406 NULL, 406 NULL,