[FFmpeg-soc] [soc]: r5569 - amr/amrnbdata.h

cmcq subversion at mplayerhq.hu
Fri Jan 8 18:13:05 CET 2010


Author: cmcq
Date: Fri Jan  8 18:13:05 2010
New Revision: 5569

Log:
Make the set of AMRNBFrame fields used for each frametype not have large gaps.
This will allow a smaller bit-order table structure where each field is
specified by its index relative to the previous field. Previously, DTX frames
wrote a field at index 0 then a field at index 57.

Modified:
   amr/amrnbdata.h

Modified: amr/amrnbdata.h
==============================================================================
--- amr/amrnbdata.h	Wed Jan  6 17:39:19 2010	(r5568)
+++ amr/amrnbdata.h	Fri Jan  8 18:13:05 2010	(r5569)
@@ -90,10 +90,10 @@ typedef struct {
  * AMRNB unpacked data frame
  */
 typedef struct {
-    uint16_t lsf[5];           ///< lsf parameters: 5 parameters for MODE_12k2, only 3 for other modes
-    AMRNBSubframe subframe[4]; ///< unpacked data for each subframe
     uint16_t sid_vector;       ///< index of SID LSF reference vector
     uint16_t sid_energy;       ///< SID frame energy
+    uint16_t lsf[5];           ///< lsf parameters: 5 parameters for MODE_12k2, only 3 for other modes
+    AMRNBSubframe subframe[4]; ///< unpacked data for each subframe
 } AMRNBFrame;
 
 


More information about the FFmpeg-soc mailing list