mirror of
https://github.com/webmproject/libwebp.git
synced 2025-08-29 07:12:05 +02:00
IWYU: Include all headers for symbols used in files.
Semi-automatically taking the the misc-include-cleaner warnings by clang-tidy and fixing files to be self-contained. Change-Id: Iaaa2b2ec9d6dcce547fa5cb6b4f056dfc8c781ff
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include <math.h> // for pow()
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h> // for abs()
|
||||
#include <string.h>
|
||||
|
||||
#include "src/mux/animi.h"
|
||||
#include "src/utils/utils.h"
|
||||
@@ -22,6 +23,7 @@
|
||||
#include "src/webp/encode.h"
|
||||
#include "src/webp/format_constants.h"
|
||||
#include "src/webp/mux.h"
|
||||
#include "src/webp/mux_types.h"
|
||||
#include "src/webp/types.h"
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
|
@@ -13,8 +13,16 @@
|
||||
// Vikas (vikasa@google.com)
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "src/dec/vp8_dec.h"
|
||||
#include "src/mux/muxi.h"
|
||||
#include "src/utils/utils.h"
|
||||
#include "src/webp/format_constants.h"
|
||||
#include "src/webp/mux.h"
|
||||
#include "src/webp/mux_types.h"
|
||||
#include "src/webp/types.h"
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Life of a mux object.
|
||||
|
@@ -16,9 +16,13 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "src/dec/vp8i_dec.h"
|
||||
#include "src/dec/vp8li_dec.h"
|
||||
#include "src/webp/format_constants.h"
|
||||
#include "src/webp/mux.h"
|
||||
#include "src/webp/mux_types.h"
|
||||
#include "src/webp/types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@@ -13,8 +13,15 @@
|
||||
// Vikas (vikasa@google.com)
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "src/mux/muxi.h"
|
||||
#include "src/webp/types.h"
|
||||
#include "src/utils/utils.h"
|
||||
#include "src/webp/format_constants.h"
|
||||
#include "src/webp/mux.h"
|
||||
#include "src/webp/mux_types.h"
|
||||
|
||||
#define UNDEFINED_CHUNK_SIZE ((uint32_t)(-1))
|
||||
|
||||
@@ -546,4 +553,3 @@ WebPMuxError MuxValidate(const WebPMux* const mux) {
|
||||
#undef NO_FLAG
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
@@ -13,8 +13,15 @@
|
||||
// Vikas (vikasa@google.com)
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "src/dec/vp8_dec.h"
|
||||
#include "src/mux/muxi.h"
|
||||
#include "src/utils/utils.h"
|
||||
#include "src/webp/format_constants.h"
|
||||
#include "src/webp/mux.h"
|
||||
#include "src/webp/mux_types.h"
|
||||
#include "src/webp/types.h"
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Helper method(s).
|
||||
|
Reference in New Issue
Block a user