Expand Minimize

DXVAHD_STREAM_STATE_FRAME_FORMAT_DATA structure

Specifies how a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) input stream is interlaced.

Syntax


typedef struct _DXVAHD_STREAM_STATE_FRAME_FORMAT_DATA {
  DXVAHD_FRAME_FORMAT FrameFormat;
} DXVAHD_STREAM_STATE_FRAME_FORMAT_DATA;

Members

FrameFormat

The video interlacing, specified as a DXVAHD_FRAME_FORMAT value.

The default state value is DXVAHD_FRAME_FORMAT_PROGRESSIVE (progressive frames).

Remarks

Some devices do not support interlaced RGB. Interlaced RGB support is indicated by the DXVAHD_INPUT_FORMAT_CAPS_RGB_INTERLACED capability flag. If the device does not support interlaced RGB, it treats all RGB input streams as progressive frames.

Some devices do not support interlaced formats with palettized color. This support is indicated by the DXVAHD_INPUT_FORMAT_CAPS_PALETTE_INTERLACED flag. If the device does not support this capability, all palettized input streams are treated as progressive frames.

To get the device's capabilities, call IDXVAHD_Device::GetVideoProcessorDeviceCaps and check the InputFormatCaps member of the DXVAHD_VPDEVCAPS structure.

Examples


HRESULT DXVAHD_SetFrameFormat(
    IDXVAHD_VideoProcessor *pVP,
    UINT stream,
    DXVAHD_FRAME_FORMAT format
    )
{
    DXVAHD_STREAM_STATE_FRAME_FORMAT_DATA frame_format = { format };

    HRESULT hr = pVP->SetVideoProcessStreamState(
        stream,
        DXVAHD_STREAM_STATE_FRAME_FORMAT,
        sizeof(frame_format),
        &frame_format
        );

    return hr;
}


Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dxvahd.h

See also

DXVA-HD
Media Foundation Structures
DXVAHD_STREAM_STATE
IDXVAHD_VideoProcessor::SetVideoProcessStreamState

 

 

Community Additions

ADD
Show:
© 2014 Microsoft