/frameworks/av/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.cpp | 317 void NativeWindowRenderer::render(RenderInput* input) { argument 318 sp<SurfaceTexture> ST = input->mST; 319 sp<SurfaceTextureClient> STC = input->mSTC; 321 if (input->mIsExternalBuffer) { 322 queueExternalBuffer(STC.get(), input->mBuffer, 323 input->mWidth, input->mHeight); 325 queueInternalBuffer(STC.get(), input->mBuffer); 332 calculatePositionCoordinates(input->mRenderingMode, 333 input 541 RenderInput* input = new RenderInput(this, mNextTextureId); local 552 destroyRenderInput(RenderInput* input) argument [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4VD_Tools.c | 63 M4OSA_UInt32 input = bitsToWrite; local 64 input = (input << (32 - nb_bits - offset)); 80 /* Parse input bits, and fill output buffer */ 87 temp = ((input & (0x80000000 >> offset)) >> (31-offset)); 90 input = (input << 1);
|
H A D | VideoEditorResampler.cpp | 146 void LVAudioresample_LowQuality(M4OSA_Int16* out, M4OSA_Int16* input, argument 154 memcpy(context->mInput,input,(context->nbSamples * context->nbChannels * sizeof(int16_t)));
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | Abs_32.c | 33 LVM_INT32 Abs_32(LVM_INT32 input) argument 35 if(input < 0) 37 if (input == (LVM_INT32)(0x80000000U)) 40 input=(LVM_INT32) 0x7fffffff; 44 /* Negative input, so invert */ 45 input = (LVM_INT32)(-input); 48 return input;
|
/frameworks/av/media/libmedia/ |
H A D | AudioRecord.cpp | 52 ALOGE("AudioSystem could not query the input buffer size."); 62 // We double the size of input buffer for ping pong use of record buffer. 168 audio_io_handle_t input = AudioSystem::getInput(inputSource, local 173 if (input == 0) { 174 ALOGE("Could not get audio input for record source %d", inputSource); 198 frameCount, input); 220 // TODO: add audio hardware input latency here 227 mInput = input; 430 audio_io_handle_t input) 442 sp<IAudioRecord> record = audioFlinger->openRecord(getpid(), input, 425 openRecord_l( uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_io_handle_t input) argument [all...] |
H A D | AudioSystem.cpp | 341 // Do we have a stale gInBufferSize or are we requesting the input buffer size for new values 635 status_t AudioSystem::startInput(audio_io_handle_t input) argument 639 return aps->startInput(input); 642 status_t AudioSystem::stopInput(audio_io_handle_t input) argument 646 return aps->stopInput(input); 649 void AudioSystem::releaseInput(audio_io_handle_t input) argument 653 aps->releaseInput(input);
|
H A D | IAudioFlinger.cpp | 137 audio_io_handle_t input, 151 data.writeInt32((int32_t) input); 464 audio_io_handle_t input = (audio_io_handle_t) reply.readInt32(); local 473 return input; 476 virtual status_t closeInput(int input) argument 480 data.writeInt32(input); 744 audio_io_handle_t input = (audio_io_handle_t) data.readInt32(); local 753 sp<IAudioRecord> record = openRecord(pid, input, 935 audio_io_handle_t input = openInput(module, local 940 reply->writeInt32((int32_t) input); 135 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument [all...] |
H A D | IAudioPolicyService.cpp | 193 virtual status_t startInput(audio_io_handle_t input) argument 197 data.writeInt32(input); 202 virtual status_t stopInput(audio_io_handle_t input) argument 206 data.writeInt32(input); 211 virtual void releaseInput(audio_io_handle_t input) argument 215 data.writeInt32(input); 477 audio_io_handle_t input = getInput(inputSource, local 482 reply->writeInt32(static_cast <int>(input)); 488 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local 489 reply->writeInt32(static_cast <uint32_t>(startInput(input))); 495 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local 502 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | tns.c | 64 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/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_api.cpp | 276 OSCL_EXPORT_REF AVCEnc_Status PVAVCEncSetInput(AVCHandle *avcHandle, AVCFrameIO *input) argument 299 if (input->pitch > 0xFFFF) 308 if (AVCENC_SUCCESS != RCDetermineFrameNum(encvid, rateCtrl, input->coding_timestamp, &frameNum)) 317 encvid->currInput = input;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | fastcodemb.cpp | 43 -ncoefblck[] as input, to keep position of last non-zero coeff*/ 74 VideoEncFrameIO *inputFrame = video->input; 79 UChar *rec, *input, *pred; local 130 input = inputFrame->yChan + offset; 131 if (lx != width) input -= (ind_y << 9); /* non-padded offset */ 147 input += 8; 152 input += dctMode; 162 input = inputFrame->uChan + offsetc; 163 if (lx != width) input -= (ind_y << 7); 168 sad = getBlockSum(input, widt 310 UChar *rec, *input, *pred; local [all...] |
H A D | mp4lib_int.h | 86 BitstreamEncVideo *stream; /* library bitstream buffer (input buffer) */ 326 VideoEncFrameIO *input; /* original input frame */ member in struct:tagVideoEncData
|
H A D | rate_control.cpp | 25 void targetBitCalculation(void *input); 41 PV_STATUS RC_UpdateBXRCParams(void *input); Parameters update for target bitrate or framerate change 50 PV_STATUS RC_Initialize(void *input) argument 52 VideoEncData *video = (VideoEncData *) input; 416 PV_STATUS RC_UpdateBXRCParams(void *input) argument 418 VideoEncData *video = (VideoEncData *) input; 529 void targetBitCalculation(void *input) argument 531 VideoEncData *video = (VideoEncData *) input; 699 void calculateQuantizer_Multipass(void *input) argument 701 VideoEncData *video = (VideoEncData *) input; [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/ |
H A D | armCOMM.c | 288 * Description: Clips the input between MAX and MIN value 324 * Description: Clips the input between MAX and MIN value 368 * [in] shift Divides the input "v" by "2^shift" 716 * Returns the result of rounded right shift operation of input by the scalefactor 718 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) ) 721 * [in] input The input to be operated on 730 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift) argument 732 input = armSatRoundLeftShift_S32(input, [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/ |
H A D | armCOMM.c | 288 * Description: Clips the input between MAX and MIN value 324 * Description: Clips the input between MAX and MIN value 368 * [in] shift Divides the input "v" by "2^shift" 716 * Returns the result of rounded right shift operation of input by the scalefactor 718 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) ) 721 * [in] input The input to be operated on 730 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift) argument 732 input = armSatRoundLeftShift_S32(input, [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/ |
H A D | armCOMM.c | 288 * Description: Clips the input between MAX and MIN value 324 * Description: Clips the input between MAX and MIN value 368 * [in] shift Divides the input "v" by "2^shift" 716 * Returns the result of rounded right shift operation of input by the scalefactor 718 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) ) 721 * [in] input The input to be operated on 730 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift) argument 732 input = armSatRoundLeftShift_S32(input, [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 925 // indicate output device change to all input threads for pre processing 1802 // Resampler implementation limits input sampling rate to 2 x output sampling rate. 3264 // clear effect chain input buffer if an active track underruns to avoid sending 3789 // clear effect chain input buffer if an active track underruns to avoid sending 5165 // Calculate the delta in samples between the head of the input buffer 5191 // if the delta between the ideal placement for the next input sample and 5193 // concatenate the next input samples to the previous output 5203 // the next input is close enough to being on time, so concatenate it 5213 // Next time we mix samples from our input queue, then should be within 5218 // the next input sampl 5878 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument 5986 RecordThread(const sp<AudioFlinger>& audioFlinger, AudioStreamIn *input, uint32_t sampleRate, audio_channel_mask_t channelMask, audio_io_handle_t id, audio_devices_t device) argument 6819 AudioStreamIn *input = mInput; local 7187 AudioStreamIn *input = new AudioStreamIn(inHwDev, inStream); local 7213 closeInput(audio_io_handle_t input) argument 7218 closeInput_nonvirtual(audio_io_handle_t input) argument [all...] |
H A D | AudioPolicyService.cpp | 282 audio_io_handle_t input = mpAudioPolicy->get_input(mpAudioPolicy, inputSource, samplingRate, local 285 if (input == 0) { 286 return input; 288 // create audio pre processors according to input source 291 return input; 293 ssize_t idx = mInputs.indexOfKey(input); 297 mInputs.add(input, inputDesc); 305 sp<AudioEffect> fx = new AudioEffect(NULL, &effect->mUuid, -1, 0, 0, audioSession, input); 308 ALOGW("Failed to create Fx %s on input %d", effect->mName, input); 321 startInput(audio_io_handle_t input) argument 331 stopInput(audio_io_handle_t input) argument 341 releaseInput(audio_io_handle_t input) argument 1465 aps_close_input(void *service, audio_io_handle_t input) argument [all...] |
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 17 package com.android.commands.input; 19 import android.hardware.input.InputManager; 79 // determine input source 132 * @param text is a string of characters you want to input to the device. 190 * @param inputSource the InputDevice.SOURCE_* sending the input event 208 * @param inputSource the InputDevice.SOURCE_* sending the input event 236 System.err.println("usage: input ..."); 237 System.err.println(" input text <string>"); 238 System.err.println(" input keyevent <key code number or name>"); 239 System.err.println(" input [touchscree [all...] |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 962 * @param input String containing hex-encoded bytes 963 * @return input as an array of bytes 965 private byte[] hexToBytes(String input) { argument 966 if (input == null) { 970 final int inputLength = input.length(); 983 input.substring(inputIndex, inputIndex + 2), 16);
|
/frameworks/base/core/java/android/animation/ |
H A D | TimeInterpolator.java | 30 * @param input A value between 0 and 1.0 indicating our current point 37 float getInterpolation(float input); argument
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupHelperDispatcher.java | 105 public void performRestore(BackupDataInput input, int appVersionCode, argument 110 BackupDataInputStream stream = new BackupDataInputStream(input); 111 while (input.readNextHeader()) { 113 String rawKey = input.getKey(); 119 stream.dataSize = input.getDataSize(); 134 input.skipEntityData(); // In case they didn't consume the data.
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ActivityInfo.java | 424 public static int activityInfoConfigToNative(int input) { argument 427 if ((input&(1<<i)) != 0) { 463 * The desired soft input mode for this activity's main window.
|
H A D | VerifierDeviceIdentity.java | 86 * @return verifier device identity based on the input from the provided 103 private static final String encodeBase32(long input) { argument 127 final int group = (int) (input & 0x1F); 128 input >>>= 5; 137 private static final long decodeBase32(byte[] input) throws IllegalArgumentException { argument 141 final int N = input.length; 143 final int group = input[i]; 210 final byte[] input; 212 input = deviceIdentity.getBytes("US-ASCII"); 214 throw new IllegalArgumentException("bad base-32 characters in input"); [all...] |
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 17 package android.hardware.input; 42 * Provides information about input devices and available key layouts. 72 * The input manager service locates available keyboard layouts 85 * <action android:name="android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS" /> 87 * <meta-data android:name="android.hardware.input.metadata.KEYBOARD_LAYOUTS" 112 * <a href="http://source.android.com/tech/input/key-character-map-files.html"> 118 "android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS"; 129 "android.hardware.input.metadata.KEYBOARD_LAYOUTS"; 158 * Waits for previous events to be dispatched so that the input dispatcher can 159 * determine whether input even [all...] |