Set video capture flags
#include <gf/gf.h>
void gf_vcap_set_flags ( gf_vcap_t vcap,
unsigned flags );
- vcap
- The handle of the video capture unit, returned by gf_vcap_attach().
- flags
- Flags controlling capture behavior. Valid flags are:
- GF_VCAP_FLAG_DEINTERLACE_BOB
- Perform “BOB” deinterlacing. Each field is captured and displayed independently. The displayed frame alternates between odd and even fields.
- GF_VCAP_FLAG_DEINTERLACE_WEAVE
- Perform “WEAVE” deinterlacing. Scanlines from an odd and an even field are interleaved together to produce each displayed frame. The number of frames displayed by WEAVE deinterlacing is half the number displayed by BOB deinterlacing.
|
Upscaling is not supported when GF_VCAP_FLAG_DEINTERLACE_WEAVE is set.
|
- GF_VCAP_FLAG_DEINTERLACE_ODD_ONLY
- Only the odd fields are captured and displayed. The even fields are discarded.
gf
This function sets various flags which affect the behavior of the video capture unit.
|
Changes made to a capture unit via the gf_vcap_set_*() set of functions are enqueued and do not take effect until you explicitly call gf_vcap_update(). |
QNX Graphics Framework
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
gf_vcap_attach(),
gf_vcap_update()