sampler s0 : register(s0); float4 p0 : register(c0); // Hauteur de la frame #define height (p0[1]) float4 main(float2 tex : TEXCOORD0) : COLOR { // c0 = pixel original float4 c0=tex2D(s0,tex); // Uncomment to activate for HD only //if(height >719 ) //{ // return c0; //} // r=c0[0], g=c0[1], b=c0[2] // RGB [16,235] to YUV: 601 mode (128 is not added to Cb and Cr) float y=0.299*c0[0] + 0.587*c0[1] + 0.114*c0[2]; float Cb=-0.172*c0[0] -0.339*c0[1] +0.511*c0[2]; float Cr=0.511*c0[0] -0.428*c0[1] -0.083*c0[2]; // YUV to RGB [16,235]: 709 mode (Cb and Cr are 128 less) float r=y+1.540*Cr; float g=y-0.459*Cr-0.183*Cb; float b=y+1.816*Cb; float4 ret=float4(r,g,b,0); return ret; }Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.