beautypg.com

Sx16_ioc_rw_resume, Sx16_ioc_rw_reset, Sx16_ioc_set_brightness – Sensoray 616 Linux User Manual

Page 12: Sx16_ioc_set_contrast

background image

12

Pauses data flow. Sends “PAUSE” command to the board.
Application cannot read/write after the PAUSE command until RESUME or STOP command sent.

SX16_IOC_RW_RESUME

ioctl( handle, SX16_IOC_RW_RESUME, 0 );

Parameters
Return values

Returns 0 on success. Returns an error code if any errors were detected.

Notes

Resumes data flow after pause. Sends “RESUME” command to the board.
Since the real time cannot be “paused”, the time marks in the MPEG stream will have a gap from
pause_time to resume_time. Some applications may indicate a timer error (lost data) on such places.

SX16_IOC_RW_RESET

ioctl( handle, SX16_IOC_RW_RESET, 0 );

Parameters
Return values

Returns 0 on success. Returns an error code if any errors were detected.

Notes

Terminates any jobs and brings board to the default state.

SX16_IOC_SET_BRIGHTNESS

ioctl( handle, SX16_IOC_SET_BRIGHTNESS, brightness);

Parameters

brightness

Brightness. Must be between 0 and 255.

Return values

None.

Notes

Sets brightness on video input.

SX16_IOC_SET_CONTRAST

ioctl( handle, SX16_IOC_SET_CONTRAST, contrast );

Parameters

contrast

Contrast. Must be between 0 and 255.

Return values

This manual is related to the following products: