Microsoft DirectX 9.0 |
The precise mechanism of operation is as follows:
After initialization of operation in the above fashion, the actual operation of the decoder proceeds as follows:
Value | Description |
0 | Execution OK. |
1 | Minor problem in data format encountered. |
2 | Significant problem in data format encountered. |
3 | Severe problem in data format encountered. |
4 | Other severe problem encountered. |
If either type of "severe" problem is indicated, the software decoder should cease to operate the function(s) unless corrective action can be taken. This data returned from the accelerator shall not be read by the host until after the buffer rendering for the picture has completed, as can be tested by IAMVideoAccelerator::QueryRenderStatus. The returned HRESULT contains S_OK as long as the interface operation is functioning normally and may return E_FAIL or E_INVALIDARG or some other error indication HRESULT in the event of a severe problem.