diff options
author | Rodeo <[email protected]> | 2012-11-21 18:29:34 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-11-21 18:29:34 +0000 |
commit | 282ddc84776683667e417a62186be57b97be3eab (patch) | |
tree | fa4f2bd306b5eb06aa28af2bbe507a3f9b8b091b /libhb/audio_remap.h | |
parent | 8612b1b6ab0a60a9b9cca384ca62f8a12d3cbb5b (diff) |
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
Diffstat (limited to 'libhb/audio_remap.h')
-rw-r--r-- | libhb/audio_remap.h | 8 |
1 files changed, 3 insertions, 5 deletions
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); /* |