Share via


TIMECODE_SAMPLE (Compact 2013)

3/26/2014

This structure contains complete timecode information.

Syntax

typedef struct tagTIMECODE_SAMPLE {
  LONGLONG qwTick;
  TIMECODE timecode;
  DWORD dwUser;
  DWORD dwFlags;
} TIMECODE_SAMPLE;

Members

  • qwTick
    Reference time, in 100-nanosecond units.
  • dwUser
    Packed SMPTE userbits.
  • dwFlags
    Timecode flag masks.

    Specify one or more of the following values.

    Value

    Description

    AM_TIMECODE_FLAG_FCM

    Frame code mode; 0 = nondrop; 1 = drop.

    AM_TIMECODE_FLAG_CF

    Color frame flag.

    AM_TIMECODE_FLAG_FIELD

    Field flag.

    AM_TIMECODE_FLAG_DF

    Drop frame flag (from flags in actual timecode on external media).

    AM_TIMECODE_COLORFRAME

    Which frame in color sequence.

    AM_TIMECODE_COLORSEQUENCE

    Duration in frames of complete sequence.

    AM_TIMECODE_FILMSEQUENCE_TYPE

    One of FILM_SEQUENCE_XXX defines.

Remarks

The upper 16 bits in dwFlags are reserved. Set them to 0 (zero).

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

DirectShow Structures