Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-14 18:42:05 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-11-14 18:42:05 +0400
commita24aef5dfa5117008c74ee2149346eebe325349d (patch)
treebd25d7a116836aed6fc274ba61415e199cb40e1e /libavcodec/twinvq.h
parent2cfdc2879a6cc2f956a8a1878a4a6490c58ad5c7 (diff)
parent1afa8a7568ba57ad0cd2923f6e641e10d32cded4 (diff)
Merge commit '1afa8a7568ba57ad0cd2923f6e641e10d32cded4'
* commit '1afa8a7568ba57ad0cd2923f6e641e10d32cded4': twinvq: support multiple frames per packet Conflicts: libavcodec/twinvq.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/twinvq.h')
-rw-r--r--libavcodec/twinvq.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/twinvq.h b/libavcodec/twinvq.h
index 44215db59b..9ff355470e 100644
--- a/libavcodec/twinvq.h
+++ b/libavcodec/twinvq.h
@@ -58,6 +58,8 @@ enum TwinVQFrameType {
#define TWINVQ_SUBBLOCKS_MAX 16
#define TWINVQ_BARK_N_COEF_MAX 4
+#define TWINVQ_MAX_FRAMES_PER_PACKET 2
+
/**
* Parameters and tables that are different for each frame type
*/
@@ -162,7 +164,8 @@ typedef struct TwinVQContext {
// scratch buffers
float *tmp_buf;
- TwinVQFrameData bits;
+ int frame_size, frames_per_packet, cur_frame;
+ TwinVQFrameData bits[TWINVQ_MAX_FRAMES_PER_PACKET];
enum TwinVQCodec codec;