Skip to content

Commit

Permalink
Remove unused fields in FrameState
Browse files Browse the repository at this point in the history
TODO: remove/adapt
 - deblock
 - cdfs
 - frame_mvs
 - t (RDOTracker)
  • Loading branch information
rom1v committed Mar 19, 2019
1 parent 8de1769 commit 274478b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/encoder.rs
Expand Up @@ -398,7 +398,6 @@ pub struct FrameState<T: Pixel> {
pub input_hres: Plane<T>, // half-resolution version of input luma
pub input_qres: Plane<T>, // quarter-resolution version of input luma
pub rec: Frame<T>,
pub qc: QuantizationContext,
pub cdfs: CDFContext,
pub deblock: DeblockState,
pub segmentation: SegmentationState,
Expand Down Expand Up @@ -426,7 +425,6 @@ impl<T: Pixel> FrameState<T> {
input_hres: Plane::new(luma_width / 2, luma_height / 2, 1, 1, luma_padding_x / 2, luma_padding_y / 2),
input_qres: Plane::new(luma_width / 4, luma_height / 4, 2, 2, luma_padding_x / 4, luma_padding_y / 4),
rec: Frame::new(luma_width, luma_height, fi.sequence.chroma_sampling),
qc: Default::default(),
cdfs: CDFContext::new(0),
deblock: Default::default(),
segmentation: Default::default(),
Expand Down

0 comments on commit 274478b

Please sign in to comment.