Tag: Direct3D 11

Direct3D 11 Video Processors

ID3D11VideoContext::VideoProcessorSetOutputTargetRect method: The target rectangle is the area within the destination surface where the output will be drawn. The target rectangle is given in pixel coordinates, relative to the destination surface. If this method is never called, or if the Enable parameter is FALSE, the video processor writes to the entire destination surface. Okay, let…

Read the full article

Reference Signal Source: Direct3D 11 awareness

A few updates to DirectShowReferenceSource module, it’s Media Foundation video Media Source related part today. First, the video media source is now handling restarts from paused state correctly and resumes frame generation from proper position (not from zero as before). Second, the video media source is now Direct3D 11 aware. That is, when it participates…

Read the full article

Video Processor MFT scaling bug

Let us break the silence with a fresh Media Foundation bug. D3D11 WARNING: ID3D11DeviceContext::PSSetShaderResources: Resource being set to PS shader resource slot 0 is inaccessible because of a previous call to ReleaseSync or GetDC. [ STATE_SETTING WARNING #7: DEVICE_PSSETSHADERRESOURCES_HAZARD] A Direct3D 11 enabled instance of Video Processor MFT is doing something wrong with the data…

Read the full article