/device/google/cuttlefish/guest/hals/camera/ |
D | Converters.cpp | 30 int width, int height) { in _YUV420SToRGB565() argument 34 for (int y = 0; y < height; y++) { in _YUV420SToRGB565() 57 int height) { in _YUV420SToRGB32() argument 61 for (int y = 0; y < height; y++) { in _YUV420SToRGB32() 82 void YV12ToRGB565(const void* yv12, void* rgb, int width, int height) { in YV12ToRGB565() argument 83 const int pix_total = width * height; in YV12ToRGB565() 87 _YUV420SToRGB565(Y, U, V, 1, reinterpret_cast<uint16_t*>(rgb), width, height); in YV12ToRGB565() 90 void YV12ToRGB32(const void* yv12, void* rgb, int width, int height) { in YV12ToRGB32() argument 91 const int pix_total = width * height; in YV12ToRGB32() 95 _YUV420SToRGB32(Y, U, V, 1, reinterpret_cast<uint32_t*>(rgb), width, height); in YV12ToRGB32() [all …]
|
D | CameraConfiguration.cpp | 149 const std::string& height, in ValueToCameraResolution() argument 160 resolution->height = strtol(height.c_str(), &endptr, 10); in ValueToCameraResolution() 161 if (endptr != height.c_str() + height.size()) { in ValueToCameraResolution() 163 __FUNCTION__, height.c_str()); in ValueToCameraResolution() 168 if (resolution->width <= 0 || resolution->height <= 0) { in ValueToCameraResolution() 170 resolution->width, resolution->height); in ValueToCameraResolution() 175 if ((resolution->width & 7) != 0 || (resolution->height & 7) != 0) { in ValueToCameraResolution() 179 __FUNCTION__, resolution->width, resolution->height, in ValueToCameraResolution() 180 resolution->width & 7, resolution->height & 7); in ValueToCameraResolution()
|
/device/generic/goldfish/camera/ |
D | Converters.cpp | 36 int height, in _YUV420SToRGB565() argument 44 for (int y = 0; y < height; y++) { in _YUV420SToRGB565() 65 int height, in _YUV420SToRGB32() argument 73 for (int y = 0; y < height; y++) { in _YUV420SToRGB32() 96 void YV12ToRGB565(const void* yv12, void* rgb, int width, int height) in YV12ToRGB565() argument 102 const uint8_t* U = Y + y_stride * height; in YV12ToRGB565() 103 const uint8_t* V = U + uv_stride * (height / 2); in YV12ToRGB565() 105 width, height, y_stride, uv_stride); in YV12ToRGB565() 108 void YV12ToRGB32(const void* yv12, void* rgb, int width, int height) in YV12ToRGB32() argument 114 const uint8_t* V = Y + y_stride * height; in YV12ToRGB32() [all …]
|
D | EmulatorCameraTest.cpp | 58 void captureRGBA(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height, Scene& scene, uint32… in captureRGBA() argument 62 unsigned int DivH= (float)sHeight/height * (0x1 << 10); in captureRGBA() 65 for (unsigned int outY = 0; outY < height; outY++) { in captureRGBA() 95 void captureYU12(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height, Scene& scene, uint32… in captureYU12() argument 118 unsigned int DivH= (float)sHeight/height * (0x1 << 10); in captureYU12() 120 for (unsigned int outY = 0; outY < height; outY++) { in captureYU12() 123 uint8_t *pxVU = img + (height + outY / 2) * width; in captureYU12() 124 uint8_t *pxU = img + height * width + (outY / 2) * (width / 2); in captureYU12() 125 uint8_t *pxV = pxU + (height / 2) * (width / 2); in captureYU12() 184 uint32_t height = atoi(argv[3]); in main() local [all …]
|
D | EmulatedFakeRotatingCameraDevice.cpp | 71 static void rgba8888_to_nv21(uint8_t* input, uint8_t* output, int width, int height) { in rgba8888_to_nv21() argument 74 uint8_t* outputVU = output + height*yStride; in rgba8888_to_nv21() 75 for (int j = 0; j < height; ++j) { in rgba8888_to_nv21() 95 static void nv21_to_rgba8888(uint8_t* input, uint32_t * output, int width, int height) { in nv21_to_rgba8888() argument 98 uint8_t* inputVU = input + height*yStride; in nv21_to_rgba8888() 100 for (int j = 0; j < height; ++j) { in nv21_to_rgba8888() 115 void EmulatedFakeRotatingCameraDevice::render(int width, int height) in render() argument 117 update_scene((float)width, (float)height); in render() 145 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, mPixelBuf); in render() 169 void EmulatedFakeRotatingCameraDevice::create_texture_dotx(int width, int height) { in create_texture_dotx() argument [all …]
|
D | EmulatedFakeRotatingCameraDevice.h | 68 status_t startDevice(int width, int height, uint32_t pix_fmt); 85 void render(int width, int height); 86 int init_gl_surface(int width, int height); 93 void update_scene(float width, float height); 94 void create_texture_dotx(int width, int height);
|
/device/amlogic/yukawa/hal/gralloc/ |
D | mali_gralloc_bufferallocation.cpp | 103 static void get_rgb_stride_and_size(int width, int height, int pixel_size, int *pixel_stride, int *… in get_rgb_stride_and_size() argument 116 *size = stride *height; in get_rgb_stride_and_size() 132 int h_aligned = GRALLOC_ALIGN(height, AFBC_NORMAL_HEIGHT_ALIGN); in get_rgb_stride_and_size() 139 h_aligned = GRALLOC_ALIGN(height, AFBC_TILED_HEADERS_BASIC_HEIGHT_ALIGN); in get_rgb_stride_and_size() 145 h_aligned = GRALLOC_ALIGN(height, AFBC_TILED_HEADERS_WIDEBLK_HEIGHT_ALIGN); in get_rgb_stride_and_size() 155 h_aligned = GRALLOC_ALIGN(height, AFBC_WIDEBLK_HEIGHT_ALIGN); in get_rgb_stride_and_size() 197 static bool get_afbc_yuv420_8bit_stride_and_size(int width, int height, int *pixel_stride, int *byt… in get_afbc_yuv420_8bit_stride_and_size() argument 203 *internalHeight = height; in get_afbc_yuv420_8bit_stride_and_size() 227 height = GRALLOC_ALIGN(*internalHeight, AFBC_TILED_HEADERS_BASIC_HEIGHT_ALIGN); in get_afbc_yuv420_8bit_stride_and_size() 233 height = GRALLOC_ALIGN(*internalHeight, AFBC_TILED_HEADERS_WIDEBLK_HEIGHT_ALIGN); in get_afbc_yuv420_8bit_stride_and_size() [all …]
|
/device/linaro/hikey/gralloc960/ |
D | mali_gralloc_bufferallocation.cpp | 103 static void get_rgb_stride_and_size(int width, int height, int pixel_size, int *pixel_stride, int *… in get_rgb_stride_and_size() argument 116 *size = stride *height; in get_rgb_stride_and_size() 132 int h_aligned = GRALLOC_ALIGN(height, AFBC_NORMAL_HEIGHT_ALIGN); in get_rgb_stride_and_size() 139 h_aligned = GRALLOC_ALIGN(height, AFBC_TILED_HEADERS_BASIC_HEIGHT_ALIGN); in get_rgb_stride_and_size() 145 h_aligned = GRALLOC_ALIGN(height, AFBC_TILED_HEADERS_WIDEBLK_HEIGHT_ALIGN); in get_rgb_stride_and_size() 155 h_aligned = GRALLOC_ALIGN(height, AFBC_WIDEBLK_HEIGHT_ALIGN); in get_rgb_stride_and_size() 197 static bool get_afbc_yuv420_8bit_stride_and_size(int width, int height, int *pixel_stride, int *byt… in get_afbc_yuv420_8bit_stride_and_size() argument 203 *internalHeight = height; in get_afbc_yuv420_8bit_stride_and_size() 227 height = GRALLOC_ALIGN(*internalHeight, AFBC_TILED_HEADERS_BASIC_HEIGHT_ALIGN); in get_afbc_yuv420_8bit_stride_and_size() 233 height = GRALLOC_ALIGN(*internalHeight, AFBC_TILED_HEADERS_WIDEBLK_HEIGHT_ALIGN); in get_afbc_yuv420_8bit_stride_and_size() [all …]
|
/device/google/coral-kernel/sm8150/kernel-headers/media/ |
D | msm_media_info.h | 899 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument 901 (void)height; in VENUS_EXTRADATA_SIZE() 1010 static __inline__ unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) in VENUS_Y_SCANLINES() argument 1014 if (!height) in VENUS_Y_SCANLINES() 1035 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES() 1047 static __inline__ unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) in VENUS_UV_SCANLINES() argument 1051 if (!height) in VENUS_UV_SCANLINES() 1073 sclines = MSM_MEDIA_ALIGN((height+1)>>1, alignment); in VENUS_UV_SCANLINES() 1119 static __inline__ unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) in VENUS_Y_META_SCANLINES() argument 1123 if (!height) in VENUS_Y_META_SCANLINES() [all …]
|
/device/google/coral-kernel/sm8150/original-kernel-headers/media/ |
D | msm_media_info.h | 899 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument 901 (void)height; in VENUS_EXTRADATA_SIZE() 1010 static __inline__ unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) in VENUS_Y_SCANLINES() argument 1014 if (!height) in VENUS_Y_SCANLINES() 1035 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES() 1047 static __inline__ unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) in VENUS_UV_SCANLINES() argument 1051 if (!height) in VENUS_UV_SCANLINES() 1073 sclines = MSM_MEDIA_ALIGN((height+1)>>1, alignment); in VENUS_UV_SCANLINES() 1119 static __inline__ unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) in VENUS_Y_META_SCANLINES() argument 1123 if (!height) in VENUS_Y_META_SCANLINES() [all …]
|
/device/google/bonito/sdm710/kernel-headers/media/ |
D | msm_media_info.h | 816 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument 818 (void)height; in VENUS_EXTRADATA_SIZE() 919 static __inline__ unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) in VENUS_Y_SCANLINES() argument 923 if (!height) in VENUS_Y_SCANLINES() 941 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES() 953 static __inline__ unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) in VENUS_UV_SCANLINES() argument 957 if (!height) in VENUS_UV_SCANLINES() 976 sclines = MSM_MEDIA_ALIGN((height+1)>>1, alignment); in VENUS_UV_SCANLINES() 1022 static __inline__ unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) in VENUS_Y_META_SCANLINES() argument 1026 if (!height) in VENUS_Y_META_SCANLINES() [all …]
|
/device/google/crosshatch/sdm845/original-kernel-headers/media/ |
D | msm_media_info.h | 816 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument 818 (void)height; in VENUS_EXTRADATA_SIZE() 919 static __inline__ unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) in VENUS_Y_SCANLINES() argument 923 if (!height) in VENUS_Y_SCANLINES() 941 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES() 953 static __inline__ unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) in VENUS_UV_SCANLINES() argument 957 if (!height) in VENUS_UV_SCANLINES() 976 sclines = MSM_MEDIA_ALIGN((height+1)>>1, alignment); in VENUS_UV_SCANLINES() 1022 static __inline__ unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) in VENUS_Y_META_SCANLINES() argument 1026 if (!height) in VENUS_Y_META_SCANLINES() [all …]
|
/device/google/crosshatch/sdm845/kernel-headers/media/ |
D | msm_media_info.h | 816 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument 818 (void)height; in VENUS_EXTRADATA_SIZE() 919 static __inline__ unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) in VENUS_Y_SCANLINES() argument 923 if (!height) in VENUS_Y_SCANLINES() 941 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES() 953 static __inline__ unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) in VENUS_UV_SCANLINES() argument 957 if (!height) in VENUS_UV_SCANLINES() 976 sclines = MSM_MEDIA_ALIGN((height+1)>>1, alignment); in VENUS_UV_SCANLINES() 1022 static __inline__ unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) in VENUS_Y_META_SCANLINES() argument 1026 if (!height) in VENUS_Y_META_SCANLINES() [all …]
|
/device/google/bonito/sdm710/original-kernel-headers/media/ |
D | msm_media_info.h | 816 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument 818 (void)height; in VENUS_EXTRADATA_SIZE() 919 static __inline__ unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) in VENUS_Y_SCANLINES() argument 923 if (!height) in VENUS_Y_SCANLINES() 941 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES() 953 static __inline__ unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) in VENUS_UV_SCANLINES() argument 957 if (!height) in VENUS_UV_SCANLINES() 976 sclines = MSM_MEDIA_ALIGN((height+1)>>1, alignment); in VENUS_UV_SCANLINES() 1022 static __inline__ unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) in VENUS_Y_META_SCANLINES() argument 1026 if (!height) in VENUS_Y_META_SCANLINES() [all …]
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | FormatConversions.cpp | 50 void get_yv12_offsets(int width, int height, in get_yv12_offsets() argument 57 uint32_t uvHeight = height / 2; in get_yv12_offsets() 58 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yv12_offsets() 65 void get_yuv420p_offsets(int width, int height, in get_yuv420p_offsets() argument 72 uint32_t uvHeight = height / 2; in get_yuv420p_offsets() 73 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yuv420p_offsets() 89 void rgb565_to_yv12(char* dest, char* src, int width, int height, in rgb565_to_yv12() argument 96 int cSize = cStride * height/2; in rgb565_to_yv12() 100 uint8_t *yv12_v0 = yv12_y0 + yStride * height; in rgb565_to_yv12() 129 void rgb888_to_yv12(char* dest, char* src, int width, int height, in rgb888_to_yv12() argument [all …]
|
D | FormatConversions.h | 23 void get_yv12_offsets(int width, int height, 27 void get_yuv420p_offsets(int width, int height, 32 void rgb565_to_yv12(char* dest, char* src, int width, int height, 34 void rgb888_to_yv12(char* dest, char* src, int width, int height, 36 void rgb888_to_yuv420p(char* dest, char* src, int width, int height, 38 void yv12_to_rgb565(char* dest, char* src, int width, int height, 40 void yv12_to_rgb888(char* dest, char* src, int width, int height, 42 void yuv420p_to_rgb888(char* dest, char* src, int width, int height, 46 int width, int height, int top, int left,
|
/device/generic/goldfish/camera/qemu-pipeline3/ |
D | QemuSensor.cpp | 57 QemuSensor::QemuSensor(const char *deviceName, uint32_t width, uint32_t height, in QemuSensor() argument 61 mHeight(height), in QemuSensor() 62 mActiveArray{0, 0, width, height}, in QemuSensor() 76 ALOGV("QemuSensor created with pixel array %d x %d", width, height); 288 i, b.streamId, b.width, b.height, b.format, b.stride, in threadLoop() 292 captureRGB(b.img, b.width, b.height, b.stride, ×tamp); in threadLoop() 296 captureRGBA(b.width, b.height, b.stride, ×tamp, b.buffer); in threadLoop() 298 captureRGBA(b.img, b.width, b.height, b.stride, ×tamp); in threadLoop() 312 bAux.height = b.height; in threadLoop() 326 bAux.width, bAux.height, bAux.format, in threadLoop() [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/libOpenglRender/ |
D | YUVConverter.cpp | 30 static void getPlanarYUVSizes(int width, int height, in getPlanarYUVSizes() argument 59 uint32_t cHeight = height / 2; in getPlanarYUVSizes() 61 *nBytes_out = yStride * height + 2 * (cStride * cHeight); in getPlanarYUVSizes() 71 static void getYUVSizes(int width, int height, in getYUVSizes() argument 80 getPlanarYUVSizes(width, height, format, in getYUVSizes() 91 static void getPlanarYUVOffsets(int width, int height, FrameworkFormat format, in getPlanarYUVOffsets() argument 98 getYUVSizes(width, height, format, &totalSize, &yStride, &cStride, &cHeight); in getPlanarYUVOffsets() 99 int cSize = cStride * height / 2; in getPlanarYUVOffsets() 108 *voff = (*yoff) + yStride * height; in getPlanarYUVOffsets() 115 *uoff = (*yoff) + yStride * height; in getPlanarYUVOffsets() [all …]
|
/device/linaro/dragonboard/gralloc/ |
D | gralloc_gbm.cpp | 173 data.height = handle->height; in gbm_import() 178 data.height += handle->height / 2; in gbm_import() 203 int width, height; in gbm_alloc() local 206 height = handle->height; in gbm_alloc() 210 if (handle->height < 64) in gbm_alloc() 211 height = 64; in gbm_alloc() 220 height += handle->height / 2; in gbm_alloc() 224 handle->width, handle->height, handle->format, usage); in gbm_alloc() 225 bo = gbm_bo_create(gbm, width, height, format, usage); in gbm_alloc() 228 handle->width, handle->height, handle->format, usage); in gbm_alloc() [all …]
|
/device/google/cuttlefish/host/frontend/webrtc/ |
D | cvd_video_frame_buffer.cpp | 33 CvdVideoFrameBuffer::CvdVideoFrameBuffer(int width, int height) in CvdVideoFrameBuffer() argument 35 height_(height), in CvdVideoFrameBuffer() 36 y_(AlignStride(width) * height + kPlanePadding), in CvdVideoFrameBuffer() 37 u_(AlignStride((width + 1) / 2) * ((height + 1) / 2) + kPlanePadding), in CvdVideoFrameBuffer() 38 v_(AlignStride((width + 1) / 2) * ((height + 1) / 2) + kPlanePadding) {} in CvdVideoFrameBuffer() 41 int CvdVideoFrameBuffer::height() const { return height_; } in height() function in cuttlefish::CvdVideoFrameBuffer
|
/device/generic/goldfish/camera/fake-pipeline2/ |
D | Sensor.cpp | 101 Sensor::Sensor(uint32_t width, uint32_t height): in Sensor() argument 103 mResolution{width, height}, in Sensor() 104 mActiveArray{0, 0, width, height}, 105 mRowReadoutTime(kFrameDurationRange[0] / height), 115 mSceneHeight((height < Scene::kMaxHeight) ? height : Scene::kMaxHeight), 118 ALOGV("Sensor created with pixel array %d x %d", width, height); 324 i, b.streamId, b.width, b.height, b.format, b.stride, in threadLoop() 331 captureRGB(b.img, gain, b.width, b.height); in threadLoop() 334 captureRGBA(b.img, gain, b.width, b.height); in threadLoop() 344 bAux.height = b.height; in threadLoop() [all …]
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
D | renderControl_entry.cpp | 18 uint32_t rcCreateWindowSurface(uint32_t config, uint32_t width, uint32_t height); 20 uint32_t rcCreateColorBuffer(uint32_t width, uint32_t height, GLenum internalFormat); 31 …void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum f… 32 …int rcUpdateColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum … 42 …int rcUpdateColorBufferDMA(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLen… 43 …uint32_t rcCreateColorBufferDMA(uint32_t width, uint32_t height, GLenum internalFormat, int framew… 54 …void rcReadColorBufferYUV(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, void*… 56 …void rcCreateColorBufferWithHandle(uint32_t width, uint32_t height, GLenum internalFormat, uint32_… 127 uint32_t rcCreateWindowSurface(uint32_t config, uint32_t width, uint32_t height) in rcCreateWindowSurface() argument 130 return ctx->rcCreateWindowSurface(ctx, config, width, height); in rcCreateWindowSurface() [all …]
|
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_30.cpp | 138 int width, int height, int format, 165 int width, int height, int format, in alloc_buffer() argument 171 width, height, format, in alloc_buffer() 192 const int left, const int top, const int width, const int height, in lock() argument 201 left, top, width, height, in lock() 225 const int left, const int top, const int width, const int height, in lock_ycbcr() argument 242 vOffset = yStride * handle.height; in lock_ycbcr() 251 vOffset = yStride * handle.height; in lock_ycbcr() 252 uOffset = vOffset + (cStride * handle.height / 2); in lock_ycbcr() 259 uOffset = handle.height * yStride; in lock_ycbcr() [all …]
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | GLESTextureUtils.cpp | 206 static int computePackingOffset(GLenum format, GLenum type, GLsizei width, GLsizei height, int alig… in computePackingOffset() argument 209 (skipImages * height + skipRows); in computePackingOffset() 216 GLsizei width, GLsizei height, GLsizei depth, in computeTextureStartEnd() argument 229 GLsizei inputHeight = (unpackImageHeight == 0) ? height : unpackImageHeight; in computeTextureStartEnd() 231 …ALOGV("%s: input idim %d %d %d w p h %d %d %d:", __FUNCTION__, width, height, depth, inputWidth, i… in computeTextureStartEnd() 244 GLsizei width, GLsizei height, GLsizei depth, in computeTotalImageSize() argument 255 width, height, depth, in computeTotalImageSize() 269 GLsizei width, GLsizei height, GLsizei depth, in computeNeededBufferSize() argument 280 width, height, depth, in computeNeededBufferSize() 294 GLsizei width, GLsizei height, in computePackingOffsets2D() argument [all …]
|
/device/generic/goldfish-opengl/system/hals/ |
D | mapper3.cpp | 322 vOffset = yStride * cb->height; in lockYCbCrImpl() 331 vOffset = yStride * cb->height; in lockYCbCrImpl() 332 uOffset = vOffset + (cStride * cb->height / 2); in lockYCbCrImpl() 339 uOffset = cb->height * yStride; in lockYCbCrImpl() 340 vOffset = uOffset + cStride * cb->height / 2; in lockYCbCrImpl() 392 get_yv12_offsets(cb.width, cb.height, in lockHostImpl() 396 get_yuv420p_offsets(cb.width, cb.height, in lockHostImpl() 405 0, 0, cb.width, cb.height, in lockHostImpl() 409 std::vector<char> tmpBuf(cb.width * cb.height * 3); in lockHostImpl() 411 0, 0, cb.width, cb.height, in lockHostImpl() [all …]
|