libexplain  1.4.D001
Enumerations | Functions
libexplain/buffer/v4l2_crop.h File Reference
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Enumerations

enum  explain_v4l2_crop_check_type_t { explain_v4l2_crop_check_type_no_idea, explain_v4l2_crop_check_type_nosuch, explain_v4l2_crop_check_type_notsup, explain_v4l2_crop_check_type_ok }

Functions

void explain_buffer_v4l2_crop (explain_string_buffer_t *sb, const struct v4l2_crop *data, int extra)
enum explain_v4l2_crop_check_type_t explain_v4l2_crop_check_type (int fildes, const struct v4l2_crop *data)

Enumeration Type Documentation

Enumerator:
explain_v4l2_crop_check_type_no_idea 
explain_v4l2_crop_check_type_nosuch 
explain_v4l2_crop_check_type_notsup 
explain_v4l2_crop_check_type_ok 

Definition at line 40 of file v4l2_crop.h.


Function Documentation

void explain_buffer_v4l2_crop ( explain_string_buffer_t sb,
const struct v4l2_crop *  data,
int  extra 
)

The explain_buffer_v4l2_crop function may be used to print a representation of a v4l2_crop structure.

Parameters:
sbThe string buffer to print into.
dataThe v4l2_crop structure to be printed.
extrawhether or not to print the returned value fields
enum explain_v4l2_crop_check_type_t explain_v4l2_crop_check_type ( int  fildes,
const struct v4l2_crop *  data 
)

The explain_v4l2_crop_check_type function is used to check the type member of a v4l2_crop struct.

Parameters:
fildesThe associated file descriptor
dataThe crop struct to have its type member checked.
Returns:
no_idea if the file descriptor is unhelpful or the pointer is efault, nosuch if there is no such type, notsup if the type exists, but is not supported by the device, ok if nothing wrong could be found.