Home
last modified time | relevance | path

Searched refs:x_res (Results 1 – 24 of 24) sorted by relevance

/device/google/cuttlefish_common/guest/hals/gralloc/
Dgralloc_vsoc_priv.h39 int x_res; member
58 int x_res, in vsoc_buffer_handle_t()
64 x_res(x_res), in vsoc_buffer_handle_t()
/device/google/cuttlefish_common/common/vsoc/lib/
Dscreen_region_view.h40 int x_res() const { return data().x_res; } in x_res() function
57 int line_length() const { return align(x_res() * bytes_per_pixel()); } in line_length()
60 return (align(x_res() * bytes_per_pixel()) * y_res()) + kSwiftShaderPadding; in buffer_size()
/device/google/cuttlefish_common/guest/hals/hwcomposer/cutf_cvm/
Dbase_composer.h38 int32_t x_res();
74 int32_t x_res() { in x_res() function
75 return frame_buffer_.x_res(); in x_res()
Dbase_composer.cpp49 p_handle->x_res, p_handle->y_res, &buffer); in PostFrameBufferTarget()
159 int32_t FrameBuffer::x_res() { return x_res_; } in x_res() function in cvd::FrameBuffer
162 return cvd::AlignToPowerOf2(x_res() * bytes_per_pixel(), 4); in line_length()
Dvsoc_composer.cpp320 src_priv_handle->x_res, src_priv_handle->y_res, in CompositeLayer()
334 src_priv_handle->x_res, src_priv_handle->y_res, in CompositeLayer()
346 frame_buffer_.x_res(), frame_buffer_.y_res(), in CompositeLayer()
372 int x_res = src_layer->displayFrame.right - src_layer->displayFrame.left; in CompositeLayer() local
375 x_res * in CompositeLayer()
379 x_res, y_res, in CompositeLayer()
381 x_res * frame_buffer_.bytes_per_pixel(), 4)); in CompositeLayer()
Dhwcomposer.cpp150 layer.sourceCrop.right > p_handle->x_res || in IsValidLayer()
157 layer.sourceCrop.top, layer.sourceCrop.bottom, p_handle->x_res, in IsValidLayer()
368 return pdev->composer->x_res();
/device/google/cuttlefish_common/host/commands/launch/
Dscreen_region_handler.cc31 dest->x_res = config.x_res(); in InitializeScreenRegion()
Dlaunch.cc110 auto actual_width = cvd::AlignToPowerOf2(config.x_res() * 4, 4);// align to 16 in GetIvServerCommand()
Dflags.cc45 DEFINE_int32(x_res, 720, "Width of the screen in pixels");
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/
Dgralloc_vsoc_priv.h72 int x_res; member
86 private_handle_t(int fd, int size, int format, int x_res, int y_res,
92 x_res(x_res), in fd()
Dframebuffer.cpp94 p_handle->x_res, p_handle->y_res, &buffer); in fb_post()
142 const_cast<uint32_t&>(dev->device.width) = screen_view->x_res(); in fb_device_open()
Dmapper.cpp122 formatToYcbcr(hnd->format, hnd->x_res, hnd->y_res, base, ycbcr); in gralloc_lock_ycbcr()
Dregion_registry.cpp206 hnd->x_res, hnd->y_res); in reference_region()
/device/google/cuttlefish_common/guest/hals/hwcomposer/vsoc/
Dvsoc_composer.cpp322 src_priv_handle->x_res, src_priv_handle->y_res, in CompositeLayer()
336 src_priv_handle->x_res, src_priv_handle->y_res, in CompositeLayer()
349 screen_view->x_res(), screen_view->y_res(), in CompositeLayer()
375 int x_res = src_layer->displayFrame.right - src_layer->displayFrame.left; in CompositeLayer() local
378 x_res * in CompositeLayer()
382 x_res, y_res, in CompositeLayer()
384 x_res * screen_view->bytes_per_pixel(), 16)); in CompositeLayer()
Dhwcomposer.cpp158 layer.sourceCrop.right > p_handle->x_res || in IsValidLayer()
165 layer.sourceCrop.top, layer.sourceCrop.bottom, p_handle->x_res, in IsValidLayer()
377 return screen_view->x_res();
Dbase_composer.cpp76 p_handle->x_res, p_handle->y_res, &buffer); in PostFrameBufferTarget()
/device/google/cuttlefish_common/common/vsoc/shm/
Dscreen_layout.h56 uint32_t x_res; member
/device/google/cuttlefish_common/guest/hals/hwcomposer/vsoc-future/
Dhwcomposer.cpp65 layer.sourceCrop.right > p_handle->x_res || in SanityCheckLayer()
72 layer.sourceCrop.top, layer.sourceCrop.bottom, p_handle->x_res, in SanityCheckLayer()
257 return screen_view->x_res(); in vsoc_hwc_attribute()
/device/google/cuttlefish_common/host/frontend/vnc_server/
Dvnc_utils.h73 return vsoc::CuttlefishConfig::Get()->x_res(); in ActualScreenWidth()
Dscreen_connector.cpp117 screen_params[0] = config_->x_res(); in SendScreenParameters()
/device/google/cuttlefish_common/guest/commands/vsoc_input_service/
Dvsoc_input_service.cpp74 new VirtualTouchScreen(screen_view->x_res(), screen_view->y_res())); in SetUpDevices()
/device/google/cuttlefish_common/host/libs/config/
Dcuttlefish_config.h75 int x_res() const;
76 void set_x_res(int x_res);
Dcuttlefish_config.cpp207 int CuttlefishConfig::x_res() const { return (*dictionary_)[kXRes].asInt(); } in x_res() function in vsoc::CuttlefishConfig
208 void CuttlefishConfig::set_x_res(int x_res) { (*dictionary_)[kXRes] = x_res; } in set_x_res() argument
/device/google/cuttlefish_common/host/libs/vm_manager/
Dcrosvm_manager.cpp102 config_->x_res(), ":", config_->y_res()); in StartCommand()