Lines Matching refs:regs
151 unsigned int write(g2d_reg regs[]) { in write() argument
156 ®s[count], sRGB2YCbCrCoefficients[mMatrixTargetIndex]); in write()
162 ®s[count], YCbCr2sRGBCoefficients[mMatrixIndex[m]]); in write()
170 void writeSingle(unsigned int base, g2d_reg regs[], uint16_t matrix[9]) { in writeSingle() argument
172 regs[idx].offset = base; in writeSingle()
173 regs[idx].value = matrix[idx]; in writeSingle()
295 …d int __writeFilterCoefficients(CoefT &coef_set, unsigned int index, uint32_t base, g2d_reg regs[]) in __writeFilterCoefficients() argument
312 regs[cnt].offset = coef_base; in __writeFilterCoefficients()
313 regs[cnt].value = coef; in __writeFilterCoefficients()
340 unsigned layer_index, g2d_reg regs[]) in writeFilterCoefficients() argument
351 cnt += __writeFilterCoefficients(g2dVertFilterCoef, vindex, base, regs); in writeFilterCoefficients()
352 …riteFilterCoefficients(g2dHoriFilterCoef, hindex, base + sizeof(g2dVertFilterCoef[0]), regs + cnt); in writeFilterCoefficients()
360 cnt += __writeFilterCoefficients(g2dVertFilterCoef, vindex, base, regs + cnt); in writeFilterCoefficients()
361 …riteFilterCoefficients(g2dHoriFilterCoef, hindex, base + sizeof(g2dVertFilterCoef[0]), regs + cnt); in writeFilterCoefficients()
578 unsigned int AcrylicCompositorG2D::updateFilterCoefficients(unsigned int layercount, g2d_reg regs[]) in updateFilterCoefficients() argument
589 i, regs + cnt); in updateFilterCoefficients()
1168 g2d_reg *regs = mTask.commands.extra; in executeG2D() local
1170 regs += cscMatrixWriter.write(regs); in executeG2D()
1172 regs += updateFilterCoefficients(layercount, regs); in executeG2D()
1174 mHdrWriter.write(regs); in executeG2D()