Home
last modified time | relevance | path

Searched refs:blockIndex (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/nfc/tech/
DMifareClassic.java290 public int blockToSector(int blockIndex) { in blockToSector() argument
291 validateBlock(blockIndex); in blockToSector()
293 if (blockIndex < 32 * 4) { in blockToSector()
294 return blockIndex / 4; in blockToSector()
296 return 32 + (blockIndex - 32 * 4) / 16; in blockToSector()
420 public byte[] readBlock(int blockIndex) throws IOException { in readBlock() argument
421 validateBlock(blockIndex); in readBlock()
424 byte[] cmd = { 0x30, (byte) blockIndex }; in readBlock()
442 public void writeBlock(int blockIndex, byte[] data) throws IOException { in writeBlock() argument
443 validateBlock(blockIndex); in writeBlock()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_neighbour.c241 const neighbour_t* h264bsdNeighbour4x4BlockA(u32 blockIndex) in h264bsdNeighbour4x4BlockA() argument
248 ASSERT(blockIndex < 24); in h264bsdNeighbour4x4BlockA()
250 return(N_A_4x4B+blockIndex); in h264bsdNeighbour4x4BlockA()
272 const neighbour_t* h264bsdNeighbour4x4BlockB(u32 blockIndex) in h264bsdNeighbour4x4BlockB() argument
279 ASSERT(blockIndex < 24); in h264bsdNeighbour4x4BlockB()
281 return(N_B_4x4B+blockIndex); in h264bsdNeighbour4x4BlockB()
303 const neighbour_t* h264bsdNeighbour4x4BlockC(u32 blockIndex) in h264bsdNeighbour4x4BlockC() argument
310 ASSERT(blockIndex < 24); in h264bsdNeighbour4x4BlockC()
312 return(N_C_4x4B+blockIndex); in h264bsdNeighbour4x4BlockC()
334 const neighbour_t* h264bsdNeighbour4x4BlockD(u32 blockIndex) in h264bsdNeighbour4x4BlockD() argument
[all …]
Dh264bsd_macroblock_layer.c93 static u32 DetermineNc(mbStorage_t *pMb, u32 blockIndex, u8 *pTotalCoeff);
95 static u32 DetermineNc(mbStorage_t *pMb, u32 blockIndex, i16 *pTotalCoeff);
516 u32 blockIndex; in DecodeResidual() local
558 for (i = 4, blockIndex = 0; i--;) in DecodeResidual()
565 for (j = 4; j--; blockIndex++) in DecodeResidual()
567 nc = (OMX_INT)DetermineNc(pMb,blockIndex,pResidual->totalCoeff); in DecodeResidual()
574 &pResidual->totalCoeff[blockIndex], in DecodeResidual()
582 &pResidual->totalCoeff[blockIndex], in DecodeResidual()
594 &pResidual->totalCoeff[blockIndex], in DecodeResidual()
602 &pResidual->totalCoeff[blockIndex], in DecodeResidual()
[all …]
Dh264bsd_neighbour.h72 const neighbour_t* h264bsdNeighbour4x4BlockA(u32 blockIndex);
73 const neighbour_t* h264bsdNeighbour4x4BlockB(u32 blockIndex);
74 const neighbour_t* h264bsdNeighbour4x4BlockC(u32 blockIndex);
75 const neighbour_t* h264bsdNeighbour4x4BlockD(u32 blockIndex);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
DomxVCM4P2_QuantIntra_I.c62 OMX_INT blockIndex, in omxVCM4P2_QuantIntra_I() argument
74 armRetArgErrIf(((blockIndex < 0) || (blockIndex >= 10)), OMX_Sts_BadArgErr); in omxVCM4P2_QuantIntra_I()
97 if ((blockIndex < 4) || (blockIndex > 5)) in omxVCM4P2_QuantIntra_I()
116 else if (blockIndex < 6) in omxVCM4P2_QuantIntra_I()
DomxVCM4P2_TransRecBlockCoef_intra.c129 OMX_INT blockIndex, in omxVCM4P2_TransRecBlockCoef_intra() argument
168 armRetArgErrIf((blockIndex < 0) || (blockIndex > 9), OMX_Sts_BadArgErr); in omxVCM4P2_TransRecBlockCoef_intra()
174 if (blockIndex <= 3) in omxVCM4P2_TransRecBlockCoef_intra()
195 blockIndex, in omxVCM4P2_TransRecBlockCoef_intra()
211 blockIndex, in omxVCM4P2_TransRecBlockCoef_intra()
DomxVCM4P2_DecodeBlockCoef_Intra.c101 OMX_INT blockIndex, in omxVCM4P2_DecodeBlockCoef_Intra() argument
125 armRetArgErrIf((blockIndex < 0) || (blockIndex > 5), OMX_Sts_BadArgErr); in omxVCM4P2_DecodeBlockCoef_Intra()
135 blockIndex, in omxVCM4P2_DecodeBlockCoef_Intra()
152 if (blockIndex <= 3) in omxVCM4P2_DecodeBlockCoef_Intra()
DarmVCM4P2_SetPredDir.c51 OMX_INT blockIndex, in armVCM4P2_SetPredDir() argument
63 if (blockIndex == 3) in armVCM4P2_SetPredDir()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c72 uint64_t blockIndex; member
220 uint64_t blockIndex, in FwdLockFile_CalculateCounter() argument
224 for (; i < sizeof blockIndex; ++i) { in FwdLockFile_CalculateCounter()
225 unsigned char part = pNonce[i] + (unsigned char)(blockIndex >> (i * CHAR_BIT)); in FwdLockFile_CalculateCounter()
243 uint64_t blockIndex = pSession->filePos / AES_BLOCK_SIZE; in FwdLockFile_DecryptByte() local
245 if (blockIndex != pSession->blockIndex) { in FwdLockFile_DecryptByte()
248 FwdLockFile_CalculateCounter(pSession->pEncryptedSessionKey, blockIndex, counter); in FwdLockFile_DecryptByte()
250 pSession->blockIndex = blockIndex; in FwdLockFile_DecryptByte()
287 pSession->blockIndex = INVALID_BLOCK_INDEX; in FwdLockFile_attach()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DomxVCM4P2_DecodeBlockCoef_Intra.c104 OMX_INT blockIndex, in omxVCM4P2_DecodeBlockCoef_Intra() argument
124 blockIndex, in omxVCM4P2_DecodeBlockCoef_Intra()
140 if (blockIndex <= 3) in omxVCM4P2_DecodeBlockCoef_Intra()
DarmVCM4P2_SetPredDir_s.s22 ; * [in] blockIndex block index indicating the component type and
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
DomxVCM4P2_DecodeBlockCoef_Intra.c110 OMX_INT blockIndex, in omxVCM4P2_DecodeBlockCoef_Intra() argument
130 blockIndex, in omxVCM4P2_DecodeBlockCoef_Intra()
146 if (blockIndex <= 3) in omxVCM4P2_DecodeBlockCoef_Intra()
DarmVCM4P2_SetPredDir_s.s22 ; * [in] blockIndex block index indicating the component type and
/frameworks/base/core/java/android/text/
DDynamicLayout.java510 int blockIndex = firstBlock; in updateBlocks() local
512 mBlockEndLines[blockIndex] = startLine - 1; in updateBlocks()
513 mBlockIndices[blockIndex] = INVALID_BLOCK_INDEX; in updateBlocks()
514 blockIndex++; in updateBlocks()
518 mBlockEndLines[blockIndex] = startLine + newLineCount - 1; in updateBlocks()
519 mBlockIndices[blockIndex] = INVALID_BLOCK_INDEX; in updateBlocks()
520 blockIndex++; in updateBlocks()
524 mBlockEndLines[blockIndex] = lastBlockEndLine + deltaLines; in updateBlocks()
525 mBlockIndices[blockIndex] = INVALID_BLOCK_INDEX; in updateBlocks()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/api/
DomxVC.h1206 OMX_INT blockIndex,
1355 OMX_INT blockIndex,
2050 OMX_INT blockIndex,
DarmVC.h163 OMX_INT blockIndex,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/
DomxVC.h1206 OMX_INT blockIndex,
1355 OMX_INT blockIndex,
2050 OMX_INT blockIndex,
DarmVC.h163 OMX_INT blockIndex,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/
DomxVC.h1206 OMX_INT blockIndex,
1355 OMX_INT blockIndex,
2050 OMX_INT blockIndex,
DarmVC.h163 OMX_INT blockIndex,
/frameworks/base/core/java/android/widget/
DEditor.java1273 int blockIndex = blockIndices[i]; in drawHardwareAccelerated() local
1275 final boolean blockIsInvalid = blockIndex == DynamicLayout.INVALID_BLOCK_INDEX; in drawHardwareAccelerated()
1277 blockIndex = getAvailableDisplayListIndex(blockIndices, numberOfBlocks, in drawHardwareAccelerated()
1280 blockIndices[i] = blockIndex; in drawHardwareAccelerated()
1281 searchStartIndex = blockIndex + 1; in drawHardwareAccelerated()
1284 DisplayList blockDisplayList = mTextDisplayLists[blockIndex]; in drawHardwareAccelerated()
1286 blockDisplayList = mTextDisplayLists[blockIndex] = in drawHardwareAccelerated()
1287 mTextView.getHardwareRenderer().createDisplayList("Text " + blockIndex); in drawHardwareAccelerated()
1394 final int blockIndex = blockIndices[i]; in invalidateTextDisplayList() local
1395 if (blockIndex != DynamicLayout.INVALID_BLOCK_INDEX) { in invalidateTextDisplayList()
[all …]
/frameworks/base/include/androidfw/
DResourceTypes.h1321 ssize_t blockIndex,
1397 ssize_t blockIndex, uint32_t* outLastRef = NULL,
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2631 ssize_t blockIndex, uint32_t* outLastRef, in resolveAttributeReference() argument
2637 blockIndex = getAttribute(inOutValue->data, inOutValue, &newTypeSpecFlags); in resolveAttributeReference()
2639 (int)blockIndex, (int)inOutValue->dataType, (void*)inOutValue->data)); in resolveAttributeReference()
2642 if (blockIndex < 0) { in resolveAttributeReference()
2643 return blockIndex; in resolveAttributeReference()
2646 return mTable.resolveReference(inOutValue, blockIndex, outLastRef, in resolveAttributeReference()
3123 ssize_t ResTable::resolveReference(Res_value* value, ssize_t blockIndex, in resolveReference() argument
3128 while (blockIndex >= 0 && value->dataType == value->TYPE_REFERENCE in resolveReference()
3146 return blockIndex; in resolveReference()
3148 blockIndex = newIndex; in resolveReference()
[all …]