![]() |
![]() |
#include <Capture.h>
Data Fields | |
Int | numBufs |
Number of buffers the driver is to use, either allocated from the device driver or the supplied BufTab_Handle. | |
Capture_Input | videoInput |
Which video input to use. | |
Int32 | cropWidth |
Width of image to crop (if supported by H/W, otherwise ignored). If set to a negative value, no cropping will be used. This value needs to be even. | |
Int32 | cropHeight |
Height of image to crop (if supported by H/W, otherwise ignored). If set to a negative value, no cropping will be used. | |
Int32 | cropX |
X pos of image to crop (if supported by H/W, otherwise ignored). If set to a negative value, no cropping will be used. | |
Int32 | cropY |
Y pos of image to crop (if supported by H/W, otherwise ignored). If set to a negative value, no cropping will be used. | |
Char * | captureDevice |
Name of the Linux v4l2 capture device to use. | |
Bool | smoothPad |
When using the dm6446 resizer to Smooth the captured images, 2 extra rows at the top and 4 extra rows at the bottom needs to be captured (if possible). | |
VideoStd_Type | videoStd |
To force a certain video standard without auto detection, set this variable to something other than VideoStd_AUTO. | |
Int | decoderIdx |
To force a certain decoder on dm6467 instead of auto detecting which decoder supports your Capture_Attrs.videoInput, set this to a value > -1. See the VPIF device driver guide on which values apply (VIDIOC_S_STD ioctl). This is useful when auto detection doesn't work, e.g. when two EVM:s are interconnected. | |
ColorSpace_Type | colorSpace |
Output color format. | |
BufferGfx_Dimensions * | captureDimension |
Capture image size. | |
Bool | onTheFly |
Set the resizer/previewer to "on the fly mode". In this mode the capture device is chained with previewer/resizer to resize and do chroma conversion on the fly. |
Number of buffers the driver is to use, either allocated from the device driver or the supplied BufTab_Handle.
Which video input to use.
Int32 Capture_Attrs::cropWidth |
Width of image to crop (if supported by H/W, otherwise ignored). If set to a negative value, no cropping will be used. This value needs to be even.
Height of image to crop (if supported by H/W, otherwise ignored). If set to a negative value, no cropping will be used.
Int32 Capture_Attrs::cropX |
X pos of image to crop (if supported by H/W, otherwise ignored). If set to a negative value, no cropping will be used.
Int32 Capture_Attrs::cropY |
Y pos of image to crop (if supported by H/W, otherwise ignored). If set to a negative value, no cropping will be used.
Name of the Linux v4l2 capture device to use.
When using the dm6446 resizer to Smooth the captured images, 2 extra rows at the top and 4 extra rows at the bottom needs to be captured (if possible).
To force a certain video standard without auto detection, set this variable to something other than VideoStd_AUTO.
To force a certain decoder on dm6467 instead of auto detecting which decoder supports your Capture_Attrs.videoInput, set this to a value > -1. See the VPIF device driver guide on which values apply (VIDIOC_S_STD ioctl). This is useful when auto detection doesn't work, e.g. when two EVM:s are interconnected.
Only applicable for dm6467 Linux.
Output color format.
Capture image size.
Set it to NULL, if resolution needs to be auto detected.
Only applicable for dm365 Linux.
Set the resizer/previewer to "on the fly mode". In this mode the capture device is chained with previewer/resizer to resize and do chroma conversion on the fly.
If this flag is set for composite input, the captured frames will be de-interlaced automatically.
If this flag is enabled the kernel command line parameter dm365_imp.oper_mode should be set to '1', otherwise '0'.