Lines Matching defs:height

55 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, uint8_t* yPlane,
59 for (size_t j = 0; j < height; j++) {
86 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, android_ycbcr* ycbcr) {
92 rgbToYuv420(rgbBuf, width, height, reinterpret_cast<uint8_t*>(ycbcr->y),
141 * height - height of the pixelBuffer in pixels.
170 ALOGE("%s: height must be non-negative", __FUNCTION__);
178 size_t height = static_cast<size_t>(bufHeight);
189 if (grallocBufWidth != width || grallocBufHeight != height) {
192 grallocBufHeight, width, height);
218 __FUNCTION__, width, height);
238 uint8_t* uPlane = img + height * width;
244 rgbToYuv420(pixelBuffer, width, height, yPlane,
255 if ((width & 1) || (height & 1)) {
256 ALOGE("%s: Dimens %zu x %zu are not divisible by 2.", __FUNCTION__, width, height);
277 uint8_t* crPlane = img + static_cast<uint32_t>(height) * stride;
278 uint8_t* cbPlane = crPlane + cStride * static_cast<uint32_t>(height) / 2;
280 rgbToYuv420(pixelBuffer, width, height, yPlane,
301 rgbToYuv420(pixelBuffer, width, height, &ycbcr);
473 ALOGE("%s: Error while querying surface height %s (%d).", __FUNCTION__, strerror(-err),
540 ALOGE("%s: Error while querying SurfaceTexture height %s (%d)", __FUNCTION__,
568 jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) {
590 status_t err = produceFrame(anw, reinterpret_cast<uint8_t*>(pixels), width, height,
618 jint width, jint height) {
628 status_t err = native_window_set_buffers_user_dimensions(anw.get(), width, height);