Lines Matching refs:width
79 const overlay_buffer *ALLOCATE_OVERLAY_BUFFER(color_space cs, uint16 width, uint16 height)
113 if (width == (width & ~0x0007))
115 si->overlay.myBuffer[offset].width = width;
119 si->overlay.myBuffer[offset].width = (width & ~0x0007) + 8;
121 si->overlay.myBuffer[offset].bytes_per_row = 2 * si->overlay.myBuffer[offset].width;
126 if (si->overlay.myBuffer[offset].width > 4088)
142 /* if (width == (width & ~0x001f))
144 si->overlay.myBuffer[offset].width = width;
148 si->overlay.myBuffer[offset].width = (width & ~0x001f) + 32;
151 /* si->overlay.myBuffer[offset].bytes_per_row = si->overlay.myBuffer[offset].width;
156 /* if (si->overlay.myBuffer[offset].width > 4064)
178 /* check if the requested buffer width is supported */
180 if (si->overlay.myBuffer[offset].width > 1024) {
181 LOG(4,("Overlay: Sorry, requested buffer width not supported, aborted\n"));
199 if (si->overlay.myBuffer[offset].width > 1920) {
200 LOG(4,("Overlay: Sorry, requested buffer width not supported, aborted\n"));
220 si->overlay.myBufInfo[offset].slopspace = si->overlay.myBuffer[offset].width - width;
479 oc->view.width.min = 1;
481 oc->view.width.max = ob->width;
489 oc->window.width.min = 2;
490 /* G200-G550 can output upto and including 2048 pixels in width */
493 oc->window.width.max = 2048;
497 oc->window.width.max = dm->virtual_width;
516 oc->h_scale.max = (16384 * 2)/(float)(ob->width - si->overlay.myBufInfo[offset].slopspace);
521 oc->h_scale.max = 16384/(float)(ob->width - si->overlay.myBufInfo[offset].slopspace);