Be consistent with the includes in non-src folders.

BUG: 470992419

Change-Id: I55618205da7dcfe17d96a7c3ee69d924a63d1acf
This commit is contained in:
Vincent Rabaud
2025-12-23 12:33:21 +01:00
parent 9b78419750
commit d52b9ee34d
33 changed files with 91 additions and 97 deletions

View File

@@ -11,7 +11,7 @@
//
// Author: Skal (pascal.massimino@gmail.com)
#include "sharpyuv/sharpyuv.h"
#include "./sharpyuv.h"
#include <assert.h>
#include <limits.h>
@@ -19,10 +19,10 @@
#include <stdlib.h>
#include <string.h>
#include "sharpyuv/sharpyuv_cpu.h"
#include "sharpyuv/sharpyuv_dsp.h"
#include "sharpyuv/sharpyuv_gamma.h"
#include "src/webp/types.h"
#include "./sharpyuv_cpu.h"
#include "./sharpyuv_dsp.h"
#include "./sharpyuv_gamma.h"
#include "webp/types.h"
//------------------------------------------------------------------------------

View File

@@ -11,14 +11,14 @@
//
// Author: Skal (pascal.massimino@gmail.com)
#include "sharpyuv/sharpyuv_dsp.h"
#include "./sharpyuv_dsp.h"
#include <assert.h>
#include <stdlib.h>
#include "sharpyuv/sharpyuv_cpu.h"
#include "./sharpyuv_cpu.h"
#include "src/dsp/cpu.h"
#include "src/webp/types.h"
#include "webp/types.h"
//-----------------------------------------------------------------------------

View File

@@ -12,8 +12,8 @@
#ifndef WEBP_SHARPYUV_SHARPYUV_DSP_H_
#define WEBP_SHARPYUV_SHARPYUV_DSP_H_
#include "sharpyuv/sharpyuv_cpu.h"
#include "src/webp/types.h"
#include "./sharpyuv_cpu.h"
#include "webp/types.h"
extern uint64_t (*SharpYuvUpdateY)(const uint16_t* src, const uint16_t* ref,
uint16_t* dst, int len, int bit_depth);

View File

@@ -9,14 +9,14 @@
//
// Gamma correction utilities.
#include "sharpyuv/sharpyuv_gamma.h"
#include "./sharpyuv_gamma.h"
#include <assert.h>
#include <float.h>
#include <math.h>
#include "sharpyuv/sharpyuv.h"
#include "src/webp/types.h"
#include "./sharpyuv.h"
#include "webp/types.h"
// Gamma correction compensates loss of resolution during chroma subsampling.
// Size of pre-computed table for converting from gamma to linear.

View File

@@ -12,8 +12,8 @@
#ifndef WEBP_SHARPYUV_SHARPYUV_GAMMA_H_
#define WEBP_SHARPYUV_SHARPYUV_GAMMA_H_
#include "sharpyuv/sharpyuv.h"
#include "src/webp/types.h"
#include "./sharpyuv.h"
#include "webp/types.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -11,14 +11,14 @@
//
// Author: Skal (pascal.massimino@gmail.com)
#include "sharpyuv/sharpyuv_dsp.h"
#include "./sharpyuv_dsp.h"
#if defined(WEBP_USE_SSE2)
#include <emmintrin.h>
#include <stdlib.h>
#include "src/dsp/cpu.h"
#include "src/webp/types.h"
#include "webp/types.h"
static uint16_t clip_SSE2(int v, int max) {
return (v < 0) ? 0 : (v > max) ? max : (uint16_t)v;