From fcca8871fb459ad7d1291759dc8b61396cb3cfeb Mon Sep 17 00:00:00 2001 From: TSR Berry <20988865+TSRBerry@users.noreply.github.com> Date: Sun, 5 Feb 2023 17:14:21 +0100 Subject: [PATCH] Adjust docstrings for CodecError.cs --- src/Ryujinx.Graphics.Nvdec.Vp9/CodecErr.cs | 83 +++++++++++++--------- 1 file changed, 51 insertions(+), 32 deletions(-) diff --git a/src/Ryujinx.Graphics.Nvdec.Vp9/CodecErr.cs b/src/Ryujinx.Graphics.Nvdec.Vp9/CodecErr.cs index 82658b4cf..9bcf4ac01 100644 --- a/src/Ryujinx.Graphics.Nvdec.Vp9/CodecErr.cs +++ b/src/Ryujinx.Graphics.Nvdec.Vp9/CodecErr.cs @@ -2,55 +2,74 @@ { internal enum CodecErr { - /*!\brief Operation completed without error */ + /// + /// Operation completed without error + /// Ok, - /*!\brief Unspecified error */ + /// + /// Unspecified error + /// Error, - /*!\brief Memory operation failed */ + /// + /// Memory operation failed + /// MemError, - /*!\brief ABI version mismatch */ + /// + /// ABI version mismatch + /// AbiMismatch, - /*!\brief Algorithm does not have required capability */ + /// + /// Algorithm does not have required capability + /// Incapable, - /*!\brief The given bitstream is not supported. - * - * The bitstream was unable to be parsed at the highest level. The decoder - * is unable to proceed. This error \ref SHOULD be treated as fatal to the - * stream. */ + /// + /// The given bitstream is not supported. + /// + /// + /// The bitstream was unable to be parsed at the highest level.
+ /// The decoder is unable to proceed.
+ /// This error SHOULD be treated as fatal to the stream. + ///
UnsupBitstream, - /*!\brief Encoded bitstream uses an unsupported feature - * - * The decoder does not implement a feature required by the encoder. This - * return code should only be used for features that prevent future - * pictures from being properly decoded. This error \ref MAY be treated as - * fatal to the stream or \ref MAY be treated as fatal to the current GOP. - */ + /// + /// Encoded bitstream uses an unsupported feature + /// + /// + /// The decoder does not implement a feature required by the encoder.
+ /// This return code should only be used for features that prevent future + /// pictures from being properly decoded.
+ ///
+ /// This error MAY be treated as fatal to the stream or MAY be treated as fatal to the current GOP. + ///
UnsupFeature, - /*!\brief The coded data for this stream is corrupt or incomplete - * - * There was a problem decoding the current frame. This return code - * should only be used for failures that prevent future pictures from - * being properly decoded. This error \ref MAY be treated as fatal to the - * stream or \ref MAY be treated as fatal to the current GOP. If decoding - * is continued for the current GOP, artifacts may be present. - */ - CorruptFrame, + /// + /// The coded data for this stream is corrupt or incomplete. + /// + /// + /// There was a problem decoding the current frame.
+ /// This return code should only be used + /// for failures that prevent future pictures from being properly decoded.
+ ///
+ /// This error MAY be treated as fatal to the stream or MAY be treated as fatal to the current GOP.
+ /// If decoding is continued for the current GOP, artifacts may be present. + ///
+ CorruptFrame, - /*!\brief An application-supplied parameter is not valid. - * - */ + /// + /// An application-supplied parameter is not valid. + /// InvalidParam, - /*!\brief An iterator reached the end of list. - * - */ + /// + /// An iterator reached the end of list. + /// ListEnd } } \ No newline at end of file