// Copyright 2012 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be found in the AUTHORS file in the root of the source tree. // ----------------------------------------------------------------------------- // // Color Cache for WebP Lossless // // Author: Jyrki Alakuijala ([email protected]) #include <assert.h> #include <stdlib.h> #include <string.h> #include "src/utils/color_cache_utils.h" #include "src/utils/utils.h" //------------------------------------------------------------------------------ // VP8LColorCache. int VP8LColorCacheInit(VP8LColorCache* const color_cache, int hash_bits) { … } void VP8LColorCacheClear(VP8LColorCache* const color_cache) { … } void VP8LColorCacheCopy(const VP8LColorCache* const src, VP8LColorCache* const dst) { … }