Compartilhar via


IAMTimecodeDisplay::SetTCDisplay

 
Microsoft DirectShow 9.0

IAMTimecodeDisplay::SetTCDisplay

The SetTCDisplay method sets the timecode character generator output characteristics.

Syntax

  HRESULT SetTCDisplay(
  long Param,
  long Value
);

Parameters

Param

[in] Timecode display characteristic. Specify one of the following properties you want to set properties for.

Value Description
ED_TCD_BORDER White border for black characters, black border for white characters
ED_TCD_INTENSITY Intensity (brightness) of characters
ED_TCD_INVERT Black characters on white background or white characters on black background
ED_TCD_POSITION Position of characters
ED_TCD_SIZE Size of characters
ED_TCD_SOURCE Source of the display's data
ED_TCD_TRANSPARENCY Transparency of characters

Value

[in] Setting of the parameter specified in Param. Must be one of the following:

If ED_TCD_SOURCE specified in Param, set one of the following.

Value Description
ED_TCG Timecode generator
ED_TCR Timecode reader

If ED_TCD_SIZE is specified in Param, set one of the following.

Value Description
ED_LARGE Large
ED_MED Medium
ED_SMALL Small

If ED_TCD_POSITION specified in Param, set one of the following.

Value Description
ED_BOTTOM Bottom
ED_MIDDLE Middle
ED_TOP Top

in combination with one of the following.

Value Description
ED_CENTER Center
ED_LEFT Left
ED_RIGHT Right

If ED_TCD_INTENSITY is specified in Param, set one of the following.

Value Description
ED_HIGH High
ED_LOW Low

If ED_TCD_TRANSPARENCY is specified in Param, set a value from 0 to 4, 0 being completely opaque, 4 being as dark as possible.

If ED_TCD_INVERT is specified in Param, set one of the following.

Value Description
OAFALSE Black on white
OATRUE White on black

If ED_TCD_BORDER is specified in Param, set one of the following.

Value Description
OAFALSE Black characters for white border
OATRUE White border for black characters

Return Values

Returns an HRESULT value that depends on the implementation of the interface.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also