代码搜索结果
找到约 8,819 项符合
RGB 的代码
snap_jpg.c
/*
* snap_jpg - screen snapshot for Nano-X, jpeg format
*/
#include
#include
#include
#include
#include
#include
/* create RGB color
makebmp.c
/*
* Copyright (c) 1999 Greg Haerr
*
* Framebuffer data to .bmp file converter
*
* 10/4/1999 g haerr
*/
#include
#include
#define BI_RGB 0L
#define BI_R
snap_jpg.c
/*
* snap_jpg - screen snapshot for Nano-X, jpeg format
*/
#include
#include
#include
#include
#include
#include
/* create RGB color
testpicture.c
/* test image in rgb 24 bit format */
section ("image_buffer") unsigned char testPicture[] = {
205,205,205,164,164,164,169,169,169,169,169,169,169,169,169,169,
169,169,169,169,169,169,169
testpicture.c
/* test image in rgb 24 bit format */
section ("image_buffer") unsigned char testPicture[] = {
205,205,205,164,164,164,169,169,169,169,169,169,169,169,169,169,
169,169,169,169,169,169,169
burstcapt.py
import sys
import sv, SV
import gl, GL, DEVICE
def main():
format = SV.RGB8_FRAMES
requestedwidth = SV.PAL_XMAX
queuesize = 30
if sys.argv[1:]:
queuesize = eval(sys.argv[1])
v = sv.OpenVideo(
a0a40fca8119001b1635a980f546e085
#define VGA_WIDTH 200
#define Vga_Set_Pixel(base,x,y,k) IOWR(base, y*VGA_WIDTH+x, k) //改动过
unsigned long RGB(unsigned int r,unsigned int g,unsigned int b)
{
unsigned lon
203e08728119001b1635a980f546e085
#define VGA_WIDTH 200
#define Vga_Set_Pixel(base,x,y,k) IOWR(base, y*VGA_WIDTH+x, k) //改动过
unsigned long RGB(unsigned int r,unsigned int g,unsigned int b)
{
unsigned lon
70b3a47ce719001b18a3bb142f0101dc
#define VGA_WIDTH 200
#define Vga_Set_Pixel(base,x,y,k) IOWR(base, y*VGA_WIDTH+x, k) //改动过
unsigned long RGB(unsigned int r,unsigned int g,unsigned int b)
{
unsigned lon
909c575bf219001b180790659e27d27b
#define VGA_WIDTH 200
#define Vga_Set_Pixel(base,x,y,k) IOWR(base, y*VGA_WIDTH+x, k) //改动过
unsigned long RGB(unsigned int r,unsigned int g,unsigned int b)
{
unsigned lon