Converts DSD data from one layout and grouping format to another.
num_bytes must be an integer multiple of the width of both input
and output format. For example, if the input format is GST_DSD_FORMAT_U32LE,
and the output format is GST_DSD_FORMAT_U16BE, then num_bytes must
be an integer multiple of both 4 (U32LE width) and 2 (U16BE width).
reverse_byte_bits is necessary if the bit order within the DSD bytes
needs to be reversed. This is rarely necessary, and is not to be
confused with the endianness of formats (which determines the ordering
of bytes).
input_plane_offsets must not be NULL if input_layout is set to
#GST_AUDIO_LAYOUT_NON_INTERLEAVED. The same applies to output_plane_offsets.
These plane offsets define the starting offset of the planes (there is
exactly one plane per channel) within input_data and output_data
respectively. If GST_AUDIO_LAYOUT_INTERLEAVED is used, the plane offsets
are ignored.
Converts DSD data from one layout and grouping format to another.
num_bytesmust be an integer multiple of the width of both input and output format. For example, if the input format is GST_DSD_FORMAT_U32LE, and the output format is GST_DSD_FORMAT_U16BE, thennum_bytesmust be an integer multiple of both 4 (U32LE width) and 2 (U16BE width).reverse_byte_bitsis necessary if the bit order within the DSD bytes needs to be reversed. This is rarely necessary, and is not to be confused with the endianness of formats (which determines the ordering of bytes).input_plane_offsetsmust not be NULL ifinput_layoutis set to #GST_AUDIO_LAYOUT_NON_INTERLEAVED. The same applies tooutput_plane_offsets. These plane offsets define the starting offset of the planes (there is exactly one plane per channel) withininput_dataandoutput_datarespectively. If GST_AUDIO_LAYOUT_INTERLEAVED is used, the plane offsets are ignored.