[x265] [PATCH] Added function pointer type for newly created functions
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Wed Jun 26 14:04:42 CEST 2013
# HG changeset patch
# User praveentiwari
# Date 1372248270 -19800
# Node ID 440798eee5c65d555f3dbe2f2eaf939764902eda
# Parent e48f23e628df036b99694a008b2705504ea62390
Added function pointer type for newly created functions.
diff -r e48f23e628df -r 440798eee5c6 source/common/primitives.h
--- a/source/common/primitives.h Wed Jun 26 16:16:57 2013 +0530
+++ b/source/common/primitives.h Wed Jun 26 17:34:30 2013 +0530
@@ -212,6 +212,8 @@
typedef void (*transpose_t)(pixel* pDst, pixel* pSrc, intptr_t nStride);
typedef void (*filterVmulti_t)(int bitDepth, short *src, int srcStride, pixel *dstE, pixel *dstI, pixel *dstP, int dstStride, int block_width, int block_height, int marginX, int marginY);
typedef void (*filterHmulti_t)(int bitDepth, pixel *src, int srcStride, short *midF, short* midA, short* midB, short* midC, int midStride, pixel *pDstA, pixel *pDstB, pixel *pDstC, int pDstStride, int block_width, int block_height);
+typedef unsigned int (*quantCoefEAdp)(int *coef, int *quantCoeff, int *deltaU, int *qCoef, int *arlCCoef, int qBitsC, int qBits, int add, int numCoeff);
+typedef unsigned int (*quantCoefDAdp)(int *coef, int *quantCoeff, int *deltaU, int *qCoef, int qBits, int add, int numCoeff);
/* Define a structure containing function pointers to optimized encoder
* primitives. Each pointer can reference either an assembly routine,
@@ -256,6 +258,8 @@
transpose_t transpose[NUM_SQUARE_BLOCKS];
filterVmulti_t filterVmulti;
filterHmulti_t filterHmulti;
+ quantCoefEAdp calQuantCoefEAdp;
+ quantCoefDAdp calQuantCoefDAdp;
};
/* This copy of the table is what gets used by all by the encoder.
More information about the x265-devel
mailing list