Home | History | Annotate | Download | only in base

Lines Matching refs:height

79       height(0),
292 best_format->height = best->height;
319 ss << fourcc_name << captured_frame->width << "x" << captured_frame->height;
365 ComputeScale(captured_frame->width, captured_frame->height,
370 scaled_height != captured_frame->height)) {
374 << captured_frame->height << " to "
383 // Compute new width such that width * height is less than maximum but
390 captured_frame->height, scale_buffer.get(),
394 modified_frame->height = scaled_height;
424 ComputeScaleToSquarePixels(captured_frame->width, captured_frame->height,
432 << captured_frame->height << " to "
442 // Pixels are wide and short; Increasing height. Requires temporary buffer.
443 if (scaled_height > captured_frame->height) {
447 // Pixels are narrow and tall; Decreasing height. Scale will be done
456 abs(captured_frame->height), // Height.
460 abs(scaled_height), // New height.
463 modified_frame->height = scaled_height;
474 // Note that abs() of frame height is passed in, because source may be
477 int cropped_height = captured_frame->height;
486 static_cast<float>(captured_frame->height);
495 abs(captured_frame->height), captured_frame->pixel_width,
511 adapted_height = adapted_format.height;
576 // 2) Height closeness. If not same, we prefer higher.
600 if (supported.height >= 720 && (supported_fourcc == FOURCC_YU12 ||
619 int desired_height = desired.height;
624 // Check height of supported height compared to height we would like it to be.
628 int64_t delta_h = supported.height - aspect_h;
662 // 12 bits for width and height and 8 bits for fps and fourcc.
696 format.height > max_format_->height;
704 last_captured_frame_format_.height = captured_frame->height;