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.c77 OMX_INT blockIndex, in omxVCM4P2_QuantIntra_I() argument
89 armRetArgErrIf(((blockIndex < 0) || (blockIndex >= 10)), OMX_Sts_BadArgErr); in omxVCM4P2_QuantIntra_I()
112 if ((blockIndex < 4) || (blockIndex > 5)) in omxVCM4P2_QuantIntra_I()
131 else if (blockIndex < 6) in omxVCM4P2_QuantIntra_I()
DomxVCM4P2_TransRecBlockCoef_intra.c144 OMX_INT blockIndex, in omxVCM4P2_TransRecBlockCoef_intra() argument
183 armRetArgErrIf((blockIndex < 0) || (blockIndex > 9), OMX_Sts_BadArgErr); in omxVCM4P2_TransRecBlockCoef_intra()
189 if (blockIndex <= 3) in omxVCM4P2_TransRecBlockCoef_intra()
210 blockIndex, in omxVCM4P2_TransRecBlockCoef_intra()
226 blockIndex, in omxVCM4P2_TransRecBlockCoef_intra()
DomxVCM4P2_DecodeBlockCoef_Intra.c116 OMX_INT blockIndex, in omxVCM4P2_DecodeBlockCoef_Intra() argument
140 armRetArgErrIf((blockIndex < 0) || (blockIndex > 5), OMX_Sts_BadArgErr); in omxVCM4P2_DecodeBlockCoef_Intra()
150 blockIndex, in omxVCM4P2_DecodeBlockCoef_Intra()
167 if (blockIndex <= 3) in omxVCM4P2_DecodeBlockCoef_Intra()
DarmVCM4P2_SetPredDir.c66 OMX_INT blockIndex, in armVCM4P2_SetPredDir() argument
78 if (blockIndex == 3) in armVCM4P2_SetPredDir()
/frameworks/base/core/java/android/text/
DDynamicLayout.java443 private void updateAlwaysNeedsToBeRedrawn(int blockIndex) { in updateAlwaysNeedsToBeRedrawn() argument
444 int startLine = blockIndex == 0 ? 0 : (mBlockEndLines[blockIndex - 1] + 1); in updateAlwaysNeedsToBeRedrawn()
445 int endLine = mBlockEndLines[blockIndex]; in updateAlwaysNeedsToBeRedrawn()
451 mBlocksAlwaysNeedToBeRedrawn.add(blockIndex); in updateAlwaysNeedsToBeRedrawn()
456 mBlocksAlwaysNeedToBeRedrawn.remove(blockIndex); in updateAlwaysNeedsToBeRedrawn()
591 int blockIndex = firstBlock; in updateBlocks() local
593 mBlockEndLines[blockIndex] = startLine - 1; in updateBlocks()
594 updateAlwaysNeedsToBeRedrawn(blockIndex); in updateBlocks()
595 mBlockIndices[blockIndex] = INVALID_BLOCK_INDEX; in updateBlocks()
596 blockIndex++; in updateBlocks()
[all …]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c72 uint64_t blockIndex; member
223 uint64_t blockIndex, in FwdLockFile_CalculateCounter() argument
227 for (; i < sizeof blockIndex; ++i) { in FwdLockFile_CalculateCounter()
228 unsigned char part = pNonce[i] + (unsigned char)(blockIndex >> (i * CHAR_BIT)); in FwdLockFile_CalculateCounter()
246 uint64_t blockIndex = pSession->filePos / AES_BLOCK_SIZE; in FwdLockFile_DecryptByte() local
248 if (blockIndex != pSession->blockIndex) { in FwdLockFile_DecryptByte()
251 FwdLockFile_CalculateCounter(pSession->pEncryptedSessionKey, blockIndex, counter); in FwdLockFile_DecryptByte()
253 pSession->blockIndex = blockIndex; in FwdLockFile_DecryptByte()
290 pSession->blockIndex = INVALID_BLOCK_INDEX; in FwdLockFile_attach()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DomxVCM4P2_DecodeBlockCoef_Intra.c119 OMX_INT blockIndex, in omxVCM4P2_DecodeBlockCoef_Intra() argument
139 blockIndex, in omxVCM4P2_DecodeBlockCoef_Intra()
155 if (blockIndex <= 3) in omxVCM4P2_DecodeBlockCoef_Intra()
DarmVCM4P2_SetPredDir_s.s36 ; * [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.c125 OMX_INT blockIndex, in omxVCM4P2_DecodeBlockCoef_Intra() argument
145 blockIndex, in omxVCM4P2_DecodeBlockCoef_Intra()
161 if (blockIndex <= 3) in omxVCM4P2_DecodeBlockCoef_Intra()
DarmVCM4P2_SetPredDir_s.s36 ; * [in] blockIndex block index indicating the component type and
/frameworks/base/core/java/android/widget/
DEditor.java1703 final int blockIndex = dynamicLayout.getBlockIndex(blockSet.valueAt(i)); in drawHardwareAccelerated() local
1704 if (blockIndex != DynamicLayout.INVALID_BLOCK_INDEX in drawHardwareAccelerated()
1705 && mTextRenderNodes[blockIndex] != null) { in drawHardwareAccelerated()
1706 mTextRenderNodes[blockIndex].needsToBeShifted = true; in drawHardwareAccelerated()
1721 final int blockIndex = blockIndices[i]; in drawHardwareAccelerated() local
1723 && blockIndex != DynamicLayout.INVALID_BLOCK_INDEX in drawHardwareAccelerated()
1724 && mTextRenderNodes[blockIndex] != null) { in drawHardwareAccelerated()
1725 mTextRenderNodes[blockIndex].needsToBeShifted = true; in drawHardwareAccelerated()
1743 final int blockIndex = dynamicLayout.getBlockIndex(block); in drawHardwareAccelerated() local
1744 if (blockIndex == DynamicLayout.INVALID_BLOCK_INDEX in drawHardwareAccelerated()
[all …]
/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.h178 OMX_INT blockIndex,
/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.h178 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.h178 OMX_INT blockIndex,
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1701 ssize_t blockIndex,
1778 ssize_t blockIndex, uint32_t* outLastRef = NULL,
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3721 ssize_t blockIndex, uint32_t* outLastRef, in resolveAttributeReference() argument
3727 blockIndex = getAttribute(inOutValue->data, inOutValue, &newTypeSpecFlags); in resolveAttributeReference()
3730 (int)blockIndex, (int)inOutValue->dataType, inOutValue->data); in resolveAttributeReference()
3734 if (blockIndex < 0) { in resolveAttributeReference()
3735 return blockIndex; in resolveAttributeReference()
3738 return mTable.resolveReference(inOutValue, blockIndex, outLastRef, in resolveAttributeReference()
4220 ssize_t ResTable::resolveReference(Res_value* value, ssize_t blockIndex, in resolveReference() argument
4225 while (blockIndex >= 0 && value->dataType == Res_value::TYPE_REFERENCE in resolveReference()
4244 return blockIndex; in resolveReference()
4246 blockIndex = newIndex; in resolveReference()
[all …]