Showing the changes to codec/processing/interface (1 of 42 files). Show all
Unified · Split
| @@ -169,15 +169,15 @@ typedef struct { · 168 unmodified lines | |||
| 169 | } SSceneChangeResult; | 169 | } SSceneChangeResult; |
| 170 | 170 | ||
| 171 | typedef struct { | 171 | typedef struct { |
| 172 | unsigned char* pCurY; // Y data of current frame | 172 | unsigned char* pCurY; // Y data of current frame |
| 173 | unsigned char* pRefY; // Y data of pRef frame for diff calc | 173 | unsigned char* pRefY; // Y data of pRef frame for diff calc |
| 174 | int (*pSad8x8)[4]; // sad of 8x8, every 4 in the same 16x16 get together | 174 | int (*pSad8x8)[4]; // sad of 8x8, every 4 in the same 16x16 get together |
| 175 | int* pSsd16x16; // sum of square difference of 16x16 | 175 | int* pSsd16x16; // sum of square difference of 16x16 |
| 176 | int* pSum16x16; // sum of 16x16 | 176 | int* pSum16x16; // sum of 16x16 |
| 177 | int* pSumOfSquare16x16; // sum of square of 16x16 | 177 | int* pSumOfSquare16x16; // sum of square of 16x16 |
| 178 | int (*pSumOfDiff8x8)[4]; | 178 | int (*pSumOfDiff8x8)[4]; |
| 179 | unsigned char (*pMad8x8)[4]; | 179 | unsigned char (*pMad8x8)[4]; |
| 180 | int iFrameSad; // sad of frame | 180 | int iFrameSad; // sad of frame |
| 181 | } SVAACalcResult; | 181 | } SVAACalcResult; |
| 182 | 182 | ||
| 183 | typedef struct { | 183 | typedef struct { |
| @@ -185,11 +185,11 @@ typedef struct { · 1 unmodified line | |||
| 185 | int iCalcBgd; | 185 | int iCalcBgd; |
| 186 | int iCalcSsd; | 186 | int iCalcSsd; |
| 187 | int iReserved; | 187 | int iReserved; |
| 188 | SVAACalcResult* pCalcResult; | 188 | SVAACalcResult* pCalcResult; |
| 189 | } SVAACalcParam; | 189 | } SVAACalcParam; |
| 190 | 190 | ||
| 191 | typedef struct { | 191 | typedef struct { |
| 192 | signed char* pBackgroundMbFlag; | 192 | signed char* pBackgroundMbFlag; |
| 193 | SVAACalcResult* pCalcRes; | 193 | SVAACalcResult* pCalcRes; |
| 194 | } SBGDInterface; | 194 | } SBGDInterface; |
| 195 | 195 | ||
| @@ -204,12 +204,12 @@ typedef struct { · 8 unmodified lines | |||
| 204 | } SMotionTextureUnit; | 204 | } SMotionTextureUnit; |
| 205 | 205 | ||
| 206 | typedef struct { | 206 | typedef struct { |
| 207 | int iAdaptiveQuantMode; // 0:quality mode, 1:bitrates mode | 207 | int iAdaptiveQuantMode; // 0:quality mode, 1:bitrates mode |
| 208 | SVAACalcResult* pCalcResult; | 208 | SVAACalcResult* pCalcResult; |
| 209 | SMotionTextureUnit* pMotionTextureUnit; | 209 | SMotionTextureUnit* pMotionTextureUnit; |
| 210 | 210 | ||
| 211 | signed char* pMotionTextureIndexToDeltaQp; | 211 | signed char* pMotionTextureIndexToDeltaQp; |
| 212 | int iAverMotionTextureIndexToDeltaQp; // *AQ_STEP_INT_MULTIPLY | 212 | int iAverMotionTextureIndexToDeltaQp; // *AQ_STEP_INT_MULTIPLY |
| 213 | } SAdaptiveQuantizationParam; | 213 | } SAdaptiveQuantizationParam; |
| 214 | 214 | ||
| 215 | typedef enum { | 215 | typedef enum { |