Home
last modified time | relevance | path

Searched refs:data_out_index (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/a2dp/
Da2dp_vendor_aptx_hd_encoder.cc113 size_t* data_out_index, uint32_t* data32_in,
436 size_t* data_out_index, uint32_t* data32_in, in aptx_hd_encode_24bit() argument
462 data_out[*data_out_index + 0] = *(encoded_ptr + 2); in aptx_hd_encode_24bit()
463 data_out[*data_out_index + 1] = *(encoded_ptr + 1); in aptx_hd_encode_24bit()
464 data_out[*data_out_index + 2] = *(encoded_ptr + 0); in aptx_hd_encode_24bit()
465 data_out[*data_out_index + 3] = *(encoded_ptr + 6); in aptx_hd_encode_24bit()
466 data_out[*data_out_index + 4] = *(encoded_ptr + 5); in aptx_hd_encode_24bit()
467 data_out[*data_out_index + 5] = *(encoded_ptr + 4); in aptx_hd_encode_24bit()
470 *data_out_index += 6; in aptx_hd_encode_24bit()
Da2dp_vendor_aptx_encoder.cc113 size_t* data_out_index, uint16_t* data16_in,
447 size_t* data_out_index, uint16_t* data16_in, in aptx_encode_16bit() argument
466 data_out[*data_out_index + 0] = (uint8_t)((encoded_sample[0] >> 8) & 0xff); in aptx_encode_16bit()
467 data_out[*data_out_index + 1] = (uint8_t)((encoded_sample[0] >> 0) & 0xff); in aptx_encode_16bit()
468 data_out[*data_out_index + 2] = (uint8_t)((encoded_sample[1] >> 8) & 0xff); in aptx_encode_16bit()
469 data_out[*data_out_index + 3] = (uint8_t)((encoded_sample[1] >> 0) & 0xff); in aptx_encode_16bit()
473 *data_out_index += 4; in aptx_encode_16bit()