/usr/share/psychtoolbox-3/PsychGLImageProcessing/kPsychNeedTwiceWidthWindow.m is in psychtoolbox-3-common 3.0.14.20170103+git6-g605ff5c.dfsg1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | function rval = kPsychNeedTwiceWidthWindow
% rval = kPsychNeedTwiceWidthWindow
%
% Return a flag that you can pass to the 'imagingmode' parameter of
% Screen('OpenWindow') in order to request use of twice-width windows.
% These onscreen windows are treated by all drawing functions (and geometry
% query functions like Screen('Rect', window); or Screen('WindowSize',
% window); as if they have twice the width of the underlying framebuffer in
% pixels.
%
% This is used for special packed-pixel display modes, where the content of
% two visual stimulus pixels is packed into one single output framebuffer
% pixel for video scanout. E.g., certain special medical displays for use
% in Radiology (cfe. "Eizo RadiForce GS-520") are able to display
% calibrated pure luminance images with a luminance precision of 12 bits
% per grayscale pixel at 5 Megapixels resolution. These displays are driven
% over a single-link DVI-D interface with a special pixel data transmission
% format: Two horizontally adjacent 12-bit luminance pixels are encoded
% into one 24-bit RGB pseudo-color pixel. This requires a framebuffer
% encoding two luminance pixels in a single RGB8 output pixel, ie. the
% stimulus image in its "natural" representation is twice as wide as the
% underlying scanout framebuffer of the stimulus window. For such use cases
% we need the ability to have twice-width windows.
%
% Usually user scripts won't pass this flag, but only special setup
% routines that are part of the Psychtoolbox itself.
%
rval = 2^16;
return
|