Logo Search packages:      
Sourcecode: zbar version File versions  Download package

int zbar_processor_request_size ( zbar_processor_t processor,
unsigned  width,
unsigned  height 
)

request a preferred size for the video image from the device. the request may be adjusted or completely ignored by the driver.

Note:
must be called before zbar_processor_init()
Since:
0.6

Definition at line 476 of file processor.c.

References zbar_processor_request_size().

Referenced by zbar::Processor::request_size(), and zbar_processor_request_size().

{
    proc_enter(proc);
    proc->req_width = width;
    proc->req_height = height;
    proc_leave(proc);
    return(0);
}


Generated by  Doxygen 1.6.0   Back to index