|
|
@ -26,7 +26,7 @@ internal sealed class HeicDecoderCore : IImageDecoderInternals |
|
|
private ImageMetadata? metadata; |
|
|
private ImageMetadata? metadata; |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Initializes a new instance of the <see cref="PbmDecoderCore" /> class.
|
|
|
/// Initializes a new instance of the <see cref="HeicDecoderCore" /> class.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <param name="options">The decoder options.</param>
|
|
|
/// <param name="options">The decoder options.</param>
|
|
|
public HeicDecoderCore(DecoderOptions options) |
|
|
public HeicDecoderCore(DecoderOptions options) |
|
|
@ -38,6 +38,9 @@ internal sealed class HeicDecoderCore : IImageDecoderInternals |
|
|
/// <inheritdoc/>
|
|
|
/// <inheritdoc/>
|
|
|
public DecoderOptions Options { get; } |
|
|
public DecoderOptions Options { get; } |
|
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
|
|
public Size Dimensions { get; } |
|
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
/// <inheritdoc/>
|
|
|
public Image<TPixel> Decode<TPixel>(BufferedReadStream stream, CancellationToken cancellationToken) |
|
|
public Image<TPixel> Decode<TPixel>(BufferedReadStream stream, CancellationToken cancellationToken) |
|
|
where TPixel : unmanaged, IPixel<TPixel> |
|
|
where TPixel : unmanaged, IPixel<TPixel> |
|
|
@ -62,4 +65,8 @@ internal sealed class HeicDecoderCore : IImageDecoderInternals |
|
|
return new ImageInfo(new PixelTypeInfo(bitsPerPixel), new(this.pixelSize.Width, this.pixelSize.Height), this.metadata); |
|
|
return new ImageInfo(new PixelTypeInfo(bitsPerPixel), new(this.pixelSize.Width, this.pixelSize.Height), this.metadata); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void ReadNals(BufferedReadStream stream) { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|