diff options
Diffstat (limited to 'lib/jxl/passes_state.h')
-rw-r--r-- | lib/jxl/passes_state.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/jxl/passes_state.h b/lib/jxl/passes_state.h index 069d7ac..d066155 100644 --- a/lib/jxl/passes_state.h +++ b/lib/jxl/passes_state.h @@ -9,7 +9,6 @@ #include "lib/jxl/ac_context.h" #include "lib/jxl/ac_strategy.h" #include "lib/jxl/chroma_from_luma.h" -#include "lib/jxl/common.h" #include "lib/jxl/dec_patch_dictionary.h" #include "lib/jxl/frame_header.h" #include "lib/jxl/image.h" @@ -74,12 +73,7 @@ struct PassesSharedState { Image3F dc_frames[4]; struct { - ImageBundle storage; - // Can either point to `storage`, if this is a frame that is not stored in - // the CodecInOut, or can point to an existing ImageBundle. - // TODO(veluca): pointing to ImageBundles in CodecInOut is not possible for - // now, as they are stored in a vector and thus may be moved. Fix this. - ImageBundle* JXL_RESTRICT frame = &storage; + ImageBundle frame; // ImageBundle doesn't yet have a simple way to state it is in XYB. bool ib_is_in_xyb = false; } reference_frames[4] = {}; |