Home
last modified time | relevance | path

Searched refs:yres (Results 1 – 25 of 108) sorted by relevance

12345

/hardware/qcom/display/msm8226/libvirtual/
Dvirtual.cpp76 height = mVInfo.yres; in getAttributes()
85 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres = 0; in teardown()
110 extH = mVInfo.yres; in initResolution()
164 if((maxArea > (mVInfo.xres * mVInfo.yres)) in setDownScaleMode()
175 uint32_t &extH = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes()
177 uint32_t priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes()
182 bool isDRC = (extW > mVInfo.xres) && (extH > mVInfo.yres); in setAttributes()
203 (int)mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes()
207 mVInfo.xres, mVInfo.yres); in setAttributes()
/hardware/libhardware/modules/gralloc/
Dframebuffer.cpp101 0, 0, m->info.xres, m->info.yres, in fb_post()
106 0, 0, m->info.xres, m->info.yres, in fb_post()
109 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
162 info.yres_virtual = info.yres * NUM_BUFFERS;
187 info.yres_virtual = info.yres;
191 if (info.yres_virtual < info.yres * 2) {
193 info.yres_virtual = info.yres;
196 info.yres_virtual, info.yres*2);
204 uint64_t( info.upper_margin + info.lower_margin + info.yres )
222 info.height = ((info.yres * 25.4f)/160.0f + 0.5f);
[all …]
/hardware/qcom/display/msm8084/libvirtual/
Dvirtual.cpp76 height = mVInfo.yres; in getAttributes()
85 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres = 0; in teardown()
110 extH = mVInfo.yres; in initResolution()
153 if((maxArea > (mVInfo.xres * mVInfo.yres)) in setDownScaleMode()
164 uint32_t &extH = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes()
166 uint32_t priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes()
189 mVInfo.xres, mVInfo.yres); in setAttributes()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayWriteback.cpp115 bool Writeback::configureDpyInfo(int xres, int yres) { in configureDpyInfo() argument
116 if(mXres != xres || mYres != yres) { in configureDpyInfo()
124 vinfo.yres = yres; in configureDpyInfo()
126 vinfo.yres_virtual = yres; in configureDpyInfo()
134 mYres = yres; in configureDpyInfo()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayWriteback.cpp119 bool Writeback::configureDpyInfo(int xres, int yres) { in configureDpyInfo() argument
120 if(mXres != xres || mYres != yres) { in configureDpyInfo()
128 vinfo.yres = yres; in configureDpyInfo()
130 vinfo.yres_virtual = yres; in configureDpyInfo()
138 mYres = yres; in configureDpyInfo()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayWriteback.cpp115 bool Writeback::configureDpyInfo(int xres, int yres) { in configureDpyInfo() argument
116 if(mXres != xres || mYres != yres) { in configureDpyInfo()
124 vinfo.yres = yres; in configureDpyInfo()
126 vinfo.yres_virtual = yres; in configureDpyInfo()
134 mYres = yres; in configureDpyInfo()
/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp202 int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
233 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
243 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
247 float ydpi = (info.yres * 25.4f) / info.height; in mapFrameBufferLocked()
275 info.yres, in mapFrameBufferLocked()
313 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
316 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
321 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
386 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
Dgpu.cpp192 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
203 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked()
218 m->info.yres); in gralloc_alloc_framebuffer_locked()
316 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8084/libgralloc/
Dframebuffer.cpp209 size_t size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
240 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
252 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
256 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height; in mapFrameBufferLocked()
286 info.yres, in mapFrameBufferLocked()
328 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
331 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
336 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
413 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
Dgpu.cpp206 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
217 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked()
232 m->info.yres); in gralloc_alloc_framebuffer_locked()
329 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8996/libgralloc/
Dframebuffer.cpp200 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
231 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
243 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
247 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height; in mapFrameBufferLocked()
277 info.yres, in mapFrameBufferLocked()
319 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
322 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
353 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
430 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
/hardware/qcom/display/msm8226/libgralloc/
Dframebuffer.cpp210 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
241 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
253 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
257 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height; in mapFrameBufferLocked()
287 info.yres, in mapFrameBufferLocked()
329 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
332 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
337 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
414 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
Dgpu.cpp209 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
220 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked()
235 m->info.yres); in gralloc_alloc_framebuffer_locked()
331 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8909/libgralloc/
Dframebuffer.cpp207 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
238 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
250 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
254 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height; in mapFrameBufferLocked()
284 info.yres, in mapFrameBufferLocked()
326 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
329 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
360 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
437 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dframebuffer.cpp207 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
238 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
250 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
254 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height; in mapFrameBufferLocked()
284 info.yres, in mapFrameBufferLocked()
326 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
329 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
360 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
437 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
/hardware/qcom/display/msm8994/libgralloc/
Dframebuffer.cpp213 unsigned int size = roundUpToPageSize(info.yres * info.xres * in mapFrameBufferLocked()
244 info.yres_virtual, info.yres*2); in mapFrameBufferLocked()
256 info.height = (uint32_t)(((float)(info.yres) * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked()
260 float ydpi = ((float)(info.yres) * 25.4f) / (float)info.height; in mapFrameBufferLocked()
290 info.yres, in mapFrameBufferLocked()
332 module->numBuffers = info.yres_virtual / info.yres; in mapFrameBufferLocked()
335 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
366 module->fbFormat, info.xres, info.yres); in mapFrameBufferLocked()
443 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open()
/hardware/qcom/display/msm8996/libqdutils/
Ddisplay_config.h84 uint32_t yres; member
89 DisplayAttributes() : vsync_period(0), xres(0), yres(0), xdpi(0.0f), in DisplayAttributes()
/hardware/qcom/display/msm8084/libexternal/
Dexternal.cpp265 info.yres = mode->active_v; in setDisplayTiming()
505 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution()
524 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution()
586 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setAttributes()
591 int priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes()
599 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = priH; in setAttributes()
604 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = priW; in setAttributes()
/hardware/qcom/display/msm8226/libexternal/
Dexternal.cpp265 info.yres = mode->active_v; in setDisplayTiming()
505 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution()
524 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution()
586 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setAttributes()
591 int priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes()
617 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = in setAttributes()
629 (int)mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres; in setAttributes()
/hardware/qcom/display/msm8084/libqdutils/
Ddisplay_config.h53 uint32_t yres; member
/hardware/qcom/display/msm8226/libqdutils/
Ddisplay_config.h53 uint32_t yres; member
/hardware/qcom/display/msm8960/libexternal/
Dexternal.cpp330 info.yres = active_v; in set_info()
596 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in setResolution()
615 mode->video_format, mVInfo.xres, mVInfo.yres, in setResolution()
692 mHwcContext->dpyAttr[mExtDpyNum].yres = mVInfo.yres; in setDpyWfdAttr()
705 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setDpyHdmiAttr()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp78 bool isValidResolution(hwc_context_t *ctx, uint32_t xres, uint32_t yres) in isValidResolution() argument
82 (xres < MIN_DISPLAY_XRES || yres < MIN_DISPLAY_YRES)); in isValidResolution()
96 int yres = atoi(yptr + 1); in changeResolution() local
97 if (isValidResolution(ctx,xres,yres) && in changeResolution()
98 xres != xres_orig && yres != yres_orig) { in changeResolution()
100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = yres; in changeResolution()
128 info.height = (int)(((float)info.yres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice()
132 float ydpi = ((float)info.yres * 25.4f) / (float)info.height; in openFramebufferDevice()
164 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; in openFramebufferDevice()
171 changeResolution(ctx, info.xres, info.yres); in openFramebufferDevice()
[all …]
/hardware/qcom/display/msm8994/libqdutils/
Ddisplay_config.h75 uint32_t yres; member
/hardware/qcom/display/msm8994/libhdmi/
Dhdmi.cpp321 info.yres = mode->active_v; in setDisplayTiming()
523 mVInfo.reserved[3], mVInfo.xres, mVInfo.yres, in activateDisplay()
541 mode->video_format, mVInfo.xres, mVInfo.yres, in activateDisplay()
762 uint32_t& yres, uint32_t& refresh) const { in getAttrForConfig() argument
773 yres = gEDIDData[dataIndex].mHeight; in getAttrForConfig()
779 xres, yres, fps, refresh); in getAttrForConfig()

12345