Partager via


MPEG2VIDEOINFO (Windows Embedded CE 6.0)

1/6/2010

This structure describes an MPEG-2 video stream.

Syntax

typedef struct tagMPEG2VIDEOINFO {
  VIDEOINFOHEADER2 hdr;
  DWORD dwStartTimeCode;
  DWORD cbSequenceHeader;
  DWORD dwProfile;
  DWORD dwLevel;
  DWORD dwFlags;
  DWORD dwSequenceHeader[1];
} MPEG2VIDEOINFO;

Members

  • dwStartTimeCode
    25-bit "group-of-pictures" time code at start of data.
  • cbSequenceHeader
    Length in bytes of dwSequenceHeader.
  • dwProfile
    MPEG2Profile enumerated type member.
  • dwLevel
    MPEG2Level enumerated type member.
  • dwFlags
    Flag indicating preferences. Set one or a combination of the following values.

    Value Description

    AMMPEG2_DoPanScan

    If set, the MPEG-2 video decoder should crop the output image based on pan-scan vectors in the picture display extension and change the picture aspect ratio accordingly.

    AMMPEG2_SourceIsLetterboxed

    If set, indicates that black bars have been encoded in the top and bottom of the video.

    AMMPEG2_FilmCameraMode

    If set, indicates "film mode" used for the 625/50 (line/field) content.

    If cleared, indicates that "camera mode" was used.

    AMMPEG2_DVDLine21Field1, AMMPEG2_DVDLine21Field2

    These flags are not supported in Windows Embedded CE.

    Set undefined flags to zero or connection will be rejected.

  • dwSequenceHeader[1]
    Sequence header including quantization matrices, if any.

Requirements

Header dshow.h
Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

DirectShow Structures