- General info
The video properties interfaces provides information on the incoming video signal. After video presence detected, additional properties can be detected about the type of signal.
- Constants
- Signal presence detected
- int SignalPresenceInvalid = -1
- int SignalPresenceUnknown = 0
- int SignalPresenceDetected = 1
- int SignalPresenceNotDetected = 2
- Number of lines detected
- int NumberOfLinesInvalid = -1
Number of lines is not detected yet, number of lines detection is in progress.
- int NumberOfLinesUnknown = 0
Number of lines detection is finished, but number of lines could not be determined.
- int VideoDetectionSensitivityUnknown = 0
- int VideoDetectionSensitivityReduced = 1
- int VideoDetectionSensitivityNormal = 2
- int VideoDetectionSensitivityIncreased = 3
- int VideoDetectionSensitivityAuto = 4
- int ScanTypeUnknown = 0
- int ScanTypeInterlaced = 1
- int ScanTypeProgressive = 2
- Macrovision protection detected
- int MacroVisionInvalid = -1
- int MacroVisionUnknown = 0
- int MacroVisionAgc = 1
- int MacroVisionColorstripeType2 = 2
- int MacroVisionColorstripeType3 = 3
- Video coding detected
- int VideoCodingInvalid = -1
Video coding is not detected yet, video coding detection is in progress.
- int VideoCodingUnknown = 0
Video coding detection is finished, but video coding could not be determined.
- int VideoCodingCvbs = 1
Video coding detected as CVBS.
- int VideoCodingYc = 2
Video coding detected as YC.
- int VideoCodingYuv = 3
Video coding detected as YUV with 1fH horizontal scan frequency.
- int VideoCodingYuv2FH = 4
Video coding detected as YUV with 2fH horizontal scan frequency.
- int VideoCodingYuv3FH = 5
Video coding detected as YUV with 3fH horizontal scan frequency.
- int VideoCodingRgb = 6
Video coding detected as RGB with 1fH horizontal scan frequency.
- int VideoCodingRgb2FH = 7
Video coding detected as RGB with 2fH horizontal scan frequency.
- int VideoCodingRgb3FH = 8
Video coding detected as RGB with 3fH horizontal scan frequency.
- int VideoCodingYPbPr = 9
Video coding detected as YPbPr with 1fH horizontal scan frequency.
- int VideoCodingYPbPr2FH = 10
Video coding detected as YPbPr with 2fH horizontal scan frequency.
- int VideoCodingYPbPr3FH = 11
Video coding detected as YPbPr with 3fH horizontal scan frequency.
- Video presence detected
- int VideoPresenceInvalid = -1
Video presence is not detected yet, presence detecion is in progress.
- int VideoPresenceUnknown = 0
Video presence detection is finished, but presence could not be determined, e.g. unstable reception conditions.
- int VideoPresenceDetected = 1
Video presence detected, there is a valid video signal.
- int VideoPresenceNotDetected = 2
No video presence detected, there is no valid video signal.
- Field frequency detected
- int FieldFrequencyInvalid = -1
Field frequency is not detected yet, field frequency detection is in progress.
- int FieldFrequencyUnknown = 0
Field frequency detection is finished, but field frequency could not be determined.
- Video protection type detected
- int VideoProtectionInvalid = -1
Video protection type is not detected yet, video protection type detection is in progress.
- int VideoProtectionUnknown = 0
Video protection type detection is finished, but video protection type could not be determined.
- int VideoProtectionCopyProtected = 1
Copy-protected signal has been detected. It may be playable, but not be provided for recording on any of the outputs.
- int VideoProtectionScrambled = 2
Scramble protection signal has been detected. The signal may need to be descrambled via an (external) decoder before it is playable.
- int VideoProtectionMacroVision = 3
Macrovision (TM) copy protection has been detected.
- Interlace mode detected
- int InterlaceInvalid = -1
Interlace is not detected yet, interlace detection is in progress.
- int InterlaceUnknown = 0
Interlace detection is finished, but interlace could not be determined.
- int InterlaceOneOne = 1
Interlace one-one has been detected, also known as progressive scan.
- int InterlaceTwoOne = 2
Interlace two-one has been detected, also known as interlaced scan. The starting position of the first line in a field alternates every 'one' time in a series of 'two' fields. It alternates between the top left and the top middle position every field.
- int InterlaceFourTwo = 3
Interlace four-two has been detected, also known as interlace scan. The starting position of the first line alternates every 'two' times in a series of 'four' fields. It alternates between the top left and the top middle position every two fields.
- Image format detected
- int ImageFormatInvalid = -1
Image format is not detected yet, image format detection is in progress.
- int ImageFormatUnknown = 0
Image format detection is finished, but image format could not be determined.
- int ImageFormat4by3FullFormat = 1
Image format detected as 4:3 aspect ratio, no black bars.
- int ImageFormat14by9Top = 2
Image format detected as 4:3 aspect ratio, the lower 2/14th part of the image is black.
- int ImageFormat14by9Center = 3
Image format detected as 4:3 aspect ratio, the lower and upper 1/14th part of the image is black.
- int ImageFormat16by9Top = 4
Image format detected as 4:3 aspect ratio, the lower 4/16th part of the image is black.
- int ImageFormat16by9Center = 5
Image format detected as 4:3 aspect ratio, the lower and upper 2/16th part of the image is black.
- int ImageFormat4by3Use14by9 = 6
Image format detected as 4:3 aspect ratio, no black bars, but a 14:9 centre window should contain all relevant picture content.
- int ImageFormat16by9Use14by9 = 7
Image format detected as 16:9 aspect ratio, no black bars, but a 14:9 centre window should contain all relevant picture content.
- int ImageFormat16by9Use4by3 = 8
Image format detected as 16:9 aspect ratio, no black bars, but a 4:3 centre window should contain all relevant picture content.
- int ImageFormat16by9FullFormat = 9
Image format detected as 16:9 aspect ratio, no black bars.
- int ImageFormatMoreThan16by9Center = 10
Image format detected as 4:3 aspect ratio, the lower and upper part (> 2/16th) of the image is black.
- Functions/Parameters
- FResult GetVideoPresent( int winid, int * retval )
Returns whether video is present.
Parameters
| retval | Output parameter returning video presence.
|
- FResult GetSignalPresent( int winid, int * retval )
Returns whether a video signal is present.
Parameters
| retval | Output parameter returning video signal.
|
- FResult GetFieldFrequency( int winid, int * retval )
Returns the field frequency in Hz.
Parameters
| retval | Output parameter returning field frequency
|
- FResult GetNumberOfFrameLines( int winid, int * retval )
Returns the total number of lines per frame.
Parameters
| retval | Output parameter returning the total number of lines per frame.
|
- FResult GetNumberOfVisibleLines( int winid, int * retval )
Returns the visible (active) number of lines per frame.
Parameters
| retval | The visible (active) number of lines per frame.
|
- FResult GetNumberOfVisiblePixels( int winid, int * retval )
Returns the visible (active) number of pixels per line.
Parameters
| retval | The visible (active) number of pixels per line.
|
- FResult GetInterlace( int winid, int * retval )
Returns if the signal is interlaced.
Parameters
| retval | Scantype of the signal.
|
- FResult GetImageFormat( int winid, int * retval )
This function returns the image format.
Parameters
| retval | Output parameter returning the image format.
|
- FResult IsFilmMode( int winid, Bool * retval )
This function returns if the signal is film.
Parameters
| retval | Output parameter returning if the signal is film or not.
|
- FResult IsFromVcr( int winid, Bool * retval )
This function returns if the signal from a VCR.
Parameters
| retval | Output parameter returning if the signal is from a VCR or not.
|
- FResult GetVideoCoding( int winid, int * retval )
This function returns the video coding.
Parameters
| retval | Output parameter returning the video coding.
|
- FResult GetVideoProtection( int winid, int * retval )
This function returns the video protection. It is mainly Macrovision related, so only for analog video signals. Digital protection is handled via information from the demux in the middleware.
Parameters
| retval | Output parameter returning the video protection.
|
- FResult GetMacroVisionType( int winid, int * retval )
This function returns the macro vision type.
Parameters
| retval | Output parameter returning the Macrovision protection type.
|
- FResult IsVideoDetectionSensitivitySupported( int winid, int sensitivity, Bool * retval )
- FResult SetVideoDetectionSensitivity( int winid, int sensitivity )
- FResult GetVideoDetectionSensitivity( int winid, int * retval )
- FResult IsPCFormat( int winid, int pixels, int lines, int scantype, Bool * retval )
This function indicates wether the current signal has a PC resolution.
Parameters
| retval | Output parameter returning if the signal has PC resolution or not.
|
Copyright © 2009, Koninklijke Philips Electronics N.V.