CodecErr.cs 1.9 KB

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