OSDN Git Service

Release 1.3
[android-x86/external-bluetooth-sbc.git] / sbc / sbc_primitives.h
index a7bbef1..e01c957 100644 (file)
 
 struct sbc_encoder_state {
        int position;
+       /* Number of consecutive blocks handled by the encoder */
+       uint8_t increment;
        int16_t SBC_ALIGNED X[2][SBC_X_BUFFER_SIZE];
        /* Polyphase analysis filter for 4 subbands configuration,
-        * it handles 4 blocks at once */
-       void (*sbc_analyze_4b_4s)(struct sbc_encoder_state *state,
+        * it handles "increment" blocks at once */
+       void (*sbc_analyze_4s)(struct sbc_encoder_state *state,
                        int16_t *x, int32_t *out, int out_stride);
        /* Polyphase analysis filter for 8 subbands configuration,
-        * it handles 4 blocks at once */
-       void (*sbc_analyze_4b_8s)(struct sbc_encoder_state *state,
+        * it handles "increment" blocks at once */
+       void (*sbc_analyze_8s)(struct sbc_encoder_state *state,
                        int16_t *x, int32_t *out, int out_stride);
        /* Process input data (deinterleave, endian conversion, reordering),
         * depending on the number of subbands and input data byte order */