Resource Base
Table of contents

CVideoFrameTag

The CVideoFrameTag class represents a video frame tag, which is a type of image tag that is used to store additional information about a video frame. It inherits from the CImageTag class and adds additional attributes and methods specific to video frames.

Definition

Namespace: dynamsoft::basic_structures

Assembly: DynamsoftCore

class CVideoFrameTag: public CImageTag 

Methods Summary

Method Description
GetVideoFrameQuality Gets the quality of the video frame.
IsCropped Determines whether the video frame is cropped.
GetCropRegion Gets the crop region of the video frame.
GetOriginalWidth Gets the original width of the video frame.
GetOriginalHeight Gets the original height of the video frame.
CVideoFrameTag The constructor of the CVideoFrameTag class.
~CVideoFrameTag The destructor of the CVideoFrameTag class.

Inherited Methods

The following methods are inherited from class CImageTag.

Method Description
GetType Gets the type of the image tag.
Clone Creates a copy of the image tag.
GetImageId Gets the ID of the image.
SetImageId Sets the ID of the image.
GetImageCaptureDistanceMode Gets the capture distance mode of the image.
SetImageCaptureDistanceMode Sets the capture distance mode of the image.

GetVideoFrameQuality

Gets the quality of the video frame.

VideoFrameQuality GetVideoFrameQuality() const

Return value

Returns the quality of the video frame.

See Also

VideoFrameQuality

IsCropped

Determines whether the video frame is cropped.

bool IsCropped() const

Return value

Returns true if the video frame is cropped, false otherwise.

GetCropRegion

Gets the crop region of the video frame.

const CRect* GetCropRegion() const

Return value

Returns a pointer to a CRect object that represents the crop region of the video frame. It may be NULL.

See Also

CRect

GetOriginalWidth

Gets the original width of the video frame.

int GetOriginalWidth() const

Return value

Returns the original width of the video frame.

GetOriginalHeight

Gets the original height of the video frame.

int GetOriginalHeight() const

Return value

Returns the original height of the video frame.

CVideoFrameTag Constructor

The constructor of the CVideoFrameTag class.

CVideoFrameTag(VideoFrameQuality quality, bool isCropped, const CRect* cropRegion, int originalWidth, int originalHidth)

Parameters

[in] quality The quality of the video frame.

[in] isCropped A boolean value indicating whether the video frame is cropped.

[in] cropRegion A pointer to a CRect object that represents the crop region of the video frame.

[in] originalWidth The original width of the video frame.

[in] originalHeight The original height of the video frame.

See Also

VideoFrameQuality

CVideoFrameTag Destructor

The destructor of the CVideoFrameTag class.

virtual ~CVideoFrameTag()

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version (2.2.20)
    • Version 2.x
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support