ホーム › Media.MediaFoundation › D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS1
D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS1
構造体サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。
フィールド
| フィールド | 型 | サイズ | x64 | x86 |
|---|---|---|---|---|
| NodeIndex | DWORD | 4 | +0 | +0 |
| Codec | D3D12_VIDEO_ENCODER_CODEC | 4 | +4 | +4 |
| Profile | D3D12_VIDEO_ENCODER_PROFILE_DESC | 16/8 | +8 | +8 |
| InputFormat | DXGI_FORMAT | 4 | +24 | +16 |
| PictureTargetResolution | D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC | 8 | +28 | +20 |
| IsSupported | BOOL | 4 | +36 | +28 |
| CompressedBitstreamBufferAccessAlignment | DWORD | 4 | +40 | +32 |
| EncoderMetadataBufferAccessAlignment | DWORD | 4 | +44 | +36 |
| MaxEncoderOutputMetadataBufferSize | DWORD | 4 | +48 | +40 |
| OptionalMetadata | D3D12_VIDEO_ENCODER_OPTIONAL_METADATA_ENABLE_FLAGS | 4 | +52 | +44 |
| CodecConfiguration | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION | 16/8 | +56 | +48 |
| EncoderOutputMetadataQPMapTextureDimensions | D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC | 8 | +72 | +56 |
| EncoderOutputMetadataSATDMapTextureDimensions | D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC | 8 | +80 | +64 |
| EncoderOutputMetadataBitAllocationMapTextureDimensions | D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC | 8 | +88 | +72 |
| EncoderOutputMetadataFramePSNRComponentsNumber | DWORD | 4 | +96 | +80 |
| EncoderOutputMetadataSubregionsPSNRComponentsNumber | DWORD | 4 | +100 | +84 |
| EncoderOutputMetadataSubregionsPSNRResolvedMetadataBufferSize | DWORD | 4 | +104 | +88 |