From 9cda03e2480ce1c83de79112e701c84891480bcf Mon Sep 17 00:00:00 2001 From: coderhyme Date: Fri, 20 Oct 2017 10:45:43 +0900 Subject: [PATCH] [Multimedia] Fixed errors in the doc-comments of MediaCodec, ImageUtil, and ScreenMirroring. Change-Id: I34235e067eadcbb48bf82f09fda1db6413389602 Signed-off-by: coderhyme --- src/Tizen.Multimedia.MediaCodec/MediaCodec/MediaCodec.cs | 2 +- .../ScreenMirroring/ScreenMirroringAudioInfo.cs | 8 ++++---- .../ScreenMirroring/ScreenMirroringVideoInfo.cs | 6 +++--- src/Tizen.Multimedia.Util/ImageUtil/GifFrame.cs | 4 ++-- src/Tizen.Multimedia.Util/ImageUtil/ImageDecoder.cs | 10 ++-------- src/Tizen.Multimedia.Util/ImageUtil/ImageTransform.cs | 6 +++--- 6 files changed, 15 insertions(+), 21 deletions(-) diff --git a/src/Tizen.Multimedia.MediaCodec/MediaCodec/MediaCodec.cs b/src/Tizen.Multimedia.MediaCodec/MediaCodec/MediaCodec.cs index 2697e15..cc1b40f 100644 --- a/src/Tizen.Multimedia.MediaCodec/MediaCodec/MediaCodec.cs +++ b/src/Tizen.Multimedia.MediaCodec/MediaCodec/MediaCodec.cs @@ -21,7 +21,7 @@ using System.Diagnostics; namespace Tizen.Multimedia.MediaCodec { /// - /// Provides the means to encode and decode the video and the audio data. + /// Provides a means to encode and decode the video and the audio data. /// public class MediaCodec : IDisposable { diff --git a/src/Tizen.Multimedia.Remoting/ScreenMirroring/ScreenMirroringAudioInfo.cs b/src/Tizen.Multimedia.Remoting/ScreenMirroring/ScreenMirroringAudioInfo.cs index c3024ce..407ccf7 100644 --- a/src/Tizen.Multimedia.Remoting/ScreenMirroring/ScreenMirroringAudioInfo.cs +++ b/src/Tizen.Multimedia.Remoting/ScreenMirroring/ScreenMirroringAudioInfo.cs @@ -38,7 +38,7 @@ namespace Tizen.Multimedia.Remoting /// /// /// Not connected to a source.
- ///
+ /// -or-
/// An internal error occurs. ///
/// The has already been disposed. @@ -60,7 +60,7 @@ namespace Tizen.Multimedia.Remoting /// /// /// Not connected to a source.
- ///
+ /// -or-
/// An internal error occurs. ///
/// The has already been disposed. @@ -82,7 +82,7 @@ namespace Tizen.Multimedia.Remoting /// /// /// Not connected to a source.
- ///
+ /// -or-
/// An internal error occurs. ///
/// The has already been disposed. @@ -104,7 +104,7 @@ namespace Tizen.Multimedia.Remoting /// /// /// Not connected to a source.
- ///
+ /// -or-
/// An internal error occurs. ///
/// The has already been disposed. diff --git a/src/Tizen.Multimedia.Remoting/ScreenMirroring/ScreenMirroringVideoInfo.cs b/src/Tizen.Multimedia.Remoting/ScreenMirroring/ScreenMirroringVideoInfo.cs index 35856f5..8acd950 100644 --- a/src/Tizen.Multimedia.Remoting/ScreenMirroring/ScreenMirroringVideoInfo.cs +++ b/src/Tizen.Multimedia.Remoting/ScreenMirroring/ScreenMirroringVideoInfo.cs @@ -37,7 +37,7 @@ namespace Tizen.Multimedia.Remoting /// /// /// Not connected to a source.
- ///
+ /// -or-
/// An internal error occurs. ///
/// The has already been disposed. @@ -59,7 +59,7 @@ namespace Tizen.Multimedia.Remoting /// /// /// Not connected to a source.
- ///
+ /// -or-
/// An internal error occurs. ///
/// The has already been disposed. @@ -82,7 +82,7 @@ namespace Tizen.Multimedia.Remoting /// /// /// Not connected to a source.
- ///
+ /// -or-
/// An internal error occurs. ///
/// The has already been disposed. diff --git a/src/Tizen.Multimedia.Util/ImageUtil/GifFrame.cs b/src/Tizen.Multimedia.Util/ImageUtil/GifFrame.cs index 6649e29..25f8f28 100644 --- a/src/Tizen.Multimedia.Util/ImageUtil/GifFrame.cs +++ b/src/Tizen.Multimedia.Util/ImageUtil/GifFrame.cs @@ -28,7 +28,7 @@ namespace Tizen.Multimedia.Util /// Initializes a new instance of the class with a buffer and a delay. /// /// The raw image buffer to be encoded. - /// The delay for this image, in 0.001 sec units. + /// The delay for this image in milliseconds. /// is null. /// The length of is zero. public GifFrame(byte[] buffer, uint delay) @@ -55,7 +55,7 @@ namespace Tizen.Multimedia.Util /// /// Gets or sets the delay for this image. /// - /// Time delay in 0.001 sec units. + /// Time delay in milliseconds. public uint Delay { get; set; } } } diff --git a/src/Tizen.Multimedia.Util/ImageUtil/ImageDecoder.cs b/src/Tizen.Multimedia.Util/ImageUtil/ImageDecoder.cs index 502e31c..aeb2ab0 100644 --- a/src/Tizen.Multimedia.Util/ImageUtil/ImageDecoder.cs +++ b/src/Tizen.Multimedia.Util/ImageUtil/ImageDecoder.cs @@ -95,9 +95,7 @@ namespace Tizen.Multimedia.Util /// /// is an empty string.
/// -or-
- /// is not a image file.
- /// -or-
- /// The format of is not . + /// is not a image file. ///
/// does not exists. /// The caller does not have required permission to access the path. @@ -140,11 +138,7 @@ namespace Tizen.Multimedia.Util /// A task that represents the asynchronous decoding operation. /// Only Graphics Interchange Format(GIF) codec returns more than one frame. /// is null. - /// - /// is an empty array.
- /// -or-
- /// The format of is not . - ///
+ /// is an empty array. /// The format of is not . /// The has already been disposed of. public Task> DecodeAsync(byte[] inputBuffer) diff --git a/src/Tizen.Multimedia.Util/ImageUtil/ImageTransform.cs b/src/Tizen.Multimedia.Util/ImageUtil/ImageTransform.cs index d68c82d..3c08449 100644 --- a/src/Tizen.Multimedia.Util/ImageUtil/ImageTransform.cs +++ b/src/Tizen.Multimedia.Util/ImageUtil/ImageTransform.cs @@ -107,7 +107,7 @@ namespace Tizen.Multimedia.Util /// /// index is less than 0.
/// -or-
- /// index is equal to or greater than Count. + /// index is equal to or greater than . ///
public ImageTransform this[int index] { @@ -338,7 +338,7 @@ namespace Tizen.Multimedia.Util private Flips _flip; /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The value how to flip an image. /// is invalid. @@ -349,7 +349,7 @@ namespace Tizen.Multimedia.Util } /// - /// Gets or sets the value how to rotate an image. + /// Gets or sets the value how to flip an image. /// /// is invalid. /// is . -- 2.7.4