History log of /system/media/audio_utils/primitives.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e0ccb20d0b3ab5c686508a7b1413928320ec2d1f 28-Jul-2014 Andy Hung <hunga@google.com> Update channel conversion to handle 1 and 3 byte samples

Change-Id: I274def198e0d4d307dd3cffb1fd8c7662d0bb15b
/system/media/audio_utils/primitives.c
3af2af2518dc5534c94285e77d39d0fc729ed917 23-May-2014 Andy Hung <hunga@google.com> Add memcpy_by_channel_mask and memcpy_by_index_array

These functions are used for multichannel conversion.
Another function memcpy_by_index_array_initialization()
is provided to help set index arrays.

Change-Id: Ib12f0f83d5892158c5d1681bb4fdf608ee05d20d
/system/media/audio_utils/primitives.c
eee45154f377e6fc9face02b44ec10a831d98ef7 02-May-2014 Glenn Kasten <gkasten@google.com> Add memcpy_to_p24_from_q8_23 and clamp24_from_q8_23

Change-Id: Ibe712c7b1e0fa4efd9a3e8f9dee11080f6c68941
/system/media/audio_utils/primitives.c
b878e52fd43ea10f8d45eb29e5901ec1c8fb7278 04-Apr-2014 Andy Hung <hunga@google.com> Add q4_27 conversion from float with tests

Change-Id: If7cb0b1e1fbd34202a4be69e91cb2c8743ab0ad6
Signed-off-by: Andy Hung <hunga@google.com>
/system/media/audio_utils/primitives.c
d2a25cda1c23cc7092824028c49b2bce2cbb4ca2 02-Apr-2014 Andy Hung <hunga@google.com> Change references of Q19.12 to Q4.27 for clarity

Change-Id: Ic8585026942ff509971193d780c2378f3df4cb0c
Signed-off-by: Andy Hung <hunga@google.com>
/system/media/audio_utils/primitives.c
65b5ccd2a7a7c756db2cfa627ac75d17eb0484c2 18-Mar-2014 Andy Hung <hunga@google.com> Rename to clamp16_from_float for naming consistency

clamp16FromFloat changes to clamp16_from_float.

Change-Id: I01921b1cdc0ba890d347fb57cbe9585c4996ffeb
Signed-off-by: Andy Hung <hunga@google.com>
/system/media/audio_utils/primitives.c
d5829888ea3839910dcf7c94f3308d469c46b7fa 12-Mar-2014 Andy Hung <hunga@google.com> Add support for Q8.23 data in audio primitives

Change-Id: I420f1564c0f2c46c81e4596b9d76506e1ebc4a14
Signed-off-by: Andy Hung <hunga@google.com>
/system/media/audio_utils/primitives.c
2c63fb60f8086000645e82cfb384cc8dfc5d1634 12-Mar-2014 Andy Hung <hunga@google.com> Add i32 Q0.31 support to audio primitives

Change-Id: I118b5eacc9e348cbab8fc51bdf1d498fcbe25241
Signed-off-by: Andy Hung <hunga@google.com>
/system/media/audio_utils/primitives.c
e0454e2f58e18d954a3de3fa9a9c0e1be3d56f57 06-Mar-2014 Andy Hung <hunga@google.com> Add additional audio format conversion for packed 24 bit

Change-Id: Id1c6a3de9dab629e4a4ec716acd09e1dbc990935
Signed-off-by: Andy Hung <hunga@google.com>
/system/media/audio_utils/primitives.c
42605b3647a59243f15a4f1756d70dc69cd1db6a 01-Mar-2014 Andy Hung <hunga@google.com> Add float_from_q19_12 inline primitive

Unifies conversion to float from Q19.12 integer format.

Change-Id: Ic6f81019c19321f4bbc3d231276a60510419a901
Signed-off-by: Andy Hung <hunga@google.com>
/system/media/audio_utils/primitives.c
5e9fd43d045ff5bf98159d9c0a1aa0d22d6c4372 27-Feb-2014 Andy Hung <hunga@google.com> Merge "Add Q19.12 to float conversion"
f47de83e0d7aa60ac1b6d1b293108d29aad0987d 27-Feb-2014 Andy Hung <hunga@google.com> Merge "Fix float to i16 conversion in primitives.c"
aecb15eb579434bbc980892b3707374340e00138 25-Feb-2014 Andy Hung <hunga@google.com> Add Q19.12 to float conversion

Change-Id: I4c9affada24da4a61afff83442fc74bb0db41549
Signed-off-by: Andy Hung <hunga@google.com>
/system/media/audio_utils/primitives.c
db29e694d15e4993ccbacd897bec3b531c3989a9 25-Feb-2014 Andy Hung <hunga@google.com> Fix float to i16 conversion in primitives.c

Updated memcpy_to_i16_from_float():
Made bit-accurate invertible with power of 2 scaling.
Also removed discontinuity around 0 (round versus truncate).

Added clamp16FromFloat() to clamp float audio range of
[-1.0, 1.0) to int16_t.

Change-Id: I45b23f32ae46a4d7f86c8e5482ee43538298ce89
Signed-off-by: Andy Hung <hunga@google.com>
/system/media/audio_utils/primitives.c
eb247dfc917ebfb02e164cdd82ce5fa2c0815369 21-Feb-2014 Glenn Kasten <gkasten@google.com> Add non-zero sample and frame counting functions

Change-Id: Ib140f83d04bb98f01f15fa87f02fbd85ca597bd3
/system/media/audio_utils/primitives.c
5d43605288f444eb30999334642253283941fb3d 21-Jun-2013 Glenn Kasten <gkasten@google.com> Add memcpy_to_i16_from_i32 and memcpy_to_i16_from_float

Change-Id: I0c74d99f3201dbd7f51ba0a6e85c51c207c1db1f
/system/media/audio_utils/primitives.c
7ef795a9d1ac0f3f464e0e7a54aeca00bf94215b 17-Jul-2013 Glenn Kasten <gkasten@google.com> Minor resampler cleanup: comments and qualifier order

Add comments for utility function used by resampler.
Use const int32_t * not int32_t const *.

Change-Id: Iaa5d6a5f7f77178ce0492dc77dcc5c1204271e5f
/system/media/audio_utils/primitives.c
78da2acdd7aa14fe9920d1ad3074e445332de27d 12-Nov-2012 Glenn Kasten <gkasten@google.com> Add memcpy_to_u8_from_i16 to libaudioutils

Change-Id: I20066dbfaf8828d9d32266c589beaf3860677bc8
/system/media/audio_utils/primitives.c
7a0bacaf9634d6bf0abbea9608fb15e94a675358 19-Jul-2012 Glenn Kasten <gkasten@google.com> Add mono <-> stereo upmix and downmix routines

Change-Id: I3d960fb27fd3440f903333903c0dbf2ab59d3b56
/system/media/audio_utils/primitives.c
ddb2e930bef3d1be1627c613fb8f3df848166ac7 16-Jan-2012 Glenn Kasten <gkasten@google.com> Move memcpy_to_i16_from_u8 from libmedia

Change-Id: I178b953767f11abcca721efcd7f255d0cb2f3bd0
/system/media/audio_utils/primitives.c
632e0c016c9a518b36f09988b740b3bc1199c3e4 16-Dec-2011 Glenn Kasten <gkasten@google.com> Extract out audio DSP primitives from AudioFlinger

Change-Id: If7e8d934f773981e1f63c16aa57ada37dc8d3cd6
/system/media/audio_utils/primitives.c