Here is my first attempt at a new audio encoding API. I haven't included an implementation in any encoders yet, and the existing encoders have not all been thoroughly tested (although FATE does pass).
I just want to get reactions and/or suggestions for moving forward. Thanks, Justin Justin Ruggles (4): avcodec: Add CODEC_CAP_VARIABLE_FRAME_SIZE capability. avcodec: add a public function, avcodec_fill_audio_frame(). avcodec: Add avcodec_encode_audio2() as replacement for avcodec_encode_audio() avcodec: bump minor version and add APIChanges for the new audio encoding API doc/APIchanges | 8 ++ libavcodec/avcodec.h | 83 +++++++++++++++-- libavcodec/g722enc.c | 1 + libavcodec/internal.h | 17 ++++ libavcodec/pcm.c | 1 + libavcodec/utils.c | 242 +++++++++++++++++++++++++++++++++++++++---------- libavcodec/version.h | 5 +- 7 files changed, 301 insertions(+), 56 deletions(-) _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel