/frameworks/av/camera/ |
H A D | CameraParameters2.cpp | 126 ssize_t idx = mMap.indexOfKey(String8(key)); 127 if (idx < 0) { 130 return mMap.valueAt(idx).string();
|
/frameworks/av/include/camera/ |
H A D | CameraParameters2.h | 127 const KeyT& keyAt(size_t idx) const { 128 return mList[idx].mKey; 131 const ValueT& valueAt(size_t idx) const { 132 return mList[idx].mValue;
|
/frameworks/av/include/media/ |
H A D | StringArray.h | 44 void erase(int idx); 65 const char* getEntry(int idx) const { 66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; 73 void setEntry(int idx, const char* str);
|
/frameworks/av/include/ndk/ |
H A D | NdkMediaCodec.h | 115 uint8_t* AMediaCodec_getInputBuffer(AMediaCodec*, size_t idx, size_t *out_size); 121 uint8_t* AMediaCodec_getOutputBuffer(AMediaCodec*, size_t idx, size_t *out_size); 134 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags); 140 size_t idx, off_t offset, AMediaCodecCryptoInfo*, uint64_t time, uint32_t flags); 153 media_status_t AMediaCodec_releaseOutputBuffer(AMediaCodec*, size_t idx, bool render); 164 AMediaCodec *mData, size_t idx, int64_t timestampNs);
|
H A D | NdkMediaExtractor.h | 73 AMediaFormat* AMediaExtractor_getTrackFormat(AMediaExtractor*, size_t idx); 81 media_status_t AMediaExtractor_selectTrack(AMediaExtractor*, size_t idx); 87 media_status_t AMediaExtractor_unselectTrack(AMediaExtractor*, size_t idx);
|
/frameworks/av/media/libmedia/ |
H A D | CharacterEncodingDetector.cpp | 92 int idx; local
|
H A D | MediaScanner.cpp | 112 int idx = 0; local 116 while (mSkipIndex[idx] != -1) { 118 if ((len == mSkipIndex[idx]) 124 startPos += mSkipIndex[idx] + 1; // extra char for the delimiter 125 idx++;
|
H A D | StringArray.cpp | 74 void StringArray::erase(int idx) { argument 75 if (idx < 0 || idx >= mCurrent) 77 delete[] mArray[idx]; 78 if (idx < mCurrent-1) { 79 memmove(&mArray[idx], &mArray[idx+1], 80 (mCurrent-1 - idx) * sizeof(char*)); 103 void StringArray::setEntry(int idx, const char* str) { argument 104 if (idx < [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | block_switch.c | 252 Word32 i, idx; local 256 idx = 0; 262 idx = i; 265 *index = idx;
|
H A D | ms_stereo.c | 65 Word32 idx, shift; local 67 idx = sfb + sfboffs; 69 thrL = sfbThresholdLeft[idx]; 70 thrR = sfbThresholdRight[idx]; 71 nrgL = sfbEnergyLeft[idx]; 72 nrgR = sfbEnergyRight[idx]; 85 nrgL = sfbEnergyMid[idx]; 86 nrgR = sfbEnergySide[idx]; 103 msMask[idx] = 1; 106 for (j=sfbOffset[idx]; [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | p_ol_wgh.h | 135 Word16 idx, /* i : index */
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | ol_ltp.cpp | 96 idx = 16 bit value specifies the frame index 139 Word16 idx, // i : index 151 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx); 158 idx, dtx); 163 old_lags, ol_gain_flg, idx, dtx); 168 L_FRAME_BY2, idx, dtx); 210 Word16 idx, /* i : index */ 223 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx, 231 idx, dtx, pOverflow); 236 old_lags, ol_gain_flg, idx, dt 201 ol_ltp( pitchOLWghtState *st, vadState *vadSt, enum Mode mode, Word16 wsp[], Word16 *T_op, Word16 old_lags[], Word16 ol_gain_flg[], Word16 idx, Flag dtx, Flag *pOverflow ) argument [all...] |
H A D | ol_ltp.h | 113 Word16 idx, /* i : index */
|
H A D | p_ol_wgh.cpp | 684 idx = 16 bit value specifies the frame index 728 Word16 idx, // i : index 791 st->old_T0_med, &max1, st->wght_flg, &ol_gain_flg[idx], 794 if (ol_gain_flg[idx] > 0) 823 if (sub(idx, 1) == 0) 870 Word16 idx, /* i : index */ 935 st->old_T0_med, &max1, st->wght_flg, &ol_gain_flg[idx], 938 if (ol_gain_flg[idx] > 0) 968 if (sub(idx, 1, pOverflow) == 0) 860 Pitch_ol_wgh( pitchOLWghtState *st, vadState *vadSt, Word16 signal[], Word16 pit_min, Word16 pit_max, Word16 L_frame, Word16 old_lags[], Word16 ol_gain_flg[], Word16 idx, Flag dtx, Flag *pOverflow ) argument
|
H A D | pitch_ol.cpp | 676 idx = 16 bit value specifies the frame index 730 Word16 idx, // i : frame index 867 if (sub(idx, 1) == 0) 947 Word16 idx, /* i : frame index */ 1155 if (idx == 1) 939 Pitch_ol( vadState *vadSt, enum Mode mode, Word16 signal[], Word16 pit_min, Word16 pit_max, Word16 L_frame, Word16 idx, Flag dtx, Flag *pOverflow ) argument
|
H A D | pitch_ol.h | 110 Word16 idx, /* i : frame index */
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dec_alg_codebook.cpp | 195 int32 mask, idx; local 204 idx = index & mask; 213 dec_2p_2N1(idx, (int16)(N - 1), j, pos); 216 tmp = N << 1; /* idx = (index >> (2*N)) & mask; */ 217 idx = (index >> tmp) & mask; 219 dec_1p_N1(idx, N, offset, pos + 2); 232 int32 mask, idx; local 239 idx = index & mask; 248 dec_2p_2N1(idx, (int16)(N - 1), j, pos); 253 idx 319 int32 idx; local [all...] |
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
H A D | avclib_common.h | 213 void unmark_for_reference(AVCHandle *avcHandle, AVCDecPicBuffer *dpb, uint idx);
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
H A D | deblock.cpp | 736 int idx, tmp; local 767 for (idx = 0; idx < 4; idx += 2) // unroll the loop, make 4 iterations to 2 771 pnz = MbQ->nz_coeff + (idx << 2); 834 pnz = MbQ->nz_coeff + ((idx + 1) << 2); 903 } /* end of: for(idx=0; idx<2; idx++) */ 911 int idx, tm local [all...] |
H A D | dpb.cpp | 618 /* now mark the picture with picNumX to long term frame idx */ 691 void unmark_for_reference(AVCHandle *avcHandle, AVCDecPicBuffer *dpb, uint idx) argument 694 AVCFrameStore *fs = dpb->fs[idx]; 704 avcHandle->CBAVC_FrameUnbind(avcHandle->userData, idx);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 260 for (int ii = 0, idx = 0; ii < nMacroBlocks; ++ii) { 261 mSliceGroup[ii] = idx++; 262 if (idx >= mEncParams->num_slice_group) { 263 idx = 0;
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | block.cpp | 85 int r0, r1, r2, r3, j, k, idx; local 154 idx = ZZ_SCAN_BLOCK[k]; /* map back to raster scan order */ 155 data = coef[idx]; 175 coef[idx] = (lev * quant) << Qq; 180 coef[idx] = (-lev * quant) << Qq; 188 coef[idx] = 0; 368 int blk_x, blk_y, j, k, idx, b8, b4; local 465 idx = ZIGZAG2RASTERDC[k]; 466 data = coef[idx]; 481 coef[idx] 731 int j, blk_x, blk_y, k, idx, b4; local 1126 int k, ncoeff, idx; local 1214 int k, ncoeff, idx; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 72 int idx; local 78 for (idx = 0; idx < nLayers; idx++) 80 decCtrl->volbuf[idx] = volbuf[idx]; 81 decCtrl->volbuf_size[idx] = volbuf_size[idx]; 145 for (idx = 0; idx < nLayer 529 int idx; local 555 int idx; local 775 int idx; local 882 int idx = -1; local 1042 int idx; local 1251 int idx; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | mp4enc_api.cpp | 190 Int nLayers, idx, i, j; local 603 for (idx = 0; idx < nLayers; idx++) 605 temp_w = video->encParams->LayerWidth[idx]; 606 temp_h = video->encParams->LayerHeight[idx]; 617 mbsPerSec = (Int)(nTotalMB * video->encParams->LayerFrameRate[idx]); 618 if (mbsPerSec > video->encParams->LayerMaxMbsPerSec[idx]) status = PV_FALSE; 660 for (idx = 0; idx < nTotalM 1080 Int idx, i; local 2965 Int idx, temp_w, temp_h, max = 0, max_width, max_height; local [all...] |
H A D | vlc_encode.cpp | 1794 Int run, idx; local 1834 idx = intra; 1863 RLB->level[idx] = -level; 1864 RLB->s[idx] = 1; 1865 RLB->run[idx] = run; 1867 idx++; 1871 RLB->level[idx] = level; 1872 RLB->s[idx] = 0; 1873 RLB->run[idx] = run; 1875 idx [all...] |