| 74 | }; |
| 75 | |
| 76 | class ArithmeticBitModel |
| 77 | { |
| 78 | public: |
| 79 | ArithmeticBitModel(); |
| 80 | ~ArithmeticBitModel(); |
| 81 | |
| 82 | void init(); |
| 83 | |
| 84 | private: |
| 85 | void update(); |
| 86 | U32 update_cycle, bits_until_update; |
| 87 | U32 bit_0_prob, bit_0_count, bit_count; |
| 88 | friend class ArithmeticEncoder; |
| 89 | friend class ArithmeticDecoder; |
| 90 | }; |
| 91 | |
| 92 | #endif |
nothing calls this directly
no outgoing calls
no test coverage detected