Home
last modified time | relevance | path

Searched refs:setHostValue (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
DBackDropperFilter.java648 mBgDistProgram.setHostValue("subsample_level", (float)mSubsampleLevel); in allocateFrames()
651 mBgMaskProgram.setHostValue("accept_variance", mAcceptStddev * mAcceptStddev); in allocateFrames()
653 mBgMaskProgram.setHostValue("yuv_weights", yuvWeights ); in allocateFrames()
654 mBgMaskProgram.setHostValue("scale_lrg", mHierarchyLrgScale); in allocateFrames()
655 mBgMaskProgram.setHostValue("scale_mid", mHierarchyMidScale); in allocateFrames()
656 mBgMaskProgram.setHostValue("scale_sml", mHierarchySmlScale); in allocateFrames()
657 mBgMaskProgram.setHostValue("exp_lrg", (float)(mSubsampleLevel + mHierarchyLrgExp)); in allocateFrames()
658 mBgMaskProgram.setHostValue("exp_mid", (float)(mSubsampleLevel + mHierarchyMidExp)); in allocateFrames()
659 mBgMaskProgram.setHostValue("exp_sml", (float)(mSubsampleLevel + mHierarchySmlExp)); in allocateFrames()
666 mBgSubtractProgram.setHostValue("bg_fit_transform", DEFAULT_BG_FIT_TRANSFORM); in allocateFrames()
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DLomoishFilter.java163 mProgram.setHostValue("scale", scale); in initParameters()
164 mProgram.setHostValue("inv_max_dist", 1.0f / max_dist); in initParameters()
166 mProgram.setHostValue("stepsize", 1.0f / 255.0f); in initParameters()
167 mProgram.setHostValue("stepsizeX", 1.0f / mWidth); in initParameters()
168 mProgram.setHostValue("stepsizeY", 1.0f / mHeight); in initParameters()
171 mProgram.setHostValue("seed", seed); in initParameters()
DAutoFixFilter.java189 mShaderProgram.setHostValue("shift_scale", 1.0f / 256f); in initParameters()
190 mShaderProgram.setHostValue("hist_offset", 0.5f / 766f); in initParameters()
191 mShaderProgram.setHostValue("hist_scale", 765f / 766f); in initParameters()
192 mShaderProgram.setHostValue("density_offset", 0.5f / 1024f); in initParameters()
193 mShaderProgram.setHostValue("density_scale", 1023f / 1024f); in initParameters()
194 mShaderProgram.setHostValue("scale", mScale); in initParameters()
232 mShaderProgram.setHostValue("scale", mScale); in fieldPortValueUpdated()
DSaturateFilter.java144 mBenProgram.setHostValue("weights", weights); in initParameters()
145 mBenProgram.setHostValue("shift", shift); in initParameters()
147 mHerfProgram.setHostValue("weights", weights); in initParameters()
161 mHerfProgram.setHostValue("exponents", exponents); in updateParameters()
163 mBenProgram.setHostValue("scale", 1.0f + mScale); in updateParameters()
DBlackWhiteFilter.java120 mProgram.setHostValue("black", mBlack); in updateParameters()
121 mProgram.setHostValue("scale", scale); in updateParameters()
122 mProgram.setHostValue("stepsize", stepsize); in updateParameters()
125 mProgram.setHostValue("seed", seed); in updateParameters()
DVignetteFilter.java103 mProgram.setHostValue("scale", scale); in initParameters()
104 mProgram.setHostValue("inv_max_dist", 1f / max_dist); in initParameters()
105 mProgram.setHostValue("shade", mShade); in initParameters()
115 mProgram.setHostValue("range", 1.30f - (float) Math.sqrt(mScale) * 0.7f); in updateParameters()
DDocumentaryFilter.java154 mProgram.setHostValue("scale", scale); in initParameters()
155 mProgram.setHostValue("inv_max_dist", 1.0f / max_dist); in initParameters()
156 mProgram.setHostValue("stepsize", 1.0f / 255.0f); in initParameters()
159 mProgram.setHostValue("seed", seed); in initParameters()
DFisheyeFilter.java166 mProgram.setHostValue("scale", scale); in updateProgramParams()
167 mProgram.setHostValue("radius2",radius2); in updateProgramParams()
168 mProgram.setHostValue("factor", factor); in updateProgramParams()
169 mProgram.setHostValue("alpha", alpha); in updateProgramParams()
DGrainFilter.java128 mNoiseProgram.setHostValue("seed", seed); in updateParameters()
130 mGrainProgram.setHostValue("scale", mScale); in updateParameters()
138 mGrainProgram.setHostValue("stepX", 0.5f / mWidth); in updateFrameSize()
139 mGrainProgram.setHostValue("stepY", 0.5f / mHeight); in updateFrameSize()
DSharpenFilter.java132 mProgram.setHostValue("stepsizeX", 1.0f / mWidth); in updateFrameSize()
133 mProgram.setHostValue("stepsizeY", 1.0f / mHeight); in updateFrameSize()
139 mProgram.setHostValue("scale", mScale); in updateParameters()
DFillLightFilter.java133 mProgram.setHostValue("mult", mult); in updateParameters()
134 mProgram.setHostValue("igamma", igamma); in updateParameters()
DTintFilter.java117 mProgram.setHostValue("color_ratio", color_ratio); in initParameters()
127 mProgram.setHostValue("tint", tint_color); in updateParameters()
DDuotoneFilter.java119 mProgram.setHostValue("first", first); in updateParameters()
120 mProgram.setHostValue("second", second); in updateParameters()
DSepiaFilter.java106 mProgram.setHostValue("matrix", weights); in initParameters()
DColorTemperatureFilter.java115 mProgram.setHostValue("scale", 2.0f * mScale - 1.0f); in updateParameters()
DDrawRectFilter.java120 mProgram.setHostValue("color", color); in renderBox()
DToPackedGrayFilter.java123 mProgram.setHostValue("pix_stride", 1.0f / ow); in process()
DRedEyeFilter.java101 mProgram.setHostValue("intensity", DEFAULT_RED_INTENSITY); in initProgram()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DProgram.java38 public abstract void setHostValue(String variableName, Object value); in setHostValue() method in Program
DProgramVariable.java46 mProgram.setHostValue(mVarName, value); in setValue()
DProgramPort.java50 program.setHostValue(mVarName, mValue); in transfer()
DNativeProgram.java126 public void setHostValue(String variableName, Object value) { in setHostValue() method in NativeProgram
DShaderProgram.java132 public void setHostValue(String variableName, Object value) { in setHostValue() method in ShaderProgram