Searched refs:inputs (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DProgram.java27 public abstract void process(Frame[] inputs, Frame output); argument
30 Frame[] inputs = new Frame[1];
31 inputs[0] = input;
32 process(inputs, output);
H A DNativeProgram.java98 public void process(Frame[] inputs, Frame output) { argument
102 NativeFrame[] nativeInputs = new NativeFrame[inputs.length];
103 for (int i = 0; i < inputs.length; ++i) {
104 if (inputs[i] == null || inputs[i] instanceof NativeFrame) {
105 nativeInputs[i] = (NativeFrame)inputs[i];
173 private native boolean callNativeProcess(NativeFrame[] inputs, NativeFrame output); argument
H A DFilterFunction.java66 // Setup the inputs
96 public Frame executeWithArgList(Object... inputs) { argument
97 return execute(KeyValueMap.fromKeyValues(inputs));
H A DShaderProgram.java88 public void process(Frame[] inputs, Frame output) { argument
97 GLFrame[] glInputs = new GLFrame[inputs.length];
98 for (int i = 0; i < inputs.length; ++i) {
99 if (inputs[i] instanceof GLFrame) {
100 glInputs[i] = (GLFrame)inputs[i];
259 private native boolean shaderProcess(GLFrame[] inputs, GLFrame output); argument
/frameworks/ml/bordeaux/learning/multiclass_pa/native/
H A Dmulticlass_pa.cpp70 float MulticlassPA::Score(const vector<float>& inputs, argument
72 // CHECK_EQ(inputs.size(), parameters.size());
74 for (int i = 0; i < static_cast<int>(inputs.size()); ++i) {
75 result += inputs[i] * parameters[i];
80 float MulticlassPA::SparseScore(const vector<pair<int, float> >& inputs, argument
83 for (int i = 0; i < static_cast<int>(inputs.size()); ++i) {
84 //DCHECK_GE(inputs[i].first, 0);
85 //DCHECK_LT(inputs[i].first, parameters.size());
86 result += inputs[i].second * parameters[inputs[
108 TrainOneExample(const vector<float>& inputs, int target) argument
140 SparseTrainOneExample( const vector<pair<int, float> >& inputs, int target) argument
198 GetClass(const vector<float>& inputs) argument
212 SparseGetClass(const vector<pair<int, float> >& inputs) argument
[all...]
H A Dmulticlass_pa.h49 float Score(const std::vector<float>& inputs,
51 float SparseScore(const std::vector<std::pair<int, float> >& inputs,
55 float L2NormSquare(const std::vector<float>& inputs) const;
56 float SparseL2NormSquare(const std::vector<std::pair<int, float> >& inputs) const;
61 virtual float TrainOneExample(const std::vector<float>& inputs, int target);
63 const std::vector<std::pair<int, float> >& inputs, int target);
73 virtual int GetClass(const std::vector<float>& inputs);
74 virtual int SparseGetClass(const std::vector<std::pair<int, float> >& inputs);
/frameworks/base/media/mca/filterpacks/native/imageproc/
H A Dinvert.c21 int invert_process(const char** inputs, argument
36 const char* input_ptr = inputs[0];
H A Dto_rgba.c21 int gray_to_rgb_process(const char** inputs, argument
36 const char* input_ptr = inputs[0];
52 int rgba_to_rgb_process(const char** inputs, argument
67 const char* input_ptr = inputs[0];
84 int gray_to_rgba_process(const char** inputs, argument
99 const char* input_ptr = inputs[0];
116 int rgb_to_rgba_process(const char** inputs, argument
131 const char* input_ptr = inputs[0];
H A Dbrightness.c49 int brightness_process(const char** inputs, argument
68 const int* input_ptr = (int*)inputs[0];
H A Dcontrast.c44 int contrast_process(const char** inputs, argument
63 const char* input_ptr = inputs[0];
/frameworks/av/services/audiopolicy/
H A Daudio_policy.conf114 inputs {
136 inputs {
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/
H A Djni_multiclass_pa.cpp72 vector<pair<int, float> > inputs; local
74 CreateIndexValuePairs(indices, values, value_len, &inputs);
75 classifier->SparseTrainOneExample(inputs, target);
105 vector<pair<int, float> > inputs; local
106 CreateIndexValuePairs(indices, values, value_len, &inputs);
109 return classifier->SparseGetClass(inputs);
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableReprocessFormatsMap.java54 int[] inputs = StreamConfigurationMap.imageFormatToInternal(value.getInputs());
55 for (int input : inputs) {
106 int[] inputs = value.getInputs();
107 for (int input : inputs) {
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DImageCombineFilter.java85 Frame[] inputs = new Frame[mInputNames.length];
87 inputs[i++] = pullInput(inputName);
91 Frame output = context.getFrameManager().newFrame(inputs[0].getFormat());
94 updateProgramWithTarget(inputs[0].getFormat().getTarget(), context);
97 mProgram.process(inputs, output);
H A DBitmapOverlayFilter.java111 Frame[] inputs = {input, frame};
112 mProgram.process(inputs, output);
H A DGrainFilter.java183 Frame[] inputs = {input, noiseFrame};
184 mGrainProgram.process(inputs, output);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DReprocessFormatsMap.java124 * @return an array of inputs (possibly empty, but never {@code null})
130 final int[] inputs = new int[mInputCount];
160 inputs[j] = format;
163 return StreamConfigurationMap.imageFormatToPublic(inputs);
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.cpp103 bool NativeProgram::CallProcess(const std::vector<const char*>& inputs, argument
108 return process_function_(const_cast<const char**>(&inputs[0]),
110 inputs.size(),
H A Dnative_program.h56 bool CallProcess(const std::vector<const char*>& inputs,
/frameworks/rs/cpu_ref/
H A DrsCpuScriptGroup2.cpp255 const vector<const char*>& inputs, const vector<string>& kernelBatches,
276 for (const char* input : inputs) {
312 const std::vector<const char*>& inputs,
323 const int index = find(inputs.begin(), inputs.end(), bitcodeFilename) -
324 inputs.begin();
409 std::vector<const char*> inputs(inputSet.begin(), inputSet.end());
423 generateSourceSlot(mCpuRefImpl, *batch->mClosures.front()->mClosure, inputs, ss);
427 generateSourceSlot(mCpuRefImpl, *cpuClosure->mClosure, inputs, ss);
447 setupCompileArguments(inputs, kernelBatche
254 setupCompileArguments( const vector<const char*>& inputs, const vector<string>& kernelBatches, const vector<string>& invokeBatches, const char* outputDir, const char* outputFileName, const char* coreLibPath, const char* coreLibRelaxedPath, const bool emitGlobalInfo, const bool emitGlobalInfoSkipConstant, int optLevel, vector<const char*>* args) argument
310 generateSourceSlot(RsdCpuReferenceImpl* ctxt, const Closure& closure, const std::vector<const char*>& inputs, std::stringstream& ss) argument
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_program.cpp133 jobjectArray inputs,
138 if (!program || !inputs) {
143 const int input_count = env->GetArrayLength(inputs);
149 jobject input = env->GetObjectArrayElement(inputs, i);
131 Java_android_filterfw_core_NativeProgram_callNativeProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument
/frameworks/rs/rsov/compiler/
H A DWrapper.cpp166 std::vector<IdRef> inputs; local
184 inputs.push_back(IdRef(input));
190 inputs.push_back(XValue);
192 inputs.push_back(YValue);
194 inputs.push_back(ZValue);
201 b.MakeFunctionCall(resultType, kernel->getInstruction(), inputs);
/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java31 * A script group may take inputs and generate outputs, which are consumed and
33 * Inside a script group, outputs from one kernel can be passed to another kernel as inputs.
353 * An opaque class for script group inputs
410 List<Input> inputs, Future[] outputs) {
414 mInputs2 = inputs;
429 * @param inputs Values for inputs to the script group, in the order as the
430 * inputs are added via {@link Builder2#addInput}.
435 public Object[] execute(Object... inputs) { argument
436 if (inputs
409 ScriptGroup(RenderScript rs, String name, List<Closure> closures, List<Input> inputs, Future[] outputs) argument
[all...]
/frameworks/native/cmds/surfacereplayer/replayer/
H A DReplayer.cpp218 std::vector<std::string> inputs = split(input, ' ');
220 if (inputs[0] == "n") { // next vsync
224 } else if (inputs[0] == "ni") { // next increment
227 } else if (inputs[0] == "c") { // continue
228 if (inputs.size() > 1 && isNumber(inputs[1])) {
229 long milliseconds = stoi(inputs[1]);
241 } else if (inputs[0] == "s") { // stop at this timestamp
242 if (inputs.size() < 1) {
247 mStopTimeStamp = stol(inputs[
[all...]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptGroup.java34 * A script group may take inputs and generate outputs, which are consumed and
36 * Inside a script group, outputs from one kernel can be passed to another kernel as inputs.
348 * An opaque class for unbound values (used for script group inputs)
404 List<Input> inputs, Future[] outputs) {
412 mInputs2 = inputs;
427 * @param inputs inputs to the script group
431 public Object[] execute(Object... inputs) { argument
432 if (inputs.length < mInputs2.size()) {
433 Log.e(TAG, this.toString() + " receives " + inputs
403 ScriptGroup(RenderScript rs, String name, List<Closure> closures, List<Input> inputs, Future[] outputs) argument
[all...]

Completed in 429 milliseconds

123