CodecErr.cs
 1  namespace Ryujinx.Graphics.Nvdec.Vp9
 2  {
 3      internal enum CodecErr
 4      {
 5          /*!\brief Operation completed without error */
 6          CodecOk,
 7  
 8          /*!\brief Unspecified error */
 9          CodecError,
10  
11          /*!\brief Memory operation failed */
12          CodecMemError,
13  
14          /*!\brief ABI version mismatch */
15          CodecAbiMismatch,
16  
17          /*!\brief Algorithm does not have required capability */
18          CodecIncapable,
19  
20          /*!\brief The given bitstream is not supported.
21           *
22           * The bitstream was unable to be parsed at the highest level. The decoder
23           * is unable to proceed. This error \ref SHOULD be treated as fatal to the
24           * stream. */
25          CodecUnsupBitstream,
26  
27          /*!\brief Encoded bitstream uses an unsupported feature
28           *
29           * The decoder does not implement a feature required by the encoder. This
30           * return code should only be used for features that prevent future
31           * pictures from being properly decoded. This error \ref MAY be treated as
32           * fatal to the stream or \ref MAY be treated as fatal to the current GOP.
33           */
34          CodecUnsupFeature,
35  
36          /*!\brief The coded data for this stream is corrupt or incomplete
37           *
38           * There was a problem decoding the current frame.  This return code
39           * should only be used for failures that prevent future pictures from
40           * being properly decoded. This error \ref MAY be treated as fatal to the
41           * stream or \ref MAY be treated as fatal to the current GOP. If decoding
42           * is continued for the current GOP, artifacts may be present.
43           */
44          CodecCorruptFrame,
45  
46          /*!\brief An application-supplied parameter is not valid.
47           *
48           */
49          CodecInvalidParam,
50  
51          /*!\brief An iterator reached the end of list.
52           *
53           */
54          CodecListEnd,
55      }
56  }