Skip to content

Commit

Permalink
Rename according to naming scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
ynse01 committed Aug 19, 2024
1 parent d93b89c commit 2b60337
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal class Av1FrameDecoder
private readonly ObuFrameHeader frameHeader;
private readonly Av1FrameInfo frameInfo;
private readonly Av1InverseQuantizer inverseQuantizer;
private readonly DeQuant deQuants;
private readonly Av1DeQuantizationContext deQuants;

public Av1FrameDecoder(ObuSequenceHeader sequenceHeader, ObuFrameHeader frameHeader, Av1FrameInfo frameInfo)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

namespace SixLabors.ImageSharp.Formats.Heif.Av1.Pipeline.Quantification;

internal class DeQuant
internal class Av1DeQuantizationContext
{
private readonly short[][] dcContent;
private readonly short[][] acContent;

public DeQuant()
public Av1DeQuantizationContext()
{
this.dcContent = new short[Av1Constants.MaxSegmentCount][];
this.acContent = new short[Av1Constants.MaxSegmentCount][];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal class Av1InverseQuantizer
private readonly ObuSequenceHeader sequenceHeader;
private readonly ObuFrameHeader frameHeader;
private readonly int[][][] inverseQuantizationMatrix;
private DeQuant? deQuantsDeltaQ;
private Av1DeQuantizationContext? deQuantsDeltaQ;

public Av1InverseQuantizer(ObuSequenceHeader sequenceHeader, ObuFrameHeader frameHeader)
{
Expand Down Expand Up @@ -55,7 +55,7 @@ public Av1InverseQuantizer(ObuSequenceHeader sequenceHeader, ObuFrameHeader fram
}
}

public void UpdateDequant(DeQuant deQuants, Av1SuperblockInfo superblockInfo)
public void UpdateDequant(Av1DeQuantizationContext deQuants, Av1SuperblockInfo superblockInfo)
{
Av1BitDepth bitDepth = this.sequenceHeader.ColorConfig.BitDepth;
Guard.NotNull(deQuants, nameof(deQuants));
Expand Down

0 comments on commit 2b60337

Please sign in to comment.