GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
symbol_decoding.h
Go to the documentation of this file.
1// Copyright 2016 The Draco Authors.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15#ifndef DRACO_COMPRESSION_ENTROPY_SYMBOL_DECODING_H_
16#define DRACO_COMPRESSION_ENTROPY_SYMBOL_DECODING_H_
17
19
20namespace draco {
21
22// Decodes an array of symbols that was previously encoded with an entropy code.
23// Returns false on error.
24bool DecodeSymbols(uint32_t num_values, int num_components,
25 DecoderBuffer *src_buffer, uint32_t *out_values);
26
27} // namespace draco
28
29#endif // DRACO_COMPRESSION_ENTROPY_SYMBOL_DECODING_H_
Definition decoder_buffer.h:30
Definition attribute_octahedron_transform.cc:21
bool DecodeSymbols(uint32_t num_values, int num_components, DecoderBuffer *src_buffer, uint32_t *out_values)
Definition symbol_decoding.cc:34