Home
last modified time | relevance | path

Searched refs:srcStride (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp463 const uint8_t *src, size_t width, size_t height, size_t srcStride, in ConvertRGB32ToPlanar() argument
516 src += srcStride - 4 * width; in ConvertRGB32ToPlanar()
537 size_t srcStride; in extractGraphicBuffer() local
549 srcStride = buffer->stride; in extractGraphicBuffer()
556 srcStride *= 4; in extractGraphicBuffer()
581 srcStride = width * 4; in extractGraphicBuffer()
617 ycbcr.cr = (uint8_t *)bits + srcStride * srcVStride; in extractGraphicBuffer()
618 ycbcr.cb = (uint8_t *)ycbcr.cr + (srcStride >> 1) * (srcVStride >> 1); in extractGraphicBuffer()
620 ycbcr.cstride = srcStride >> 1; in extractGraphicBuffer()
621 ycbcr.ystride = srcStride; in extractGraphicBuffer()
[all …]
/frameworks/base/libs/hwui/
DFontRenderer.cpp287 int srcStride = glyph.rowBytes(); in cacheBitmap() local
298 for (uint32_t cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { in cacheBitmap()
308 for (uint32_t cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { in cacheBitmap()
329 uint8_t* src = &bitmapBuffer[0 - srcStride]; in cacheBitmap()
339 memcpy(dst += dstStride, src += srcStride, rowSize); // glyph data in cacheBitmap()
356 int rowBytes = srcStride; in cacheBitmap()
369 bitmapBuffer += srcStride; in cacheBitmap()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DSoftVideoEncoderOMXComponent.h61 const uint8_t *src, size_t width, size_t height, size_t srcStride,
/frameworks/base/libs/hwui/font/
DFont.cpp216 uint32_t srcStride = formatSize * cacheWidth; in drawCachedGlyphBitmap() local
217 uint32_t startY = glyph->mStartY * srcStride; in drawCachedGlyphBitmap()
218 uint32_t endY = startY + (glyph->mBitmapHeight * srcStride); in drawCachedGlyphBitmap()
223 cacheY += srcStride, bitmapY += bitmapWidth) { in drawCachedGlyphBitmap()
/frameworks/av/cmds/stagefright/
Dmediafilter.cpp195 int32_t srcWidth, srcHeight, srcStride, srcSliceHeight; in tryCopyDecodedBuffer() local
198 CHECK(srcFormat->findInt32("stride", &srcStride) in tryCopyDecodedBuffer()
213 srcBuffer->data() + srcStride * srcSliceHeight, in tryCopyDecodedBuffer()
/frameworks/ex/framesequence/jni/
DFrameSequence_webp.cpp177 static void copyFrame(const Color8888* src, int srcStride, Color8888* dst, int dstStride, in copyFrame() argument
181 src += srcStride; in copyFrame()
/frameworks/base/core/jni/android/graphics/
DGraphicsJNI.h105 int srcStride, int x, int y, int width, int height,
DBitmap.cpp437 bool GraphicsJNI::SetPixels(JNIEnv* env, jintArray srcColors, int srcOffset, int srcStride, in SetPixels() argument
458 src += srcStride; in SetPixels()
475 src += srcStride; in SetPixels()