/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
FormatConversions.cpp | 73 int cSize = cStride * height/2; 78 uint8_t *yv12_u0 = yv12_v0 + cSize; 83 uint8_t *yv12_u = yv12_v + cSize; 114 int cSize = cStride * height/2; 120 uint8_t *yv12_u0 = yv12_v0 + cSize; 125 uint8_t *yv12_u = yv12_v + cSize; 150 int cSize = cStride * height/2; 156 uint8_t *yv12_v0 = yv12_u0 + cSize; 188 int cSize = cStride * height/2; 193 uint8_t *yv12_u0 = yv12_v0 + cSize; [all...] |
/external/skia/src/core/ |
SkVertices.cpp | 27 int64_t cSize = hasColors ? (int64_t)vertexCount * sizeof(SkColor) : 0; 30 int64_t total = sizeof(SkVertices) + vSize + tSize + cSize + iSize; 37 fCSize = SkToSizeT(cSize);
|
/frameworks/av/media/ndk/ |
NdkImage.cpp | 436 uint32_t dataSize, ySize, cSize, cStride; 468 cSize = mLockedBuffer->width * (mLockedBuffer->height / 2 - 1) + 472 dataSize = (planeIdx == 0) ? ySize : cSize; 485 cSize = cStride * mLockedBuffer->height / 2; 486 cb = cr + cSize; 490 dataSize = (planeIdx == 0) ? ySize : cSize;
|
/libcore/ojluni/src/main/java/java/util/ |
AbstractList.java | 679 int cSize = c.size(); 680 if (cSize==0) 686 size += cSize;
|
ArrayList.java | [all...] |
/external/lz4/lib/ |
lz4hc.c | 542 int const cSize = LZ4_compress_HC_extStateHC(statePtr, src, dst, srcSize, maxDstSize, compressionLevel); 546 return cSize;
|
lz4frame.c | 351 { size_t const cSize = LZ4F_compressUpdate(&cctxI, dstPtr, dstEnd-dstPtr, srcBuffer, srcSize, &options); 352 if (LZ4F_isError(cSize)) return cSize; 353 dstPtr += cSize; } 505 U32 cSize = (U32)compress(lz4ctx, (const char*)src, (char*)(cSizePtr+4), (int)(srcSize), (int)(srcSize-1), level); 506 LZ4F_writeLE32(cSizePtr, cSize); 507 if (cSize == 0) { /* compression failed */ 508 cSize = (U32)srcSize; 509 LZ4F_writeLE32(cSizePtr, cSize | LZ4F_BLOCKUNCOMPRESSED_FLAG); 512 return cSize + 4 [all...] |
/external/lz4/programs/ |
bench.c | 145 size_t cSize; 229 size_t cSize = 0; 260 blockTable[blockNb].cSize = rSize; 270 cSize = 0; 271 { U32 blockNb; for (blockNb=0; blockNb<nbBlocks; blockNb++) cSize += blockTable[blockNb].cSize; } 272 cSize += !cSize; /* avoid div by 0 */ 273 ratio = (double)srcSize / (double)cSize; 276 marks[markNb], displayName, (U32)srcSize, (U32)cSize, ratio [all...] |
lz4io.c | 480 size_t const cSize = LZ4F_compressFrame(dstBuffer, dstBufferSize, srcBuffer, readSize, &prefs); 481 if (LZ4F_isError(cSize)) EXM_THROW(31, "Compression failed : %s", LZ4F_getErrorName(cSize)); 482 compressedfilesize = cSize; 487 { size_t const sizeCheck = fwrite(dstBuffer, 1, cSize, dstFile); 488 if (sizeCheck!=cSize) EXM_THROW(32, "Write error : cannot write compressed block"); [all...] |
/external/lz4/tests/ |
fullbench.c | 389 size_t cSize=0; 477 cSize=0; for (chunkNb=0; chunkNb<nbChunks; chunkNb++) cSize += chunkP[chunkNb].compressedSize; 478 ratio = (double)cSize/(double)benchedSize*100.; 479 PROGRESS("%1i- %-28.28s :%9i ->%9i (%5.2f%%),%7.1f MB/s\r", loopNb, compressorName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / bestTime / 1000000); 483 DISPLAY("%2i-%-28.28s :%9i ->%9i (%5.2f%%),%7.1f MB/s\n", cAlgNb, compressorName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / bestTime / 1000000); 485 DISPLAY("%2i-%-28.28s :%9i ->%9i (%5.1f%%),%7.1f MB/s\n", cAlgNb, compressorName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / bestTime / 100000);
|
frametest.c | 175 size_t cSize, testSize; 199 cSize = LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuffer, testSize, NULL); 200 if (LZ4F_isError(cSize)) goto _output_error; 201 DISPLAYLEVEL(3, "Compressed null content into a %i bytes frame \n", (int)cSize); 208 { size_t avail_in = cSize; 222 cSize = LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuffer, testSize, NULL); 223 if (LZ4F_isError(cSize)) goto _output_error; 224 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize); 228 size_t compressedBufferSize = cSize; 230 BYTE* const iend = (BYTE*)compressedBuffer + cSize; [all...] |
/frameworks/base/media/jni/ |
android_media_Utils.cpp | 659 uint32_t dataSize, ySize, cSize, cStride; 665 dataSize = ySize = cSize = cStride = 0; 696 cSize = buffer->width * (buffer->height / 2 - 1) + buffer->width - 1; 705 dataSize = (idx == 0) ? ySize : cSize; 717 cSize = cStride * buffer->height / 2; 718 cb = cr + cSize; 726 dataSize = (idx == 0) ? ySize : cSize;
|
/device/generic/goldfish-opengl/system/gralloc/ |
gralloc.cpp | [all...] |
/external/python/cpython2/Mac/Modules/list/ |
_Listmodule.c | 297 Point cSize; 299 PyMac_GetPoint, &cSize)) 301 LCellSize(cSize, 645 PyDoc_STR("(Point cSize) -> None")}, 860 Point cSize; 870 PyMac_GetPoint, &cSize, 880 cSize, 1041 PyDoc_STR("(Rect rView, Rect dataBounds, Point cSize, short theProc, WindowPtr theWindow, Boolean drawIt, Boolean hasGrow, Boolean scrollHoriz, Boolean scrollVert) -> (ListHandle _rv)")}, [all...] |