Re: [x265] [PATCH] TComYuv::addAvg, primitive function for luma and chroma loops

2013-11-18 Thread chen
@@ -640,26 +621,9 @@ width = m_hChromaShift; height = m_vChromaShift; -for (y = height - 1; y = 0; y--) -{ -for (x = width - 1; x = 0; ) -{ -// note: chroma min width is 2 -dstU[x] = ClipC((srcU0[x] +

Re: [x265] [PATCH] TComYuv::addAvg, primitive function for luma and chroma loops

2013-11-18 Thread Deepthi Nandakumar
Pushed. But next time, please organize your patches more clearly. 1. Add C primitive, if it does not exist. 2. Add the function pointer declarations and new primitive declarations to EncoderPrimitives struct. 3. Add testbench code for primitives. 4. Add asm code. Once all above patches have been