Grok  9.5.0
PacketLengthCache.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2021 Grok Image Compression Inc.
3  *
4  * This source code is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Affero General Public License, version 3,
6  * as published by the Free Software Foundation.
7  *
8  * This source code is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Affero General Public License for more details.
12  *
13  * You should have received a copy of the GNU Affero General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #pragma once
18 #include <vector>
19 #include <map>
20 
21 namespace grk
22 {
24 {
25  public:
27  virtual ~PacketLengthCache();
30  void deleteMarkers(void);
31  PacketInfo* next(void);
32  void rewind(void);
33 
34  private:
38 };
39 
40 } // namespace grk
Definition: PacketLengthCache.h:24
CodingParams * m_cp
Definition: PacketLengthCache.h:37
PacketInfo * next(void)
Definition: PacketLengthCache.cpp:49
PacketLengthMarkers * getMarkers(void)
Definition: PacketLengthCache.cpp:38
void deleteMarkers(void)
Definition: PacketLengthCache.cpp:43
PacketLengthMarkers * pltMarkers
Definition: PacketLengthCache.h:35
void rewind(void)
Definition: PacketLengthCache.cpp:72
SequentialCache< PacketInfo > packetInfoCache
Definition: PacketLengthCache.h:36
PacketLengthMarkers * createMarkers(IBufferedStream *strm)
Definition: PacketLengthCache.cpp:30
virtual ~PacketLengthCache()
Definition: PacketLengthCache.cpp:25
PacketLengthCache(CodingParams *cp)
Definition: PacketLengthCache.cpp:23
Definition: SequentialCache.h:25
Copyright (C) 2016-2021 Grok Image Compression Inc.
Definition: ICacheable.h:20
Coding parameters.
Definition: CodingParams.h:242
Definition: IBufferedStream.h:20
Definition: LengthCache.h:152
Definition: PacketLengthMarkers.h:39