[x265] [PATCH] asm : Hook up chroma_vps and chroma_vss with the encoder
nabajit at multicorewareinc.com
nabajit at multicorewareinc.com
Thu Jan 23 14:31:45 CET 2014
# HG changeset patch
# User Nabajit Deka
# Date 1390483898 -19800
# Thu Jan 23 19:01:38 2014 +0530
# Node ID 5c0c349ad908278b35626585724a27d62edf8cec
# Parent 71c12aab80765991cc78f42f7cc18f7b20ae1f53
asm : Hook up chroma_vps and chroma_vss with the encoder.
diff -r 71c12aab8076 -r 5c0c349ad908 source/Lib/TLibCommon/TComPrediction.cpp
--- a/source/Lib/TLibCommon/TComPrediction.cpp Thu Jan 23 18:41:10 2014 +0530
+++ b/source/Lib/TLibCommon/TComPrediction.cpp Thu Jan 23 19:01:38 2014 +0530
@@ -572,8 +572,8 @@
}
else if (xFrac == 0)
{
- primitives.ipfilter_ps[FILTER_V_P_S_4](refCb, refStride, dstCb, dstStride, cxWidth, cxHeight, g_chromaFilter[yFrac]);
- primitives.ipfilter_ps[FILTER_V_P_S_4](refCr, refStride, dstCr, dstStride, cxWidth, cxHeight, g_chromaFilter[yFrac]);
+ primitives.chroma[csp].filter_vps[partEnum](refCb, refStride, dstCb, dstStride, yFrac);
+ primitives.chroma[csp].filter_vps[partEnum](refCr, refStride, dstCr, dstStride, yFrac);
}
else
{
@@ -581,9 +581,9 @@
int filterSize = NTAPS_CHROMA;
int halfFilterSize = (filterSize >> 1);
primitives.chroma[csp].filter_hps[partEnum](refCb, refStride, m_immedVals, extStride, xFrac, 1);
- primitives.ipfilter_ss[FILTER_V_S_S_4](m_immedVals + (halfFilterSize - 1) * extStride, extStride, dstCb, dstStride, cxWidth, cxHeight, yFrac);
+ primitives.chroma[csp].filter_vss[partEnum](m_immedVals + (halfFilterSize - 1) * extStride, extStride, dstCb, dstStride, yFrac);
primitives.chroma[csp].filter_hps[partEnum](refCr, refStride, m_immedVals, extStride, xFrac, 1);
- primitives.ipfilter_ss[FILTER_V_S_S_4](m_immedVals + (halfFilterSize - 1) * extStride, extStride, dstCr, dstStride, cxWidth, cxHeight, yFrac);
+ primitives.chroma[csp].filter_vss[partEnum](m_immedVals + (halfFilterSize - 1) * extStride, extStride, dstCr, dstStride, yFrac);
}
}
More information about the x265-devel
mailing list