mirror of
https://github.com/webmproject/libwebp.git
synced 2025-10-20 09:21:08 +02:00
add a dec/common.h header to collect common enc/dec #defines
had to rename few structs. -> we can now include both vp8i.h and vp8enci.h without naming conflicts. Change-Id: Ib41b498f1b57aab3d6b796361afc45210ec75174
This commit is contained in:
@@ -154,7 +154,7 @@ const uint8_t
|
||||
};
|
||||
|
||||
void VP8DefaultProbas(VP8Encoder* const enc) {
|
||||
VP8Proba* const probas = &enc->proba_;
|
||||
VP8EncProba* const probas = &enc->proba_;
|
||||
probas->use_skip_proba_ = 0;
|
||||
memset(probas->segments_, 255u, sizeof(probas->segments_));
|
||||
memcpy(probas->coeffs_, VP8CoeffsProba0, sizeof(VP8CoeffsProba0));
|
||||
@@ -482,7 +482,7 @@ const uint8_t
|
||||
}
|
||||
};
|
||||
|
||||
void VP8WriteProbas(VP8BitWriter* const bw, const VP8Proba* const probas) {
|
||||
void VP8WriteProbas(VP8BitWriter* const bw, const VP8EncProba* const probas) {
|
||||
int t, b, c, p;
|
||||
for (t = 0; t < NUM_TYPES; ++t) {
|
||||
for (b = 0; b < NUM_BANDS; ++b) {
|
||||
|
Reference in New Issue
Block a user