Lines Matching refs:pixels

471                        YUVPlane plane, void* pixels, uint32_t pixelsStride) {  in readYUVTex()  argument
472 YUV_DEBUG_LOG("format%d plane:%d pixels:%p", format, plane, pixels); in readYUVTex()
487 s_gles2.glGetTexImage(GL_TEXTURE_2D, 0, pixelFormat, pixelType, pixels); in readYUVTex()
510 const void* pixels) { in subUpdateYUVGLTex() argument
521 s_gles2.glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height, pixelFormat, pixelType, pixels); in subUpdateYUVGLTex()
937 void YUVConverter::readPixels(uint8_t* pixels, uint32_t pixels_size) { in readPixels() argument
938 …YUV_DEBUG_LOG("w:%d h:%d format:%d pixels:%p pixels-size:%d", mWidth, mHeight, mFormat, pixels, pi… in readPixels()
949 …readYUVTex(mTextureV, mFormat, mYuv420888ToNv21, YUVPlane::UV, pixels + std::min(uOffsetBytes, vOf… in readPixels()
952 …readYUVTex(mTextureU, mFormat, mYuv420888ToNv21, YUVPlane::U, pixels + uOffsetBytes, uStridePixels… in readPixels()
953 …readYUVTex(mTextureV, mFormat, mYuv420888ToNv21, YUVPlane::V, pixels + vOffsetBytes, vStridePixels… in readPixels()
957 NV12ToYUV420PlanarInPlaceConvert(mWidth, mHeight, pixels, pixels); in readPixels()
961 …readYUVTex(mTextureY, mFormat, mYuv420888ToNv21, YUVPlane::Y, pixels + yOffsetBytes, yStridePixels… in readPixels()
991 void YUVConverter::drawConvert(int x, int y, int width, int height, const char* pixels) { in drawConvert() argument
992 drawConvertFromFormat(mFormat, x, y, width, height, pixels); in drawConvert()
996 int height, const char* pixels, void* metadata) { in drawConvertFromFormat() argument
1000 if (pixels && (width != mWidth || height != mHeight)) { in drawConvertFromFormat()
1004 bool uploadFormatChanged = !mTexturesSwapped && pixels && (format != mFormat); in drawConvertFromFormat()
1048 if (pixels) { in drawConvertFromFormat()
1049 …ureY, x, y, yStridePixels, yHeight, mFormat, mYuv420888ToNv21, YUVPlane::Y, pixels + yOffsetBytes); in drawConvertFromFormat()
1051 …, x, y, uStridePixels, uHeight, mFormat, mYuv420888ToNv21, YUVPlane::UV, pixels + std::min(uOffset… in drawConvertFromFormat()
1053 …ureU, x, y, uStridePixels, uHeight, mFormat, mYuv420888ToNv21, YUVPlane::U, pixels + uOffsetBytes); in drawConvertFromFormat()
1054 …ureV, x, y, vStridePixels, vHeight, mFormat, mYuv420888ToNv21, YUVPlane::V, pixels + vOffsetBytes); in drawConvertFromFormat()