From 282ddc84776683667e417a62186be57b97be3eab Mon Sep 17 00:00:00 2001 From: Rodeo Date: Wed, 21 Nov 2012 18:29:34 +0000 Subject: Improve support for planar audio. - encavcodecaudio: use libavresample directly (instead of via the hb_audio_resample wrapper), and add support for planar output - hb_audio_resample: add support for planar input - hb_audio_remap: add support for planar input - deca52: output planar float samples (no re-interleaving) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5073 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/audio_remap.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libhb/audio_remap.h') diff --git a/libhb/audio_remap.h b/libhb/audio_remap.h index a776fe57b..0bdd23bb7 100644 --- a/libhb/audio_remap.h +++ b/libhb/audio_remap.h @@ -40,15 +40,13 @@ typedef struct typedef struct { int nchannels; - int sample_size; int remap_needed; - hb_buffer_t *buf; hb_chan_map_t *channel_map_in; hb_chan_map_t *channel_map_out; int table[HB_AUDIO_REMAP_MAX_CHANNELS]; - void (*remap)(uint8_t *tmp_buf, uint8_t *samples, int nsamples, - int nchannels, int sample_size, int *remap_table); + void (*remap)(uint8_t **samples, int nsamples, + int nchannels, int *remap_table); } hb_audio_remap_t; /* @@ -88,7 +86,7 @@ void hb_audio_remap_free(hb_audio_remap_t *remap); * * The remap parameter can be NULL (no remapping). */ -void hb_audio_remap(hb_audio_remap_t *remap, uint8_t *samples, +void hb_audio_remap(hb_audio_remap_t *remap, uint8_t **samples, int nsamples); /* -- cgit v1.2.3