Searched defs:input (Results 76 - 99 of 99) sorted by relevance

1234

/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp126 /// CreateInput - To create an input file and append it to the input tree.
134 Input* input = *m_InputBuilder.getCurrentNode(); local
136 if (!input->hasContext())
137 m_InputBuilder.setContext(*input, false);
139 return input;
142 /// ReadInput - To read an input file and append it to the input tree.
147 Input* input = *m_InputBuilder.getCurrentNode(); local
149 if (!input
188 Input* input = *m_InputBuilder.getCurrentNode(); local
202 Input* input = NULL; local
228 Input* input = *m_InputBuilder.getCurrentNode(); local
245 Input* input = *m_InputBuilder.getCurrentNode(); local
[all...]
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp342 // Do we have a stale gInBufferSize or are we requesting the input buffer size for new values
647 status_t AudioSystem::startInput(audio_io_handle_t input) argument
651 return aps->startInput(input);
654 status_t AudioSystem::stopInput(audio_io_handle_t input) argument
658 return aps->stopInput(input);
661 void AudioSystem::releaseInput(audio_io_handle_t input) argument
665 aps->releaseInput(input);
H A DIAudioFlinger.cpp147 audio_io_handle_t input,
160 data.writeInt32((int32_t) input);
486 audio_io_handle_t input = (audio_io_handle_t) reply.readInt32(); local
495 return input;
498 virtual status_t closeInput(int input) argument
502 data.writeInt32(input);
787 audio_io_handle_t input = (audio_io_handle_t) data.readInt32(); local
796 sp<IAudioRecord> record = openRecord(input,
980 audio_io_handle_t input = openInput(module, local
985 reply->writeInt32((int32_t) input);
146 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, track_flags_t *flags, pid_t tid, int *sessionId, status_t *status) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c64 void AutoCorrelation(const Word16 input[], Word32 corr[],
532 static void CalcWeightedSpectrum(const Word32 spectrum[], /*!< input spectrum */
629 * input: signal spectrum, acf window, no. of spectral lines,
668 * input: input values, no. of input values, no. of acf values
673 void AutoCorrelation(const Word16 input[], argument
687 accu = L_add(accu, ((input[j] * input[j]) >> scf));
699 accu = L_add(accu, ((input[
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp221 JNIEnv *env, bool input, jobjectArray *bufArray) const {
225 input
476 // Tell the MediaCodec that we want to use a Surface as input.
796 JNIEnv *env, jobject thiz, jboolean input) {
807 status_t err = codec->getBuffers(env, input, &buffers);
220 getBuffers( JNIEnv *env, bool input, jobjectArray *bufArray) const argument
795 android_media_MediaCodec_getBuffers( JNIEnv *env, jobject thiz, jboolean input) argument
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp180 bool ShaderProgram::Process(const std::vector<const GLTextureHandle*>& input, argument
182 // TODO: This can be optimized: If the input and output are the same, as in
201 for (unsigned i = 0; i < input.size(); ++i) {
202 // Get the current input frame and make sure it is a GL frame
203 if (input[i]) {
205 const GLuint tex_id = input[i]->GetTextureId();
206 const GLenum target = input[i]->GetTextureTarget();
208 ALOGE("ShaderProgram: invalid texture id at input: %d!", i);
224 bool ShaderProgram::Process(const std::vector<const GLFrame*>& input, GLFrame* output) { argument
225 std::vector<const GLTextureHandle*> textures(input
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardWidgetPager.java481 public float getInterpolation(float input) { argument
482 return (1.0f - focalLength / (focalLength + input)) /
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java1144 * @return A locally acceptable formatting of the input, or the raw input if
1854 * @return the input string, with alpha letters converted to numeric
1856 * an input of "1-800-GOOG-411" will return "1-800-4664-411".
1858 public static String convertKeypadLettersToDigits(String input) { argument
1859 if (input == null) {
1860 return input;
1862 int len = input.length();
1864 return input;
1867 char[] out = input
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java250 public void process(FrameImage2D input, FrameImage2D output) { argument
251 TextureSource texSource = input.lockTextureSource();
257 input.unlock();
271 for (FrameImage2D input : inputs) {
272 input.unlock();
624 + " number of input textures! Missing uniform " + inputTextureUniformName(i)
627 GLToolbox.checkGlError("Binding input texture " + i);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp501 // same name in input
574 Module::obj_iterator input, inEnd = pModule.obj_end(); local
575 for (input = pModule.obj_begin(); input != inEnd; ++input) {
576 LDContext::sect_iterator rs, rsEnd = (*input)->context()->relocSectEnd();
577 for (rs = (*input)->context()->relocSectBegin(); rs != rsEnd; ++rs) {
959 // If the input section's size is zero, we got a NULL region.
/frameworks/native/libs/gui/
H A DBufferQueue.cpp470 const QueueBufferInput& input, QueueBufferOutput* output) {
482 input.deflate(&timestamp, &isAutoTimestamp, &crop, &scalingMode, &transform,
469 queueBuffer(int buf, const QueueBufferInput& input, QueueBufferOutput* output) argument
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp789 size_t input = 0; local
792 AudioRecord::getMinFrameCount(&input, sampleRate,
793 AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_IN_MONO) != NO_ERROR || input <= 0) {
797 ALOGD("reported frame count: output %d, input %d", output, input);
802 if (input < sampleCount * 2) {
803 input = sampleCount * 2;
805 ALOGD("adjusted frame count: output %d, input %d", output, input);
816 AUDIO_CHANNEL_IN_MONO, input, NUL
875 int16_t input[sampleCount]; local
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp309 audio_io_handle_t input = mpAudioPolicy->get_input(mpAudioPolicy, inputSource, samplingRate, local
312 if (input == 0) {
313 return input;
315 // create audio pre processors according to input source
321 return input;
323 ssize_t idx = mInputs.indexOfKey(input);
327 mInputs.add(input, inputDesc);
335 sp<AudioEffect> fx = new AudioEffect(NULL, &effect->mUuid, -1, 0, 0, audioSession, input);
338 ALOGW("Failed to create Fx %s on input %d", effect->mName, input);
351 startInput(audio_io_handle_t input) argument
361 stopInput(audio_io_handle_t input) argument
371 releaseInput(audio_io_handle_t input) argument
1573 aps_close_input(void *service, audio_io_handle_t input) argument
[all...]
H A DAudioFlinger.cpp936 // indicate output device change to all input threads for pre processing
1225 audio_io_handle_t input,
1259 thread = checkRecordThread_l(input);
1698 ALOGV("openInput() openInputStream returned input %p, SamplingRate %d, Format %d, Channels %x, "
1706 // If the input could not be opened with the requested parameters and we can handle the
1708 // resample the input and do mono to stereo or stereo to mono conversions on 16 bit PCM inputs.
1721 // Try to re-use most recently used Pipe to archive a copy of input for dumpsys,
1725 TEE_SINK_NO, // don't copy input
1726 TEE_SINK_NEW, // copy input using a new pipe
1727 TEE_SINK_OLD, // copy input usin
1224 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, IAudioFlinger::track_flags_t *flags, pid_t tid, int *sessionId, status_t *status) argument
1769 AudioStreamIn *input = new AudioStreamIn(inHwDev, inStream); local
1805 closeInput(audio_io_handle_t input) argument
1810 closeInput_nonvirtual(audio_io_handle_t input) argument
[all...]
H A DThreads.cpp749 // Only Pre processor effects are allowed on input threads and only on input threads
1260 // Resampler implementation limits input sampling rate to 2 x output sampling rate.
1983 // the mix buffer as input
1988 ALOGV("addEffectChain_l() creating new input buffer %p session %d", buffer, session);
3160 // clear effect chain input buffer if an active track underruns to avoid sending
3600 // clear effect chain input buffer if the last active track started underruns
4294 AudioStreamIn *input,
4305 mInput(input), mResampler(NULL), mRsmpOutBuffer(NULL), mRsmpInBuffer(NULL),
4391 // record start succeeds only if first read from audio input
4293 RecordThread(const sp<AudioFlinger>& audioFlinger, AudioStreamIn *input, uint32_t sampleRate, audio_channel_mask_t channelMask, audio_io_handle_t id, audio_devices_t outDevice, audio_devices_t inDevice , const sp<NBAIO_Sink>& teeSink ) argument
5208 AudioStreamIn *input = mInput; local
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScanner.java653 private boolean convertGenreCode(String input, String expected) { argument
654 String output = getGenreName(input);
658 Log.d(TAG, "'" + input + "' -> '" + output + "', expected '" + expected + "'");
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp1649 /// update the output section flags based on input section flags.
1654 // union the flags from input
1661 // if there is an input section is not SHF_MERGE, clean this flag
1665 // if there is an input section is not SHF_STRINGS, clean this flag
1878 // 2. check the stack info from the input objects
1897 // 2.2 there are no stack note sections in all input objects
2186 // To merge input's relocation sections into output's relocation sections.
2188 // If we are generating relocatables (-r), move input relocation sections
2191 Module::obj_iterator input, inEnd = pModule.obj_end(); local
2192 for (input
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4lib_int.h86 BitstreamEncVideo *stream; /* library bitstream buffer (input buffer) */
326 VideoEncFrameIO *input; /* original input frame */ member in struct:tagVideoEncData
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java17 package com.android.server.input;
47 import android.hardware.input.IInputDevicesChangedListener;
48 import android.hardware.input.IInputManager;
49 import android.hardware.input.InputManager;
50 import android.hardware.input.KeyboardLayout;
101 private static final String EXCLUDED_DEVICES_PATH = "etc/excluded-input-devices.xml";
109 // Pointer to native input manager service object.
123 // List of currently registered input devices changed listeners by process id.
144 // State for the currently installed input filter.
196 // Maximum number of milliseconds to wait for input even
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h260 // The 'data' is either 0 or 1, for input "false" or "true" respectively.
913 uint32_t input; member in union:android::ResTable_config::__anon1083
1563 static String8 normalizeForOutput(const char* input);
/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java930 private ByteBuffer toByteBuffer(int byteCount, Buffer input) { argument
933 if (input instanceof ByteBuffer) {
934 ByteBuffer input2 = (ByteBuffer) input;
944 } else if (input instanceof CharBuffer) {
945 CharBuffer input2 = (CharBuffer) input;
956 } else if (input instanceof ShortBuffer) {
957 ShortBuffer input2 = (ShortBuffer) input;
968 } else if (input instanceof IntBuffer) {
969 IntBuffer input2 = (IntBuffer) input;
980 } else if (input instanceo
[all...]
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java387 FullRestoreParams(ParcelFileDescriptor input) { argument
388 fd = input;
3189 if (MORE_DEBUG) Slog.v(TAG, "Done consuming input tarfile, total bytes=" + mBytes);
3191 Slog.e(TAG, "Unable to read restore input");
3301 Slog.w(TAG, "Can't read input header");
3340 // input file
3367 // go on to the next file in the input stream
/frameworks/base/core/java/android/widget/
H A DTextView.java1030 Log.w(LOG_TAG, "Failure reading input extras", e);
1032 Log.w(LOG_TAG, "Failure reading input extras", e);
1105 // If no input type was specified, we will default to generic
1112 // If set, the input type overrides what was set using the deprecated singleLine flag.
1274 * However, TextViews that have input or movement methods *are*
1389 // Hide the soft input if the currently active TextView is disabled
1579 * to disallow user input. Note that this method has significant and
1580 * subtle interactions with soft keyboards and other input method:
1599 public void setKeyListener(KeyListener input) { argument
1600 setKeyListenerOnly(input);
1621 setKeyListenerOnly(KeyListener input) argument
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace.pb.cpp1334 ::google::protobuf::io::CodedInputStream* input) {
1337 while ((tag = input->ReadTag()) != 0) {
1346 input, &value)));
1353 if (input->ExpectTag(16)) goto parse_isArray;
1364 input, &isarray_)));
1369 if (input->ExpectTag(24)) goto parse_intValue;
1380 1, 24, input, this->mutable_intvalue())));
1386 input, this->mutable_intvalue())));
1390 if (input->ExpectTag(24)) goto parse_intValue;
1391 if (input
1333 MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) argument
1744 MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) argument
1993 MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) argument
[all...]

Completed in 636 milliseconds

1234