Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_vcap_set_flags.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_vcap_set_flags.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_vcap_set_flags.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_vcap_set_flags.html on line 8
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()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_vcap_set_flags.html on line 141
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_vcap_set_flags.html on line 141