Searched defs:index (Results 76 - 100 of 908) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_gain_c.cpp60 index = received quantization index of type Word16
82 Purpose : Decode the fixed codebook gain using the received index.
193 Word16 index, /* i : received quantization index */
220 index &= 31; /* index < 32, to avoid buffer overflow */
221 tbl_tmp = index + (index << 1);
190 d_gain_code( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 *gain_code, Flag *pOverflow ) argument
H A Ddec_gain.cpp111 index = AMR mode of type enum Mode
184 Word16 index, /* i : index of quantization. */
204 index = shl(index, 2, pOverflow);
208 p = &table_gain_highrates[index];
219 index += (1 ^ evenSubfr) << 1; /* evenSubfr is 0 or 1 */
221 if (index > (MR475_VQ_SIZE*4 - 2))
223 index = (MR475_VQ_SIZE * 4 - 2); /* avoid possible buffer overflow */
226 p = &table_gain_MR475[index];
181 Dec_gain( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 evenSubfr, Word16 * gain_pit, Word16 * gain_cod, Flag * pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcbsearch.cpp88 Purpose : Inovative codebook search (find index and gain)
200 Word16 index; local
221 &index,
224 *(*anap)++ = index; /* sign index */
236 &index,
239 *(*anap)++ = index; /* sign index */
251 &index,
254 *(*anap)++ = index; /* sig
[all...]
/frameworks/av/media/libstagefright/codecs/on2/enc/
H A DSoftVP9Encoder.cpp84 OMX_INDEXTYPE index, OMX_PTR param) {
85 // can include extension index OMX_INDEXEXTTYPE
86 const int32_t indexFull = index;
94 return SoftVPXEncoder::internalGetParameter(index, param);
99 OMX_INDEXTYPE index, const OMX_PTR param) {
100 // can include extension index OMX_INDEXEXTTYPE
101 const int32_t indexFull = index;
109 return SoftVPXEncoder::internalSetParameter(index, param);
83 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR param) argument
98 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR param) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_QuantInvIntra_I_s.s90 index RN 6 label
114 LDR index, =armVCM4P2_DCScaler
115 ADD index,index,videoComp,LSL #5
116 LDRB dcScaler,[index,QP]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_EncodeMV.c57 * pBitOffset - index of the first free (next available) bit in the stream
76 * pBitOffset - updated index of the next available bit position in stream
106 OMX_U8 scaleFactor, index; local
196 /* The index is actually calculate as
197 index = ((float) (mvHorData/2) + 16) * 2,
201 index = mvHorData + 32;
202 armPackVLC32 (ppBitStream, pBitOffset, armVCM4P2_aVlcMVD[index]);
208 /* The index is actually calculate as
209 index = ((float) (mvVerData/2) + 16) * 2,
213 index
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DParameters.cpp80 ssize_t index = mDict.indexOfKey(key); local
82 if (index < 0) {
88 *value = mDict.valueAt(index);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioGain.cpp35 AudioGain::AudioGain(int index, bool useInChannelMask) argument
37 mIndex = index;
44 config->index = mIndex;
101 void AudioGain::dump(int fd, int spaces, int index) const
107 snprintf(buffer, SIZE, "%*sGain %d:\n", spaces, "", index+1);
/frameworks/base/apct-tests/perftests/core/jni/
H A DSystemPerfTest.cpp29 static jint jintarrayCriticalAccess(JNIEnv* env, jclass, jintArray jarray, jint index) { argument
31 if (index < 0 || index >= len) {
35 jint ret = data[index];
40 static jint jintarrayBasicAccess(JNIEnv* env, jclass, jintArray jarray, jint index) { argument
42 if (index < 0 || index >= len) {
46 jint ret = data[index];
/frameworks/base/apct-tests/perftests/core/src/android/perftests/
H A DSystemPerfTest.java113 private static native int jintarrayCriticalAccess(int[] array, int index); argument
115 private static native int jintarrayBasicAccess(int[] array, int index); argument
/frameworks/base/core/java/android/util/
H A DLongArray.java62 * @throws IndexOutOfBoundsException when index &lt; 0 || index &gt; size()
64 public void add(int index, long value) { argument
65 if (index < 0 || index > mSize) {
71 if (mSize - index != 0) {
72 System.arraycopy(mValues, index, mValues, index + 1, mSize - index);
75 mValues[index]
128 get(int index) argument
152 remove(int index) argument
[all...]
/frameworks/base/core/java/android/view/
H A DHandlerActionQueue.java97 public Runnable getRunnable(int index) { argument
98 if (index >= mCount) {
101 return mActions[index].action;
104 public long getDelay(int index) { argument
105 if (index >= mCount) {
108 return mActions[index].delay;
H A DWindowContentFrameStats.java79 * Get the time a frame at a given index was posted by the producer (e.g. the application).
87 * @param index The frame index.
90 public long getFramePostedTimeNano(int index) { argument
94 return mFramesPostedTimeNano[index];
98 * Get the time a frame at a given index was ready for presentation.
105 * @param index The frame index.
109 public long getFrameReadyTimeNano(int index) { argument
113 return mFramesReadyTimeNano[index];
[all...]
/frameworks/base/core/java/android/widget/
H A DViewSwitcher.java62 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
66 super.addView(child, index, params);
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DFloatingToolbarEspressoUtils.java132 * Asserts that the floating toolbar contains a specified item at a specified index.
135 * @param index expected index of the menu item in the floating toolbar
138 public static void assertFloatingToolbarItemIndex(final int menuItemId, final int index) { argument
145 return menuItemIds.size() > index && menuItemIds.get(index) == menuItemId;
/frameworks/base/libs/androidfw/include/androidfw/
H A DTypeWrappers.h54 uint32_t index() const { function in class:android::TypeVariant::iterator
63 iterator(const TypeVariant* tv, uint32_t index) argument
64 : mTypeVariant(tv), mIndex(index) {}
/frameworks/base/libs/hwui/renderstate/
H A DBlend.cpp53 // In this array, the index of each Blender equals the value of the first
115 int index = static_cast<int>(mode); local
116 *outSrc = (modeUsage == ModeOrderSwap::Swap) ? kBlendsSwap[index].src : kBlends[index].src;
117 *outDst = (modeUsage == ModeOrderSwap::Swap) ? kBlendsSwap[index].dst : kBlends[index].dst;
/frameworks/base/libs/hwui/utils/
H A DRingBuffer.h53 T& operator[](size_t index) { argument
54 return mBuffer[(mHead + index + 1) % mCount];
57 const T& operator[](size_t index) const {
58 return mBuffer[(mHead + index + 1) % mCount];
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DUnmodifiableSparseArray.java45 public int keyAt(int index) { argument
46 return mArray.keyAt(index);
49 public E valueAt(int index) { argument
50 return mArray.valueAt(index);
H A DUnmodifiableSparseIntArray.java45 public int keyAt(int index) { argument
46 return mArray.keyAt(index);
49 public int valueAt(int index) { argument
50 return mArray.valueAt(index);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DConfigurationContainerTests.java237 protected TestConfigurationContainer getChildAt(int index) { argument
238 return mChildren.get(index);
/frameworks/base/telephony/java/com/android/ims/
H A DImsSuppServiceNotification.java38 /** TS 27.007 7.17 "index" - Not used currently*/
39 public int index; field in class:ImsSuppServiceNotification
58 ", index=" + index +
74 out.writeInt(index);
83 index = in.readInt();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameValues.java61 * Returns the value at the specified index.
63 * In case the value is null or not an array, the index must be 0, and the value itself is
66 * @param index The index to access.
67 * @return The value at that index.
69 public Object getValueAtIndex(int index) { argument
72 if (index != 0) {
73 throw new ArrayIndexOutOfBoundsException(index);
78 return Array.get(value, index);
83 * Returns the value as a FrameValue at the specified index
91 getFrameValueAtIndex(int index) argument
118 setValueAtIndex(Object value, int index) argument
141 setFrameValueAtIndex(FrameValue frame, int index) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DMockView.java67 public void addView(View child, int index) { argument
69 super.addView(child, index);
88 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
90 super.addView(child, index, params);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DStatusBar.java89 protected void loadIcon(int index, String iconName, Density density) { argument
91 super.loadIcon(index, iconName, density);
94 View child = getChildAt(index);

Completed in 415 milliseconds

1234567891011>>