Lines Matching refs:commands
434 show_g2d_commands(task.commands); in show_g2d_task()
446 show_g2d_commands(task.commands); in debug_show_g2d_task()
571 delete [] mTask.commands.target; in ~AcrylicCompositorG2D()
573 delete [] mTask.commands.source[i]; in ~AcrylicCompositorG2D()
586 cnt += writeFilterCoefficients(mTask.commands.source[i][G2DSFR_SRC_XSCALE], in updateFilterCoefficients()
587 mTask.commands.source[i][G2DSFR_SRC_YSCALE], in updateFilterCoefficients()
588 mTask.commands.source[i][G2DSFR_IMG_COLORMODE], in updateFilterCoefficients()
984 if (!mTask.commands.target) { in reallocLayer()
985 mTask.commands.target = new uint32_t[G2DSFR_DST_FIELD_COUNT]; in reallocLayer()
986 if (!mTask.commands.target) { in reallocLayer()
991 memset(mTask.commands.target, 0, sizeof(uint32_t) * G2DSFR_DST_FIELD_COUNT); in reallocLayer()
996 delete [] mTask.commands.source[i]; in reallocLayer()
1007 mTask.commands.source[i] = new uint32_t[G2DSFR_SRC_FIELD_COUNT]; in reallocLayer()
1008 if (mTask.commands.source[i] == NULL) { in reallocLayer()
1011 delete [] mTask.commands.source[i]; in reallocLayer()
1019 memset(mTask.commands.source[i], 0, sizeof(uint32_t) * G2DSFR_SRC_FIELD_COUNT); in reallocLayer()
1035 memcpy(&task, &mTask, sizeof(mTask) - sizeof(mTask.commands)); in ioctlG2D()
1036 memcpy(task.commands.target, mTask.commands.target, sizeof(task.commands.target)); in ioctlG2D()
1039 task.commands.source[i] = mTask.commands.source[i]; in ioctlG2D()
1041 task.commands.extra = mTask.commands.extra; in ioctlG2D()
1042 task.commands.num_extra_regs = mTask.commands.num_extra_regs; in ioctlG2D()
1094 if (!prepareImage(getCanvas(), mTask.target, mTask.commands.target, -1)) { in executeG2D()
1106 prepareSolidLayer(getCanvas(), mTask.source[0], mTask.commands.source[0]); in executeG2D()
1109 mTask.commands.target[G2DSFR_DST_YCBCRMODE] = 0; in executeG2D()
1111 CSCMatrixWriter cscMatrixWriter(mTask.commands.target[G2DSFR_IMG_COLORMODE], in executeG2D()
1113 &mTask.commands.target[G2DSFR_DST_YCBCRMODE]); in executeG2D()
1115 …mTask.commands.target[G2DSFR_DST_YCBCRMODE] |= (G2D_LAYER_YCBCRMODE_OFFX | G2D_LAYER_YCBCRMODE_OFF… in executeG2D()
1121 mTask.commands.source[i], getCanvas().getImageDimension(), in executeG2D()
1127 if (!cscMatrixWriter.configure(mTask.commands.source[i][G2DSFR_IMG_COLORMODE], in executeG2D()
1129 &mTask.commands.source[i][G2DSFR_SRC_YCBCRMODE])) { in executeG2D()
1161 mTask.commands.num_extra_regs = cscMatrixWriter.getRegisterCount() + in executeG2D()
1164 … mTask.commands.num_extra_regs += getFilterCoefficientCount(mTask.commands.source, layercount); in executeG2D()
1166 …mTask.commands.extra = reinterpret_cast<g2d_reg *>(alloca(sizeof(g2d_reg) * mTask.commands.num_ext… in executeG2D()
1168 g2d_reg *regs = mTask.commands.extra; in executeG2D()