Skip to content

Commit

Permalink
comment update
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashkumar committed Aug 9, 2024
1 parent 87f9dc9 commit e598a0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/frame/native.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ type NativeFrame[I constraints.Integer] struct {
InternalBitsPerSample int
}

// NewNativeFrame creates a new NativeFrame[I] given the input parameters. It
// initializes the NativeFrame's internal RawData slice based on pixelsPerFrame
// and samplesPerPixel.
func NewNativeFrame[I constraints.Integer](bitsPerSample, rows, cols, pixelsPerFrame, samplesPerPixel int) *NativeFrame[I] {
return &NativeFrame[I]{
InternalBitsPerSample: bitsPerSample,
Expand Down

0 comments on commit e598a0e

Please sign in to comment.