| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Set the video capture source viewport
#include <gf/gf.h>
void gf_vcap_set_input_viewport (
        gf_vcap_t   vcap,
        int         x1,
        int         y1,
        int         x2,
        int         y2 );
gf
This function sets a video capture unit's source cropping viewport. The source viewport specifies the area of the frames received by the capture unit, which can be optionally scaled, and stored in the video capture buffer.
|  | 
 | 
QNX Graphics Framework
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | Yes | 
gf_vcap_attach(), gf_vcap_update()
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |