mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 05:49:51 +02:00
src/{dec,enc,utils}: give filenames a unique suffix
this avoids duplicates between these trees and dsp/, e.g., enc/tree.c, dec/tree.c, making pulling the whole library source tree into one target possible BUG=webp:279 Change-Id: I060a614833c7c24ddd37bf641702ae6a5eef1775
This commit is contained in:
@ -1,35 +1,35 @@
|
||||
noinst_LTLIBRARIES = libwebpencode.la
|
||||
|
||||
libwebpencode_la_SOURCES =
|
||||
libwebpencode_la_SOURCES += alpha.c
|
||||
libwebpencode_la_SOURCES += analysis.c
|
||||
libwebpencode_la_SOURCES += backward_references.c
|
||||
libwebpencode_la_SOURCES += backward_references.h
|
||||
libwebpencode_la_SOURCES += config.c
|
||||
libwebpencode_la_SOURCES += cost.c
|
||||
libwebpencode_la_SOURCES += cost.h
|
||||
libwebpencode_la_SOURCES += delta_palettization.c
|
||||
libwebpencode_la_SOURCES += delta_palettization.h
|
||||
libwebpencode_la_SOURCES += filter.c
|
||||
libwebpencode_la_SOURCES += frame.c
|
||||
libwebpencode_la_SOURCES += histogram.c
|
||||
libwebpencode_la_SOURCES += histogram.h
|
||||
libwebpencode_la_SOURCES += iterator.c
|
||||
libwebpencode_la_SOURCES += near_lossless.c
|
||||
libwebpencode_la_SOURCES += picture.c
|
||||
libwebpencode_la_SOURCES += picture_csp.c
|
||||
libwebpencode_la_SOURCES += picture_psnr.c
|
||||
libwebpencode_la_SOURCES += picture_rescale.c
|
||||
libwebpencode_la_SOURCES += picture_tools.c
|
||||
libwebpencode_la_SOURCES += predictor.c
|
||||
libwebpencode_la_SOURCES += quant.c
|
||||
libwebpencode_la_SOURCES += syntax.c
|
||||
libwebpencode_la_SOURCES += token.c
|
||||
libwebpencode_la_SOURCES += tree.c
|
||||
libwebpencode_la_SOURCES += vp8enci.h
|
||||
libwebpencode_la_SOURCES += vp8l.c
|
||||
libwebpencode_la_SOURCES += vp8li.h
|
||||
libwebpencode_la_SOURCES += webpenc.c
|
||||
libwebpencode_la_SOURCES += alpha_enc.c
|
||||
libwebpencode_la_SOURCES += analysis_enc.c
|
||||
libwebpencode_la_SOURCES += backward_references_enc.c
|
||||
libwebpencode_la_SOURCES += backward_references_enc.h
|
||||
libwebpencode_la_SOURCES += config_enc.c
|
||||
libwebpencode_la_SOURCES += cost_enc.c
|
||||
libwebpencode_la_SOURCES += cost_enc.h
|
||||
libwebpencode_la_SOURCES += delta_palettization_enc.c
|
||||
libwebpencode_la_SOURCES += delta_palettization_enc.h
|
||||
libwebpencode_la_SOURCES += filter_enc.c
|
||||
libwebpencode_la_SOURCES += frame_enc.c
|
||||
libwebpencode_la_SOURCES += histogram_enc.c
|
||||
libwebpencode_la_SOURCES += histogram_enc.h
|
||||
libwebpencode_la_SOURCES += iterator_enc.c
|
||||
libwebpencode_la_SOURCES += near_lossless_enc.c
|
||||
libwebpencode_la_SOURCES += picture_enc.c
|
||||
libwebpencode_la_SOURCES += picture_csp_enc.c
|
||||
libwebpencode_la_SOURCES += picture_psnr_enc.c
|
||||
libwebpencode_la_SOURCES += picture_rescale_enc.c
|
||||
libwebpencode_la_SOURCES += picture_tools_enc.c
|
||||
libwebpencode_la_SOURCES += predictor_enc.c
|
||||
libwebpencode_la_SOURCES += quant_enc.c
|
||||
libwebpencode_la_SOURCES += syntax_enc.c
|
||||
libwebpencode_la_SOURCES += token_enc.c
|
||||
libwebpencode_la_SOURCES += tree_enc.c
|
||||
libwebpencode_la_SOURCES += vp8i_enc.h
|
||||
libwebpencode_la_SOURCES += vp8l_enc.c
|
||||
libwebpencode_la_SOURCES += vp8li_enc.h
|
||||
libwebpencode_la_SOURCES += webp_enc.c
|
||||
|
||||
libwebpencodeinclude_HEADERS =
|
||||
libwebpencodeinclude_HEADERS += ../webp/encode.h
|
||||
|
@ -14,10 +14,10 @@
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "./vp8enci.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "../dsp/dsp.h"
|
||||
#include "../utils/filters.h"
|
||||
#include "../utils/quant_levels.h"
|
||||
#include "../utils/filters_utils.h"
|
||||
#include "../utils/quant_levels_utils.h"
|
||||
#include "../utils/utils.h"
|
||||
#include "../webp/format_constants.h"
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
// invalid quality or method, or
|
||||
// memory allocation for the compressed data fails.
|
||||
|
||||
#include "../enc/vp8li.h"
|
||||
#include "../enc/vp8li_enc.h"
|
||||
|
||||
static int EncodeLossless(const uint8_t* const data, int width, int height,
|
||||
int effort_level, // in [0..6] range
|
@ -15,8 +15,8 @@
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "./vp8enci.h"
|
||||
#include "./cost.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "./cost_enc.h"
|
||||
#include "../utils/utils.h"
|
||||
|
||||
#define MAX_ITERS_K_MEANS 6
|
@ -13,12 +13,12 @@
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "./backward_references.h"
|
||||
#include "./histogram.h"
|
||||
#include "./backward_references_enc.h"
|
||||
#include "./histogram_enc.h"
|
||||
#include "../dsp/lossless.h"
|
||||
#include "../dsp/lossless_common.h"
|
||||
#include "../dsp/dsp.h"
|
||||
#include "../utils/color_cache.h"
|
||||
#include "../utils/color_cache_utils.h"
|
||||
#include "../utils/utils.h"
|
||||
|
||||
#define VALUES_IN_BYTE 256
|
@ -11,7 +11,7 @@
|
||||
//
|
||||
// Author: Skal (pascal.massimino@gmail.com)
|
||||
|
||||
#include "./cost.h"
|
||||
#include "./cost_enc.h"
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Level cost tables
|
@ -16,7 +16,7 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include "./vp8enci.h"
|
||||
#include "./vp8i_enc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
@ -10,7 +10,7 @@
|
||||
// Author: Mislav Bradac (mislavm@google.com)
|
||||
//
|
||||
|
||||
#include "./delta_palettization.h"
|
||||
#include "./delta_palettization_enc.h"
|
||||
|
||||
#ifdef WEBP_EXPERIMENTAL_FEATURES
|
||||
#include "../webp/types.h"
|
@ -14,7 +14,7 @@
|
||||
#define WEBP_ENC_DELTA_PALETTIZATION_H_
|
||||
|
||||
#include "../webp/encode.h"
|
||||
#include "../enc/vp8li.h"
|
||||
#include "../enc/vp8li_enc.h"
|
||||
|
||||
// Replaces enc->argb_[] input by a palettizable approximation of it,
|
||||
// and generates optimal enc->palette_[].
|
@ -12,7 +12,7 @@
|
||||
// Author: somnath@google.com (Somnath Banerjee)
|
||||
|
||||
#include <assert.h>
|
||||
#include "./vp8enci.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "../dsp/dsp.h"
|
||||
|
||||
// This table gives, for a given sharpness, the filtering strength to be
|
@ -14,8 +14,8 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "./cost.h"
|
||||
#include "./vp8enci.h"
|
||||
#include "./cost_enc.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "../dsp/dsp.h"
|
||||
#include "../webp/format_constants.h" // RIFF constants
|
||||
|
@ -15,8 +15,8 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include "./backward_references.h"
|
||||
#include "./histogram.h"
|
||||
#include "./backward_references_enc.h"
|
||||
#include "./histogram_enc.h"
|
||||
#include "../dsp/lossless.h"
|
||||
#include "../dsp/lossless_common.h"
|
||||
#include "../utils/utils.h"
|
@ -16,7 +16,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "./backward_references.h"
|
||||
#include "./backward_references_enc.h"
|
||||
#include "../webp/format_constants.h"
|
||||
#include "../webp/types.h"
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "./vp8enci.h"
|
||||
#include "./vp8i_enc.h"
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// VP8Iterator
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include "../dsp/lossless_common.h"
|
||||
#include "../utils/utils.h"
|
||||
#include "./vp8enci.h"
|
||||
#include "./vp8i_enc.h"
|
||||
|
||||
#define MIN_DIM_FOR_NEAR_LOSSLESS 64
|
||||
#define MAX_LIMIT_BITS 5
|
@ -15,8 +15,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "./vp8enci.h"
|
||||
#include "../utils/random.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "../utils/random_utils.h"
|
||||
#include "../utils/utils.h"
|
||||
#include "../dsp/yuv.h"
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "./vp8enci.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "../dsp/dsp.h"
|
||||
#include "../utils/utils.h"
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "./vp8enci.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "../utils/utils.h"
|
||||
|
||||
typedef double (*AccumulateFunc)(const uint8_t* src, int src_stride,
|
@ -14,8 +14,8 @@
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "./vp8enci.h"
|
||||
#include "../utils/rescaler.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "../utils/rescaler_utils.h"
|
||||
#include "../utils/utils.h"
|
||||
|
||||
#define HALVE(x) (((x) + 1) >> 1)
|
@ -13,7 +13,7 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include "./vp8enci.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "../dsp/yuv.h"
|
||||
|
||||
static WEBP_INLINE uint32_t MakeARGB32(int r, int g, int b) {
|
@ -16,7 +16,7 @@
|
||||
|
||||
#include "../dsp/lossless.h"
|
||||
#include "../dsp/lossless_common.h"
|
||||
#include "./vp8li.h"
|
||||
#include "./vp8li_enc.h"
|
||||
|
||||
#define MAX_DIFF_COST (1e30f)
|
||||
|
@ -15,8 +15,8 @@
|
||||
#include <math.h>
|
||||
#include <stdlib.h> // for abs()
|
||||
|
||||
#include "./vp8enci.h"
|
||||
#include "./cost.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "./cost_enc.h"
|
||||
|
||||
#define DO_TRELLIS_I4 1
|
||||
#define DO_TRELLIS_I16 1 // not a huge gain, but ok at low bitrate.
|
@ -16,7 +16,7 @@
|
||||
#include "../utils/utils.h"
|
||||
#include "../webp/format_constants.h" // RIFF constants
|
||||
#include "../webp/mux_types.h" // ALPHA_FLAG
|
||||
#include "./vp8enci.h"
|
||||
#include "./vp8i_enc.h"
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Helper functions
|
@ -20,8 +20,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "./cost.h"
|
||||
#include "./vp8enci.h"
|
||||
#include "./cost_enc.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "../utils/utils.h"
|
||||
|
||||
#if !defined(DISABLE_TOKEN_BUFFER)
|
@ -11,7 +11,7 @@
|
||||
//
|
||||
// Author: Skal (pascal.massimino@gmail.com)
|
||||
|
||||
#include "./vp8enci.h"
|
||||
#include "./vp8i_enc.h"
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Default probabilities
|
@ -15,10 +15,10 @@
|
||||
#define WEBP_ENC_VP8ENCI_H_
|
||||
|
||||
#include <string.h> // for memcpy()
|
||||
#include "../dec/common.h"
|
||||
#include "../dec/common_dec.h"
|
||||
#include "../dsp/dsp.h"
|
||||
#include "../utils/bit_writer.h"
|
||||
#include "../utils/thread.h"
|
||||
#include "../utils/bit_writer_utils.h"
|
||||
#include "../utils/thread_utils.h"
|
||||
#include "../utils/utils.h"
|
||||
#include "../webp/encode.h"
|
||||
|
@ -15,18 +15,18 @@
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "./backward_references.h"
|
||||
#include "./histogram.h"
|
||||
#include "./vp8enci.h"
|
||||
#include "./vp8li.h"
|
||||
#include "./backward_references_enc.h"
|
||||
#include "./histogram_enc.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "./vp8li_enc.h"
|
||||
#include "../dsp/lossless.h"
|
||||
#include "../dsp/lossless_common.h"
|
||||
#include "../utils/bit_writer.h"
|
||||
#include "../utils/huffman_encode.h"
|
||||
#include "../utils/bit_writer_utils.h"
|
||||
#include "../utils/huffman_encode_utils.h"
|
||||
#include "../utils/utils.h"
|
||||
#include "../webp/format_constants.h"
|
||||
|
||||
#include "./delta_palettization.h"
|
||||
#include "./delta_palettization_enc.h"
|
||||
|
||||
#define PALETTE_KEY_RIGHT_SHIFT 22 // Key for 1K buffer.
|
||||
// Maximum number of histogram images (sub-blocks).
|
@ -14,9 +14,9 @@
|
||||
#ifndef WEBP_ENC_VP8LI_H_
|
||||
#define WEBP_ENC_VP8LI_H_
|
||||
|
||||
#include "./backward_references.h"
|
||||
#include "./histogram.h"
|
||||
#include "../utils/bit_writer.h"
|
||||
#include "./backward_references_enc.h"
|
||||
#include "./histogram_enc.h"
|
||||
#include "../utils/bit_writer_utils.h"
|
||||
#include "../webp/encode.h"
|
||||
#include "../webp/format_constants.h"
|
||||
|
@ -16,9 +16,9 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "./cost.h"
|
||||
#include "./vp8enci.h"
|
||||
#include "./vp8li.h"
|
||||
#include "./cost_enc.h"
|
||||
#include "./vp8i_enc.h"
|
||||
#include "./vp8li_enc.h"
|
||||
#include "../utils/utils.h"
|
||||
|
||||
// #define PRINT_MEMORY_INFO
|
Reference in New Issue
Block a user