patch_dictionary_internal.h (756B)
1 // Copyright (c) the JPEG XL Project Authors. All rights reserved. 2 // 3 // Use of this source code is governed by a BSD-style 4 // license that can be found in the LICENSE file. 5 6 #ifndef LIB_JXL_PATCH_DICTIONARY_INTERNAL_H_ 7 #define LIB_JXL_PATCH_DICTIONARY_INTERNAL_H_ 8 9 namespace jxl { 10 11 // Context numbers as specified in Section C.4.5, Listing C.2: 12 enum Contexts { 13 kNumRefPatchContext = 0, 14 kReferenceFrameContext = 1, 15 kPatchSizeContext = 2, 16 kPatchReferencePositionContext = 3, 17 kPatchPositionContext = 4, 18 kPatchBlendModeContext = 5, 19 kPatchOffsetContext = 6, 20 kPatchCountContext = 7, 21 kPatchAlphaChannelContext = 8, 22 kPatchClampContext = 9, 23 kNumPatchDictionaryContexts 24 }; 25 26 } // namespace jxl 27 28 #endif // LIB_JXL_PATCH_DICTIONARY_INTERNAL_H_