Hi, v9 implements the suggestions of Johan about removing the if. This allows to drop the odd member variable. Add a TODO list. v8 fixes cosmetic issues in sbc_init_msbc, sbcenc and sbcdec. v7 features bool instead of int for odd state. uint8_t instead of int for increment. Little refactoring of sbcinfo and copyrights update for 2013. No longer bumps version number. v6 implements sbc_init_msbc(). The SBC_MSBC flag is removed from sbc.h and replace by an internal flag in sbc_priv structure. The decoder has been validated to mSBC packets sent by an iPhone. The encoder couldn't be validated, but at least we know that libsbc encoded packets can be decoded by libsbc. I bumped version number to 1.1 to help compile time detection. v5 shoudl fix the few remaining issues. I could test neon and armv6 and raised verbosity of commit messages. Regards, Frederic Frédéric Dalleau (16): sbc: Add encoder_state to analysis functions sbc: Break 4 blocks processing to variable steps sbc: Rename sbc_analyze_4b_xx to sbc_analyze_xx sbc: Add mmx primitive for 1b 8s analysis sbc: Add armv6 primitive for 1b 8s analysis sbc: Add iwmmxt primitive for 1b 8s encoding sbc: Add plain C primitive for 1b 8s analysis sbc: Use plain C primitive if doing msbc on neon sbc: Fix input reordering for 15 blocks case sbc: Add a private boolean flag to enable 15 block encoding sbc: Declare and implement sbc_init_msbc sbc: Add support for mSBC frame header sbc: Update sbcdec for msbc sbc: Update sbcenc for msbc sbc: Update sbcinfo for msbc TODO: Add TODO list TODO | 51 +++++++ sbc/sbc.c | 324 ++++++++++++++++++++++++++++--------------- sbc/sbc.h | 1 + sbc/sbc.sym | 1 + sbc/sbc_primitives.c | 99 ++++++++++++- sbc/sbc_primitives.h | 12 +- sbc/sbc_primitives_armv6.c | 30 +++- sbc/sbc_primitives_iwmmxt.c | 32 ++++- sbc/sbc_primitives_mmx.c | 36 ++++- sbc/sbc_primitives_neon.c | 12 +- src/sbcdec.c | 22 ++- src/sbcenc.c | 108 +++++++++------ src/sbcinfo.c | 54 ++++++-- 13 files changed, 578 insertions(+), 204 deletions(-) create mode 100644 TODO -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html