/frameworks/native/services/surfaceflinger/tests/resize/ |
resize.cpp | 50 ANativeWindow_Buffer outBuffer; 51 surface->lock(&outBuffer, NULL); 52 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); 53 android_memset16((uint16_t*)outBuffer.bits, 0xF800, bpr*outBuffer.height); 56 surface->lock(&outBuffer); 57 android_memset16((uint16_t*)outBuffer.bits, 0x07E0, bpr*outBuffer.height);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetDecoderTest.java | 44 CharBuffer outBuffer = CharBuffer.allocate(arr.length); 46 CoderResult coderResult = decoder.decode(inBuffer, outBuffer, true); 48 decoder.flush(outBuffer); 49 outBuffer.flip(); 50 assertEquals("Android", outBuffer.toString().trim()); 60 CharBuffer outBuffer = CharBuffer.allocate(arr.length - offset); 62 CoderResult coderResult = decoder.decode(inBuffer, outBuffer, true); 64 decoder.flush(outBuffer); 65 outBuffer.flip(); 66 assertEquals("Android", outBuffer.toString().trim()) [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerDecoder.cpp | 112 sp<ABuffer> outBuffer; 113 CHECK(msg->findBuffer("buffer", &outBuffer)); 115 sp<ABuffer> outBuffer; 119 outBuffer = mCSD.editItemAt(mCSDIndex++); 120 outBuffer->meta()->setInt64("timeUs", 0); 122 reply->setBuffer("buffer", outBuffer);
|
/external/chromium_org/chrome/installer/util/ |
lzma_util.cc | 155 Byte *outBuffer = 0; // it must be 0 before first call for each new archive 156 UInt32 blockIndex = 0xFFFFFFFF; // can have any value if outBuffer = 0 157 size_t outBufferSize = 0; // can have any value if outBuffer = 0 166 &outBuffer, &outBufferSize, &offset, &outSizeProcessed, 205 if ((!WriteFile(hFile, outBuffer + offset, (DWORD) outSizeProcessed, 230 IAlloc_Free(&allocImp, outBuffer);
|
/frameworks/av/libvideoeditor/lvpp/ |
VideoEditorSRC.cpp | 159 MediaBuffer* outBuffer = new MediaBuffer(outBufferSize); 163 (int32_t *)((uint8_t*)outBuffer->data() + outBuffer->range_offset()), 168 sp<MetaData> to = outBuffer->meta_data(); 175 *buffer_out = outBuffer;
|
VideoEditorPreviewController.cpp | 767 uint8_t* outBuffer; 771 mTarget->getBufferYV12(&outBuffer, &outBufferStride); 779 (M4OSA_UInt32)outBufferStride, (M4VIFI_UInt8 *)outBuffer); [all...] |
/frameworks/native/services/surfaceflinger/tests/ |
Transaction_test.cpp | 34 ANativeWindow_Buffer outBuffer; 37 ASSERT_EQ(NO_ERROR, s->lock(&outBuffer, NULL)); 38 uint8_t* img = reinterpret_cast<uint8_t*>(outBuffer.bits); 39 for (uint32_t y = 0; y < outBuffer.height; y++) { 40 for (uint32_t x = 0; x < outBuffer.width; x++) { 41 uint8_t* pixel = img + (4 * (y*outBuffer.stride + x));
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
SoftAAC2.cpp | 368 INT_PCM *outBuffer = 374 outBuffer, 465 INT_PCM *outBuffer = reinterpret_cast<INT_PCM *>( 482 outBuffer,
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
SoftAACEncoder2.cpp | 498 void* outBuffer[] = { outPtr }; 504 outBufDesc.numBufs = sizeof(outBuffer) / sizeof(void*); 505 outBufDesc.bufs = (void**)&outBuffer; 517 outBuffer[0] = outPtr;
|
/frameworks/base/core/jni/ |
android_view_Surface.cpp | 220 ANativeWindow_Buffer outBuffer; 221 status_t err = surface->lock(&outBuffer, dirtyRectPtr); 231 env->SetIntField(canvasObj, gCanvasClassInfo.mSurfaceFormat, outBuffer.format); 234 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); 235 bitmap.setConfig(convertPixelFormat(outBuffer.format), outBuffer.width, outBuffer.height, bpr); 236 if (outBuffer.format == PIXEL_FORMAT_RGBX_8888) { 239 if (outBuffer.width > 0 && outBuffer.height > 0) [all...] |
/frameworks/base/services/input/ |
SpriteController.cpp | 202 ANativeWindow_Buffer outBuffer; 203 status_t status = surface->lock(&outBuffer, NULL); 208 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); 210 outBuffer.width, outBuffer.height, bpr); 211 surfaceBitmap.setPixels(outBuffer.bits); 219 if (outBuffer.width > uint32_t(update.state.icon.bitmap.width())) { 222 outBuffer.width, update.state.icon.bitmap.height(), paint); 224 if (outBuffer.height > uint32_t(update.state.icon.bitmap.height())) [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
VirtualDisplaySurface.cpp | 145 sp<GraphicBuffer> outBuffer = mProducerBuffers[mOutputProducerSlot]; 148 mOutputProducerSlot, outBuffer.get()); 152 mHwc.setOutputBuffer(mDisplayId, mOutputFence, outBuffer);
|
/external/lzma/C/Util/7z/ |
7zMain.c | 357 UInt32 blockIndex = 0xFFFFFFFF; /* it can have any value before first call (if outBuffer = 0) */
358 Byte *outBuffer = 0; /* it must be 0 before first call for each new archive. */
359 size_t outBufferSize = 0; /* it can have any value before first call (if outBuffer = 0) */
422 &blockIndex, &outBuffer, &outBufferSize,
461 if (File_Write(&outFile, outBuffer + offset, &processedSize) != 0 || processedSize != outSizeProcessed)
480 IAlloc_Free(&allocImp, outBuffer);
|
/external/lzma/C/Util/SfxSetup/ |
SfxSetup.c | 379 UInt32 blockIndex = 0xFFFFFFFF; /* it can have any value before first call (if outBuffer = 0) */
380 Byte *outBuffer = 0; /* it must be 0 before first call for each new archive. */
381 size_t outBufferSize = 0; /* it can have any value before first call (if outBuffer = 0) */
403 &blockIndex, &outBuffer, &outBufferSize,
461 if (File_Write(&outFile, outBuffer + offset, &processedSize) != 0 || processedSize != outSizeProcessed)
511 IAlloc_Free(&allocImp, outBuffer);
|
/frameworks/av/cmds/stagefright/ |
sf2.cpp | 427 sp<ABuffer> outBuffer; 428 CHECK(msg->findBuffer("buffer", &outBuffer)); 431 outBuffer = mCSD.editItemAt(mCSDIndex++); 432 outBuffer->meta()->setInt64("timeUs", 0); 434 size_t sizeLeft = outBuffer->capacity(); 435 outBuffer->setRange(0, 0); 469 if (outBuffer->size() == 0) { 473 CHECK_GT(outBuffer->size(), 0u); 481 if (outBuffer->size() == 0) { 485 outBuffer->meta()->setInt64("timeUs", timeUs) [all...] |
/external/lzma/CPP/7zip/Bundles/LzmaCon/ |
LzmaAlone.cpp | 321 Byte *outBuffer = 0;
329 outBuffer = (Byte *)MyAlloc((size_t)outSize);
330 if (outBuffer == 0)
335 int res = Lzma86_Encode(outBuffer, &outSize, inBuffer, inSize,
353 outBuffer = (Byte *)MyAlloc(outSize);
354 if (outBuffer == 0)
357 int res = Lzma86_Decode(outBuffer, &outSize, inBuffer, &inSize);
363 if (WriteStream(outStream, outBuffer, outSize) != S_OK)
365 MyFree(outBuffer);
|
/frameworks/av/services/audioflinger/ |
Effects.h | 90 int16_t *outBuffer() { return mConfig.outputCfg.buffer.s16; } 287 int16_t *outBuffer() const {
|
/frameworks/native/libs/gui/ |
Surface.cpp | 480 ANativeWindow_Buffer* outBuffer = va_arg(args, ANativeWindow_Buffer*); 482 return lock(outBuffer, inOutDirtyBounds); 721 ANativeWindow_Buffer* outBuffer, ARect* inOutDirtyBounds) 813 outBuffer->width = backBuffer->width; 814 outBuffer->height = backBuffer->height; 815 outBuffer->stride = backBuffer->stride; 816 outBuffer->format = backBuffer->format; 817 outBuffer->bits = vaddr;
|
/system/core/liblog/ |
logprint.c | 900 char *outBuffer = NULL; 903 outBuffer = android_log_formatLogLine(p_format, defaultBuffer, 906 if (!outBuffer) 910 ret = write(fd, outBuffer, totalLen); 926 if (outBuffer != defaultBuffer) { 927 free(outBuffer);
|
/external/aac/libAACenc/src/ |
aacenc_lib.cpp | 204 UCHAR *outBuffer; /* Internal bitstream buffer */ [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
7zIn.c | 1150 CBuf *outBuffer, 1178 if (!Buf_Create(outBuffer, (size_t)unpackSize, allocTemp)) 1183 outBuffer->data, (size_t)unpackSize, allocTemp); 1186 if (CrcCalc(outBuffer->data, (size_t)unpackSize) != folder->UnpackCRC) 1194 CBuf *outBuffer, 1204 res = SzReadAndDecodePackedStreams2(inStream, sd, outBuffer, baseOffset, 1285 CBuf outBuffer; 1286 Buf_Init(&outBuffer); 1287 res = SzReadAndDecodePackedStreams(inStream, &sd, &outBuffer, p->startPosAfterHeader, allocTemp); 1289 Buf_Free(&outBuffer, allocTemp) [all...] |
/external/lzma/C/ |
7zIn.c | 1150 CBuf *outBuffer,
1178 if (!Buf_Create(outBuffer, (size_t)unpackSize, allocTemp))
1183 outBuffer->data, (size_t)unpackSize, allocTemp);
1186 if (CrcCalc(outBuffer->data, (size_t)unpackSize) != folder->UnpackCRC)
1194 CBuf *outBuffer,
1204 res = SzReadAndDecodePackedStreams2(inStream, sd, outBuffer, baseOffset,
[all...] |
/external/chromium_org/third_party/npapi/bindings/ |
npapi_extensions.h | 948 void *outBuffer; [all...] |
/external/robolectric/lib/main/ |
h2-1.2.147.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.pde.core_3.6.1.v20100902_r361.jar | |