Capture_Attrs Struct Reference
[Capture]

Attributes used to create a Capture device driver instance. More...

#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_DimensionscaptureDimension
 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.

Detailed Description

Attributes used to create a Capture device driver instance.

See also:
Capture_Attrs_DM6446_DM355_DEFAULT

Capture_Attrs_DM6467_DEFAULT


Field Documentation

Number of buffers the driver is to use, either allocated from the device driver or the supplied BufTab_Handle.

Which video input to use.

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.

X pos of image to crop (if supported by H/W, otherwise ignored). If set to a negative value, no cropping will be used.

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.

Remarks:
Only applicable on Linux.

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).

Remarks:
Only applicable for dm6446 / dm357 Linux.

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.

Remarks:
The detected Capture_Input on the decoder still needs to correspond to the Capture_Attrs.videoInput set, or the function will fail.

Only applicable for dm6467 Linux.

Output color format.

Remarks:
Only applicable for dm365 Linux.

Capture image size.

Remarks:
Only height and width elements are used.

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.

Remarks:
Only applicable for dm365 Linux.

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'.


The documentation for this struct was generated from the following file:

Copyright 2011, Texas Instruments Incorporated