Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fcvg_ctl_pixel_r(3X) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

libfcvg(3X)

FCVG_CTL(3X)  —  NEWS-OS Programmer’s Manual

NAME

fcvg_ctl_box_w, fcvg_ctl_pixel_r, fcvg_ctl_pixel_w, fcvg_ctl_scan_r, fcvg_ctl_scan_w − functions for control plane of the FCVG device

SYNOPSIS

#include <fcvg.h>

int fcvg_ctl_box_w(x, y, width, height, ctl)
int x, y, width, height;
unsigned char ctl;

int fcvg_ctl_pixel_r(x, y)
int x, y;

int fcvg_ctl_pixel_w(x, y, ctl)
int x, y;
unsigned char ctl;

int fcvg_ctl_scan_r(x, y, n, ctl_ary)
int x, y, n;
unsigned char ∗ctl_ary;

int fcvg_ctl_scan_w(x, y, n, ctl_ary)
int x, y, n;
unsigned char ∗ctl_ary;

DESCRIPTION

These functions operate on the control plane of the FCVG device. 

fcvg_ctl_box_w
Paints a rectangular area whose upper left corner is at x and y, of the width pixel and height pixel with ctl. Specifiable values for ctl are shown below:

FCVG_CTL_MEMMemory display
FCVG_CTL_EXTDisplay of external video input

fcvg_ctl_pixel_r
Reads a pixel specified with x and y of the control plane. 

fcvg_ctl_pixel_w
Writes the value specified with ctl.

fcvg_ctl_scan_r
Reads n pixels data to ctl_ary from the pixel specified with x and y horizontally (in +x direction).  ctl_ary must be bigger than n.

fcvg_ctl_scan_w
Writes n pixels data stored in ctl_ary from the pixel specified with x and y horizontally (in +x direction).  ctl_ary must be bigger than n.
Either FCVG_CTL_MEM or FCVG_CTL_EXT can be specified to an element of ctl_ary.

BUG

When the position of the pixel specified is out of the memory area, the operation is not guaranteed. 

FILES

/usr/src/sony/lib/libfcvg/∗ directory for source code of the library

/usr/sony/demo/NWB224 directory for a sample program

/usr/sony/lib/libfcvg.a FCVG library

/usr/sony/include/fcvg.h header file

/usr/sony/include/fcvg_lib.h header file

/usr/sony/include/fcvg_reg.h header file

SEE ALSO

libfcvg(3X)
Chapter 8 "Full-Color Video Graphics Interface Board" in NEWS-OS Release 4.0 Programmer’s Guide. 

NEWS-OSRelease 4.2.1R

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026