Searched refs:block (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/base/media/libstagefright/codecs/avc/dec/src/
H A Ditrans.cpp20 /* input are in the first 16 elements of block,
23 void Intra16DCTrans(int16 *block, int Qq, int Rq) argument
30 inout = block;
46 inout = block;
89 void itrans(int16 *block, uint8 *pred, uint8 *cur, int width) argument
96 inout = block;
115 e0 = block[0] + block[32];
116 e1 = block[0] - block[3
169 ictrans(int16 *block, uint8 *pred, uint8 *cur, int width) argument
249 ChromaDCTrans(int16 *block, int Qq, int Rq) argument
[all...]
H A Dresidual.cpp175 int16 *block; local
194 memset(video->block, 0, sizeof(int16)*NUM_PIXELS_IN_MB);
201 block = video->block;
212 block[idx] = level[i];
218 Intra16DCTrans(block, Qq, Rq);
238 block = video->block + (j << 6) + (i << 2); //
245 block[idx] should be assigned with level[k].
248 then addition with block[id
[all...]
/frameworks/base/core/java/android/os/
H A DConditionVariable.java25 * open(), close() and block() are sticky. If open() is called before block(),
26 * block() will not block, and instead return immediately.
59 * Any threads that later approach block() will not block unless close()
77 * Any threads that call block() will block until someone calls open.
92 public void block() method in class:ConditionVariable
117 public boolean block(lon method in class:ConditionVariable
[all...]
/frameworks/base/awt/org/apache/harmony/x/imageio/stream/
H A DRandomAccessMemoryCache.java63 byte[] block = blocks.get((int)(pos >> BLOCK_SHIFT));
64 block[(int)(pos & BLOCK_MASK)] = (byte) oneByte;
81 byte[] block = blocks.get((int)(pos >> BLOCK_SHIFT));
84 System.arraycopy(buffer, offset, block, blockOffset, toCopy);
96 byte[] block = blocks.get((int)(pos >> BLOCK_SHIFT));
97 return block[(int)(pos & BLOCK_MASK)] & 0xFF;
115 byte[] block = blocks.get((int)(pos >> BLOCK_SHIFT));
117 System.arraycopy(block, (int)(pos & BLOCK_MASK), buffer, offset, nbytes);
182 byte[] block = blocks.get(blockIdx);
187 int bytesRead = is.read(block, offse
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp253 ResXMLTree& block, bool _appendComment)
255 , sourcePos(in->getPrintableSource(), block.getLineNumber())
297 ResXMLTree& block,
303 PendingAttribute attr(myPackage, in, block, inStyleable);
316 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
318 attr.ident = String16(block.getAttributeStringValue(identIdx, &len));
328 block.getComment(&len) ? block.getComment(&len) : nulStr);
330 ssize_t typeIdx = block.indexOfAttribute(NULL, "format");
332 String16 typeStr = String16(block
296 compileAttribute(const sp<AaptFile>& in, ResXMLTree& block, const String16& myPackage, ResourceTable* outTable, String16* outIdent = NULL, bool inStyleable = false) argument
566 parseAndAddBag(Bundle* bundle, const sp<AaptFile>& in, ResXMLTree* block, const ResTable_config& config, const String16& myPackage, const String16& curType, const String16& ident, const String16& parentIdent, const String16& itemIdent, int32_t curFormat, bool pseudolocalize, const bool overwrite, ResourceTable* outTable) argument
609 parseAndAddEntry(Bundle* bundle, const sp<AaptFile>& in, ResXMLTree* block, const ResTable_config& config, const String16& myPackage, const String16& curType, const String16& ident, const String16& curTag, bool curIsStyled, int32_t curFormat, bool pseudolocalize, const bool overwrite, ResourceTable* outTable) argument
655 ResXMLTree block; local
[all...]
H A DResource.cpp184 ResXMLTree block; local
185 status_t err = parseXMLResource(file, &block);
189 //printXMLBlock(&block);
192 while ((code=block.next()) != ResXMLTree::START_TAG
200 file->getPrintableSource().string(), block.getLineNumber());
203 if (strcmp16(block.getElementName(&len), String16("manifest").string()) != 0) {
205 file->getPrintableSource().string(), block.getLineNumber(),
206 String8(block.getElementName(&len)).string());
210 ssize_t nameIndex = block.indexOfAttribute(NULL, "package");
213 file->getPrintableSource().string(), block
934 ResXMLTree block; local
1008 ResXMLTree block; local
1113 ResXMLTree block; local
[all...]
H A DXMLNode.cpp298 void printXMLBlock(ResXMLTree* block) argument
300 block->restart();
306 while ((code=block->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
311 const uint16_t* ns16 = block->getElementNamespace(&len);
313 const uint16_t* com16 = block->getComment(&len);
318 String8(block->getElementName(&len)).string(),
319 block->getLineNumber());
320 int N = block->getAttributeCount();
324 uint32_t res = block->getAttributeNameResID(i);
325 ns16 = block
[all...]
H A DStringPool.cpp186 sp<AaptFile> block = createStringBlock(); local
187 if (block == NULL) {
190 ssize_t res = pool->writeData(block->getData(), block->getSize());
/frameworks/base/services/java/com/android/server/
H A DRandomBlock.java30 * A 4k block of random {@code byte}s.
37 private byte[] block = new byte[BLOCK_SIZE]; field in class:RandomBlock
56 int result = in.read(retval.block, total, BLOCK_SIZE - total);
88 out.write(block);
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java151 int block = loadResourceValue(ident, tmpValue, true);
152 if (block >= 0) {
154 return mStringBlocks[block].get(tmpValue.data);
169 int block = loadResourceBagValue(ident, bagEntryId, tmpValue, true);
170 if (block >= 0) {
172 return mStringBlocks[block].get(tmpValue.data);
195 int block = loadResourceValue(ident, outValue, resolveRefs);
196 if (block >= 0) {
200 outValue.string = mStringBlocks[block].get(outValue.data);
215 int block;
268 getPooledString(int block, int id) argument
704 getNativeStringBlock(int block) argument
[all...]
H A DXmlBlock.java78 Parser(int parseState, XmlBlock block) { argument
80 mBlock = block;
81 block.mOpenCount++;
474 * Create from an existing xml block native object. This is
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp90 const Res_value& value, uint32_t ref, ssize_t block,
94 const Res_value& value, uint32_t ref, ssize_t block,
99 (jint)table->getTableCookie(block));
108 return block;
722 ssize_t block = res.getResource(ident, &value, false, &typeSpecFlags, &config); local
724 if (block == BAD_INDEX) {
731 block = res.resolveReference(&value, block, &ref);
733 if (block == BAD_INDEX) {
739 return block >
93 copyValue(JNIEnv* env, jobject outValue, const ResTable* table, const Res_value& value, uint32_t ref, ssize_t block, uint32_t typeSpecFlags, ResTable_config* config) argument
755 ssize_t block = -1; local
798 android_content_AssetManager_getNativeStringBlock(JNIEnv* env, jobject clazz, jint block) argument
870 ssize_t block = theme->getAttribute(ident, &value, &typeSpecFlags); local
1020 ssize_t block = 0; local
1210 ssize_t block = 0; local
1320 ssize_t block; local
1419 ResXMLTree* block = new ResXMLTree(); local
1521 ssize_t block = res.resolveReference(&value, bag->stringBlock, NULL); local
1578 ssize_t block = res.resolveReference(&value, bag->stringBlock, NULL); local
[all...]
/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java69 mLock.block();
/frameworks/base/tools/preload/
H A Dsorttable.js449 Array.forEach = function(array, block, context) {
451 block.call(context, array[i], i, array);
457 Function.prototype.forEach = function(object, block, context) {
460 block.call(context, object[key], key, object);
466 String.forEach = function(string, block, context) {
468 block.call(context, chr, index, string);
473 var forEach = function(object, block, context) {
481 object.forEach(block, context);
490 resolve.forEach(object, block, context);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCameraTest.java96 if (!startDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) {
173 if (!mPreviewDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) {
180 if (!mSnapshotDone.block(MediaNames.WAIT_SNAPSHOT_TIME)) {
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Didct.cpp22 This file contains the functions that transform an 8r8 image block from
44 coefficients of type int for an 8r8 image block;
57 blk points to the found IDCT values for an 8r8 image block.
68 This function transforms an 8r8 image block from dequantized DCT coefficients
538 res = (*pred++ + block[0+(i<<3)]);
541 res = (*pred++ + block[1+(i<<3)]);
544 res = (*pred++ + block[2+(i<<3)]);
547 res = (*pred++ + block[3+(i<<3)]);
550 res = (*pred++ + block[4+(i<<3)]);
553 res = (*pred++ + block[
[all...]
H A Dcombined_decode.cpp572 /* oscl_memset(mblock->block, 0, sizeof(typeMBStore)); Aug 9,2005 */
590 dataBlock = mblock->block[comp]; /* 10/20/2000 */
677 BlockIDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), mblock->block[comp], width, ncoeffs[comp],
707 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4],
731 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5],
759 BlockIDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), mblock->block[comp], width, ncoeffs[comp],
785 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4],
809 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5],
H A Dblock_idct.cpp256 int16 *coeff_in = mblock->block[comp];
307 void idct_intra(int *block, uint8 *comp, int width);
311 void idctref_intra(int *block, uint8 *comp, int width);
350 uint8 *pred, /* prediction block, pitch 16 */
405 void idct(int *block, uint8 *pred, uint8 *dst, int width);
410 void idctref(int *block, uint8 *pred, uint8 *dst, int width);
H A Dvlc_decode.cpp355 int block,
376 indx = ((mbnum_col << 1) + (block & 1)) + ((mbnum_row << 1) + (block >> 1)) * nMVPerRow - 1; /* left block */
378 if (block & 1) /* block 1, 3 */
384 else /* block 0, 2 */
395 if (block >> 1)
397 indx -= (block & 1);
405 { /* block
353 mv_prediction( VideoDecData *video, int block, MOT *mvx, MOT *mvy ) argument
[all...]
H A Dconceal.cpp91 oscl_memset(video->mblock->block, 0, sizeof(typeMBStore));
/frameworks/base/media/libstagefright/codecs/avc/common/include/
H A Davclib_common.h310 \param "block" "Pointer to the video->block[0][0][0]."
314 void Intra16DCTrans(int16 *block, int Qq, int Rq);
317 This function performs transformation of a 4x4 block according to
319 \param "block" "Pointer to the origin of transform coefficient area."
325 void itrans(int16 *block, uint8 *pred, uint8 *cur, int width);
329 \param "block" "Pointer to the origin of transform coefficient area."
335 void ictrans(int16 *block, uint8 *pred, uint8 *cur, int width);
340 \param "block" "Pointer to the video->block[
[all...]
/frameworks/base/awt/org/apache/harmony/awt/gl/image/
H A DPngDecoderJava.java227 byte[] block = new byte[8192];
228 while ((readLength = in.read(block)) != -1)
229 inflatedOut.write(block, 0, readLength);
/frameworks/base/opengl/libs/ETC1/
H A Detc1.cpp21 The number of bits that represent a 4x4 texel block is 64 bits if
24 The data for a block is a number of bytes,
29 the highest. The 64 bits specifying the block is then represented
520 etc1_byte block[ETC1_DECODED_BLOCK_SIZE]; local
539 etc1_byte* q = block + (cy * 4) * 3;
553 etc1_encode_block(block, mask, encoded);
574 etc1_byte block[ETC1_DECODED_BLOCK_SIZE]; local
589 etc1_decode_block(pIn, block);
592 const etc1_byte* q = block + (cy * 4) * 3;
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java992 * shorthands to allow/block all or no metadata.
998 * @param block Is the set of metadata the client is not interested
1005 public int setMetadataFilter(Set<Integer> allow, Set<Integer> block) { argument
1017 int capacity = request.dataSize() + 4 * (1 + allow.size() + 1 + block.size());
1027 request.writeInt(block.size());
1028 for(Integer t: block) {
/frameworks/base/core/java/android/app/
H A DInstrumentation.java436 * @param block Controls whether the monitor should block the activity
443 IntentFilter which, ActivityResult result, boolean block) {
447 mBlock = block;
457 * @param block Controls whether the monitor should block the activity
464 String cls, ActivityResult result, boolean block) {
468 mBlock = block;
611 * @param block Controls whether the monitor should block th
442 ActivityMonitor( IntentFilter which, ActivityResult result, boolean block) argument
463 ActivityMonitor( String cls, ActivityResult result, boolean block) argument
620 addMonitor( IntentFilter filter, ActivityResult result, boolean block) argument
643 addMonitor( String cls, ActivityResult result, boolean block) argument
[all...]

Completed in 416 milliseconds

12