/frameworks/ml/bordeaux/learning/multiclass_pa/native/ |
D | multiclass_pa.cpp | 68 float MulticlassPA::Score(const vector<float>& inputs, in Score() argument 72 for (int i = 0; i < static_cast<int>(inputs.size()); ++i) { in Score() 73 result += inputs[i] * parameters[i]; in Score() 78 float MulticlassPA::SparseScore(const vector<pair<int, float> >& inputs, in SparseScore() argument 81 for (int i = 0; i < static_cast<int>(inputs.size()); ++i) { in SparseScore() 84 result += inputs[i].second * parameters[inputs[i].first]; in SparseScore() 89 float MulticlassPA::L2NormSquare(const vector<float>& inputs) const { in L2NormSquare() 91 for (int i = 0; i < static_cast<int>(inputs.size()); ++i) { in L2NormSquare() 92 norm += inputs[i] * inputs[i]; in L2NormSquare() 98 const vector<pair<int, float> >& inputs) const { in SparseL2NormSquare() [all …]
|
D | multiclass_pa.h | 49 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/ |
D | to_rgba.c | 19 int gray_to_rgb_process(const char** inputs, in gray_to_rgb_process() argument 34 const char* input_ptr = inputs[0]; in gray_to_rgb_process() 50 int rgba_to_rgb_process(const char** inputs, in rgba_to_rgb_process() argument 65 const char* input_ptr = inputs[0]; in rgba_to_rgb_process() 82 int gray_to_rgba_process(const char** inputs, in gray_to_rgba_process() argument 97 const char* input_ptr = inputs[0]; in gray_to_rgba_process() 114 int rgb_to_rgba_process(const char** inputs, in rgb_to_rgba_process() argument 129 const char* input_ptr = inputs[0]; in rgb_to_rgba_process()
|
D | invert.c | 19 int invert_process(const char** inputs, in invert_process() argument 34 const char* input_ptr = inputs[0]; in invert_process()
|
D | contrast.c | 43 int contrast_process(const char** inputs, in contrast_process() argument 62 const char* input_ptr = inputs[0]; in contrast_process()
|
D | brightness.c | 48 int brightness_process(const char** inputs, in brightness_process() argument 67 const int* input_ptr = (int*)inputs[0]; in brightness_process()
|
/frameworks/compile/mclinker/lib/MC/ |
D | MCLDDriver.cpp | 40 InputTree::dfs_iterator input, inEnd = m_LDInfo.inputs().dfs_end(); in normalize() 41 for (input = m_LDInfo.inputs().dfs_begin(); input!=inEnd; ++input) { in normalize() 82 m_LDInfo.inputs().merge<InputTree::Inclusive>(input, *archive_member); in normalize() 108 mcld::InputTree::const_bfs_iterator input, inEnd = m_LDInfo.inputs().bfs_end(); in linkable() 109 for (input=m_LDInfo.inputs().bfs_begin(); input!=inEnd; ++input) { in linkable() 191 mcld::InputTree::bfs_iterator input, inEnd = m_LDInfo.inputs().bfs_end(); in readSections() 192 for (input=m_LDInfo.inputs().bfs_begin(); input!=inEnd; ++input) { in readSections() 213 mcld::InputTree::dfs_iterator input, inEnd = m_LDInfo.inputs().dfs_end(); in readSymbolTables() 214 for (input=m_LDInfo.inputs().dfs_begin(); input!=inEnd; ++input) { in readSymbolTables() 233 mcld::InputTree::dfs_iterator input, inEnd = m_LDInfo.inputs().dfs_end(); in mergeSymbolTables() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | NativeProgram.java | 98 public void process(Frame[] inputs, Frame output) { in process() argument 102 NativeFrame[] nativeInputs = new NativeFrame[inputs.length]; in process() 103 for (int i = 0; i < inputs.length; ++i) { in process() 104 if (inputs[i] == null || inputs[i] instanceof NativeFrame) { in process() 105 nativeInputs[i] = (NativeFrame)inputs[i]; in process() 173 private native boolean callNativeProcess(NativeFrame[] inputs, NativeFrame output); in callNativeProcess() argument
|
D | Program.java | 27 public abstract void process(Frame[] inputs, Frame output); in process() argument 30 Frame[] inputs = new Frame[1]; in process() local 31 inputs[0] = input; in process() 32 process(inputs, output); in process()
|
D | ShaderProgram.java | 88 public void process(Frame[] inputs, Frame output) { in process() argument 97 GLFrame[] glInputs = new GLFrame[inputs.length]; in process() 98 for (int i = 0; i < inputs.length; ++i) { in process() 99 if (inputs[i] instanceof GLFrame) { in process() 100 glInputs[i] = (GLFrame)inputs[i]; in process() 259 private native boolean shaderProcess(GLFrame[] inputs, GLFrame output); in shaderProcess() argument
|
D | FilterFunction.java | 96 public Frame executeWithArgList(Object... inputs) { in executeWithArgList() argument 97 return execute(KeyValueMap.fromKeyValues(inputs)); in executeWithArgList()
|
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/ |
D | jni_multiclass_pa.cpp | 72 vector<pair<int, float> > inputs; in Java_android_bordeaux_learning_MulticlassPA_nativeSparseTrainOneExample() local 74 CreateIndexValuePairs(indices, values, value_len, &inputs); in Java_android_bordeaux_learning_MulticlassPA_nativeSparseTrainOneExample() 75 classifier->SparseTrainOneExample(inputs, target); in Java_android_bordeaux_learning_MulticlassPA_nativeSparseTrainOneExample() 105 vector<pair<int, float> > inputs; in Java_android_bordeaux_learning_MulticlassPA_nativeSparseGetClass() local 106 CreateIndexValuePairs(indices, values, value_len, &inputs); in Java_android_bordeaux_learning_MulticlassPA_nativeSparseGetClass() 109 return classifier->SparseGetClass(inputs); in Java_android_bordeaux_learning_MulticlassPA_nativeSparseGetClass()
|
/frameworks/compile/mclinker/lib/CodeGen/ |
D | SectLinker.cpp | 115 outs() << "** name\ttype\tpath\tsize (" << info.inputs().size() << ")\n"; in doFinalization() 116 InputTree::const_dfs_iterator input, inEnd = info.inputs().dfs_end(); in doFinalization() 117 for (input=info.inputs().dfs_begin(); input!=inEnd; ++input) { in doFinalization() 207 InputTree::iterator cur_node = info.inputs().root(); in initializeInputTree() 216 info.inputs().insert(cur_node, in initializeInputTree() 229 info.inputs().insert(cur_node, in initializeInputTree() 254 info.inputs().insert(cur_node, in initializeInputTree() 263 info.inputs().enterGroup(cur_node, *prev_ward); in initializeInputTree()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | ImageCombineFilter.java | 91 Frame[] inputs = new Frame[mInputNames.length]; in process() local 93 inputs[i++] = pullInput(inputName); in process() 97 Frame output = context.getFrameManager().newFrame(inputs[0].getFormat()); in process() 100 updateProgramWithTarget(inputs[0].getFormat().getTarget(), context); in process() 103 mProgram.process(inputs, output); in process()
|
D | BitmapOverlayFilter.java | 117 Frame[] inputs = {input, frame}; in process() local 118 mProgram.process(inputs, output); in process()
|
D | GrainFilter.java | 188 Frame[] inputs = {input, noiseFrame}; in process() local 189 mGrainProgram.process(inputs, output); in process()
|
D | RedEyeFilter.java | 139 Frame[] inputs = {input, mRedEyeFrame}; in process() local 140 mProgram.process(inputs, output); in process()
|
D | AutoFixFilter.java | 262 Frame[] inputs = {input, mHistFrame, mDensityFrame}; in process() local 263 mShaderProgram.process(inputs, output); in process()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | native_program.cpp | 103 bool NativeProgram::CallProcess(const std::vector<const char*>& inputs, in CallProcess() argument 108 return process_function_(const_cast<const char**>(&inputs[0]), in CallProcess() 110 inputs.size(), in CallProcess()
|
D | native_program.h | 56 bool CallProcess(const std::vector<const char*>& inputs,
|
/frameworks/compile/mclinker/ |
D | VERSION.in | 18 If any inputs/outputs have been changed, set AGE to 0. 19 If all inputs/outputs/ are not changed, but make a significant change, increase MICRO.
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_native_program.cpp | 132 jobjectArray inputs, in Java_android_filterfw_core_NativeProgram_callNativeProcess() argument 137 if (!program || !inputs) { in Java_android_filterfw_core_NativeProgram_callNativeProcess() 142 const int input_count = env->GetArrayLength(inputs); in Java_android_filterfw_core_NativeProgram_callNativeProcess() 148 jobject input = env->GetObjectArrayElement(inputs, i); in Java_android_filterfw_core_NativeProgram_callNativeProcess()
|
D | jni_shader_program.cpp | 100 jobjectArray inputs, in Java_android_filterfw_core_ShaderProgram_shaderProcess() argument 104 if (program && inputs && output) { in Java_android_filterfw_core_ShaderProgram_shaderProcess() 106 const int input_count = env->GetArrayLength(inputs); in Java_android_filterfw_core_ShaderProgram_shaderProcess() 108 jobject input = env->GetObjectArrayElement(inputs, i); in Java_android_filterfw_core_ShaderProgram_shaderProcess()
|
D | jni_native_program.h | 87 jobjectArray inputs,
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | MCLDInfo.h | 68 InputTree& inputs() in inputs() function 71 const InputTree& inputs() const in inputs() function
|