libexplain  1.4.D001
Functions
libexplain/buffer/v4l2_standard.h File Reference
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_buffer_v4l2_standard (explain_string_buffer_t *sb, const struct v4l2_standard *data, int extra)
int explain_v4l2_get_nstandards (int fildes)

Function Documentation

void explain_buffer_v4l2_standard ( explain_string_buffer_t sb,
const struct v4l2_standard *  data,
int  extra 
)

The explain_buffer_v4l2_standard function may be used to print a representation of a v4l2_standard structure.

Parameters:
sbThe string buffer to print into.
dataThe v4l2_standard structure to be printed.
extrawhether or not to also print the returned value fields
int explain_v4l2_get_nstandards ( int  fildes)

The explain_v4l2_get_nstandards function is used to obtain the number of output video standards supported by the device.

Parameters:
fildesThe file descriptor of the open device.
Returns:
>0 for the number of standards, =0 when zero standards are supported, <0 for unable to determine number of supported standards