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

/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/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 DFilterFunction.java66 // Setup the inputs
96 public Frame executeWithArgList(Object... inputs) { argument
97 return execute(KeyValueMap.fromKeyValues(inputs));
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 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/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(),
/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/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
H A Djni_shader_program.cpp93 jobjectArray inputs,
97 if (program && inputs && output) {
99 const int input_count = env->GetArrayLength(inputs);
101 jobject input = env->GetObjectArrayElement(inputs, i);
91 Java_android_filterfw_core_ShaderProgram_shaderProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument
/frameworks/compile/mclinker/include/mcld/Script/
H A DScriptFile.h75 const InputTree& inputs() const { return *m_pInputTree; } function in class:mcld::ScriptFile
76 InputTree& inputs() { return *m_pInputTree; } function in class:mcld::ScriptFile
/frameworks/compile/mclinker/lib/LD/
H A DArchive.cpp52 /// inputs - get the input tree built from this archive
53 InputTree& Archive::inputs() { function in class:mcld::Archive
57 /// inputs - get the input tree built from this archive
58 const InputTree& Archive::inputs() const { function in class:mcld::Archive
/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...]
/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/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/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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java261 public void processMulti(FrameImage2D[] inputs, FrameImage2D output) { argument
262 TextureSource[] texSources = new TextureSource[inputs.length];
263 for (int i = 0; i < inputs.length; ++i) {
264 texSources[i] = inputs[i].lockTextureSource();
271 for (FrameImage2D input : inputs) {
/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...]
/frameworks/rs/rsov/driver/
H A DrsovRuntimeStubs.cpp663 "rsForEachInternal: too many inputs to a kernel.");
666 Allocation *inputs[RS_KERNEL_MAX_ARGUMENTS]; local
668 inputs[i] = (Allocation *)allocs[i].p;
671 rsrForEach(rsc, s, slot, numInputs, numInputs > 0 ? inputs : nullptr, out,
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp709 "rsForEachInternal: too many inputs to a kernel.");
712 Allocation* inputs[RS_KERNEL_MAX_ARGUMENTS]; local
714 inputs[i] = (Allocation*)allocs[i].p;
715 CHECK_OBJ(inputs[i]);
716 inputs[i]->incSysRef();
724 rsrForEach(rsc, s, slot, numInputs, numInputs > 0 ? inputs : nullptr, out,
727 inputs[i]->decSysRef();
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp225 SortedVector <audio_io_handle_t> inputs; local
244 // parameters on newly connected devices (instead of opening the inputs...)
247 if (checkInputsForDevice(devDesc, state, inputs, devDesc->mAddress) != NO_ERROR) {
276 checkInputsForDevice(devDesc, state, inputs, devDesc->mAddress);
494 // FIXME: would be better to refine to only inputs whose profile connects to the
1710 // the inputs vector must be of size 1, but we don't want to crash here
1763 // FIXME: would be better to refine to only inputs whose profile connects to the
3165 // reroute inputs if necessary
3622 // the inputs vector must be of size 1, but we don't want to crash here
4185 SortedVector<audio_io_handle_t>& inputs,
4183 checkInputsForDevice(const sp<DeviceDescriptor>& devDesc, audio_policy_dev_state_t state, SortedVector<audio_io_handle_t>& inputs, const String8& address) argument
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 367 milliseconds