6.2.2.20. VIDEO_SLOWMOTION

6.2.2.20.1. Name

VIDEO_SLOWMOTION

注意

This ioctl is deprecated.

6.2.2.20.2. Synopsis

int ioctl(fd, VIDEO_SLOWMOTION, int nFrames)

6.2.2.20.3. Arguments

int fd

File descriptor returned by a previous call to open().

int request

Equals VIDEO_SLOWMOTION for this command.

int nFrames

The number of times to repeat each frame.

6.2.2.20.4. Description

This ioctl call asks the video device to repeat decoding frames N number of times. This call can only be used if VIDEO_SOURCE_MEMORY is selected.

6.2.2.20.5. Return Value

On success 0 is returned, on error -1 and the errno variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter.

EPERM

Mode VIDEO_SOURCE_MEMORY not selected.