Home
last modified time | relevance | path

Searched refs:WEBP_INLINE (Results 1 – 25 of 92) sorted by relevance

1234

/external/webp/src/dsp/
Dlossless_common.h31 static WEBP_INLINE uint32_t VP8GetARGBIndex(uint32_t idx) { in VP8GetARGBIndex()
35 static WEBP_INLINE uint8_t VP8GetAlphaIndex(uint8_t idx) { in VP8GetAlphaIndex()
39 static WEBP_INLINE uint32_t VP8GetARGBValue(uint32_t val) { in VP8GetARGBValue()
43 static WEBP_INLINE uint8_t VP8GetAlphaValue(uint32_t val) { in VP8GetAlphaValue()
51 static WEBP_INLINE uint32_t VP8LSubSampleSize(uint32_t size, in VP8LSubSampleSize()
57 static WEBP_INLINE int VP8LNearLosslessBits(int near_lossless_quality) { in VP8LNearLosslessBits()
85 static WEBP_INLINE float VP8LFastLog2(uint32_t v) { in VP8LFastLog2()
89 static WEBP_INLINE float VP8LFastSLog2(uint32_t v) { in VP8LFastSLog2()
99 static WEBP_INLINE void VP8LPrefixEncodeBitsNoLUT(int distance, int* const code, in VP8LPrefixEncodeBitsNoLUT()
107 static WEBP_INLINE void VP8LPrefixEncodeNoLUT(int distance, int* const code, in VP8LPrefixEncodeNoLUT()
[all …]
Dyuv.h59 static WEBP_INLINE int MultHi(int v, int coeff) { // _mm_mulhi_epu16 emulation in MultHi()
63 static WEBP_INLINE int VP8Clip8(int v) { in VP8Clip8()
67 static WEBP_INLINE int VP8YUVToR(int y, int v) { in VP8YUVToR()
71 static WEBP_INLINE int VP8YUVToG(int y, int u, int v) { in VP8YUVToG()
75 static WEBP_INLINE int VP8YUVToB(int y, int u) { in VP8YUVToB()
79 static WEBP_INLINE void VP8YuvToRgb(int y, int u, int v, in VP8YuvToRgb()
86 static WEBP_INLINE void VP8YuvToBgr(int y, int u, int v, in VP8YuvToBgr()
93 static WEBP_INLINE void VP8YuvToRgb565(int y, int u, int v, in VP8YuvToRgb565()
109 static WEBP_INLINE void VP8YuvToRgba4444(int y, int u, int v, in VP8YuvToRgba4444()
128 static WEBP_INLINE void VP8YuvToArgb(uint8_t y, uint8_t u, uint8_t v, in VP8YuvToArgb()
[all …]
Dcpu.c31 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo()
42 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo()
52 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo()
74 static WEBP_INLINE uint64_t xgetbv(void) { in xgetbv()
88 static WEBP_INLINE uint64_t xgetbv(void) { in xgetbv()
Ddec_mips32.c24 static WEBP_INLINE int abs_mips32(int x) { in abs_mips32()
30 static WEBP_INLINE void do_filter2(uint8_t* p, int step) { in do_filter2()
40 static WEBP_INLINE void do_filter4(uint8_t* p, int step) { in do_filter4()
53 static WEBP_INLINE void do_filter6(uint8_t* p, int step) { in do_filter6()
69 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) { in hev()
74 static WEBP_INLINE int needs_filter(const uint8_t* p, int step, int t) { in needs_filter()
79 static WEBP_INLINE int needs_filter2(const uint8_t* p, in needs_filter2()
92 static WEBP_INLINE void FilterLoop26(uint8_t* p, in FilterLoop26()
108 static WEBP_INLINE void FilterLoop24(uint8_t* p, in FilterLoop24()
Dcommon_sse2.h30 static WEBP_INLINE void PrintReg(const __m128i r, const char* const name,
59 static WEBP_INLINE int VP8HorizontalAdd8b(const __m128i* const a) { in VP8HorizontalAdd8b()
68 static WEBP_INLINE void VP8Transpose_2_4x4_16b( in VP8Transpose_2_4x4_16b()
131 static WEBP_INLINE void VP8PlanarTo24b_SSE2( in VP8PlanarTo24b_SSE2()
162 static WEBP_INLINE void VP8L32bToPlanar_SSE2(__m128i* const in0, in VP8L32bToPlanar_SSE2()
Dupsampling_mips_dsp_r2.c50 static WEBP_INLINE void YuvToRgb(int y, int u, int v, uint8_t* const rgb) { in YuvToRgb()
57 static WEBP_INLINE void YuvToBgr(int y, int u, int v, uint8_t* const bgr) { in YuvToBgr()
64 static WEBP_INLINE void YuvToRgb565(int y, int u, int v, uint8_t* const rgb) { in YuvToRgb565()
79 static WEBP_INLINE void YuvToRgba4444(int y, int u, int v, in YuvToRgba4444()
101 static WEBP_INLINE void YuvToArgb(uint8_t y, uint8_t u, uint8_t v, in YuvToArgb()
111 static WEBP_INLINE void YuvToBgra(uint8_t y, uint8_t u, uint8_t v, in YuvToBgra()
120 static WEBP_INLINE void YuvToRgba(uint8_t y, uint8_t u, uint8_t v, in YuvToRgba()
Denc_sse2.c482 static WEBP_INLINE void Put8x8uv_SSE2(uint8_t v, uint8_t* dst) { in Put8x8uv_SSE2()
490 static WEBP_INLINE void Put16_SSE2(uint8_t v, uint8_t* dst) { in Put16_SSE2()
498 static WEBP_INLINE void Fill_SSE2(uint8_t* dst, int value, int size) { in Fill_SSE2()
511 static WEBP_INLINE void VE8uv_SSE2(uint8_t* dst, const uint8_t* top) { in VE8uv_SSE2()
519 static WEBP_INLINE void VE16_SSE2(uint8_t* dst, const uint8_t* top) { in VE16_SSE2()
527 static WEBP_INLINE void VerticalPred_SSE2(uint8_t* dst, in VerticalPred_SSE2()
540 static WEBP_INLINE void HE8uv_SSE2(uint8_t* dst, const uint8_t* left) { in HE8uv_SSE2()
549 static WEBP_INLINE void HE16_SSE2(uint8_t* dst, const uint8_t* left) { in HE16_SSE2()
558 static WEBP_INLINE void HorizontalPred_SSE2(uint8_t* dst, in HorizontalPred_SSE2()
571 static WEBP_INLINE void TM_SSE2(uint8_t* dst, const uint8_t* left, in TM_SSE2()
[all …]
/external/webp/src/utils/
Dutils.h67 static WEBP_INLINE uint32_t WebPMemToUint32(const uint8_t* const ptr) { in WebPMemToUint32()
72 static WEBP_INLINE void WebPUint32ToMem(uint8_t* const ptr, uint32_t val) { in WebPUint32ToMem()
80 static WEBP_INLINE int GetLE16(const uint8_t* const data) { in GetLE16()
84 static WEBP_INLINE int GetLE24(const uint8_t* const data) { in GetLE24()
88 static WEBP_INLINE uint32_t GetLE32(const uint8_t* const data) { in GetLE32()
93 static WEBP_INLINE void PutLE16(uint8_t* const data, int val) { in PutLE16()
99 static WEBP_INLINE void PutLE24(uint8_t* const data, int val) { in PutLE24()
105 static WEBP_INLINE void PutLE32(uint8_t* const data, uint32_t val) { in PutLE32()
114 static WEBP_INLINE int BitsLog2Floor(uint32_t n) { in BitsLog2Floor()
122 static WEBP_INLINE int BitsLog2Floor(uint32_t n) { in BitsLog2Floor()
[all …]
Dcolor_cache_utils.h36 static WEBP_UBSAN_IGNORE_UNSIGNED_OVERFLOW WEBP_INLINE
41 static WEBP_INLINE uint32_t VP8LColorCacheLookup( in VP8LColorCacheLookup()
47 static WEBP_INLINE void VP8LColorCacheSet(const VP8LColorCache* const cc, in VP8LColorCacheSet()
53 static WEBP_INLINE void VP8LColorCacheInsert(const VP8LColorCache* const cc, in VP8LColorCacheInsert()
59 static WEBP_INLINE int VP8LColorCacheGetIndex(const VP8LColorCache* const cc, in VP8LColorCacheGetIndex()
65 static WEBP_INLINE int VP8LColorCacheContains(const VP8LColorCache* const cc, in VP8LColorCacheContains()
Dbit_writer_utils.h56 static WEBP_INLINE uint64_t VP8BitWriterPos(const VP8BitWriter* const bw) { in VP8BitWriterPos()
62 static WEBP_INLINE uint8_t* VP8BitWriterBuf(const VP8BitWriter* const bw) { in VP8BitWriterBuf()
66 static WEBP_INLINE size_t VP8BitWriterSize(const VP8BitWriter* const bw) { in VP8BitWriterSize()
103 static WEBP_INLINE size_t VP8LBitWriterNumBytes(const VP8LBitWriter* const bw) { in VP8LBitWriterNumBytes()
133 static WEBP_INLINE void VP8LPutBits(VP8LBitWriter* const bw, in VP8LPutBits()
Drescaler_utils.h79 static WEBP_INLINE
84 static WEBP_INLINE
90 static WEBP_INLINE
Dendian_inl_utils.h42 static WEBP_INLINE uint16_t BSwap16(uint16_t x) { in BSwap16()
53 static WEBP_INLINE uint32_t BSwap32(uint32_t x) { in BSwap32()
76 static WEBP_INLINE uint64_t BSwap64(uint64_t x) { in BSwap64()
Dbit_reader_utils.h164 static WEBP_INLINE uint32_t VP8LPrefetchBits(VP8LBitReader* const br) { in VP8LPrefetchBits()
170 static WEBP_INLINE int VP8LIsEndOfStream(const VP8LBitReader* const br) { in VP8LIsEndOfStream()
179 static WEBP_INLINE void VP8LSetBitPos(VP8LBitReader* const br, int val) { in VP8LSetBitPos()
186 static WEBP_INLINE void VP8LFillBitWindow(VP8LBitReader* const br) { in VP8LFillBitWindow()
/external/webp/src/enc/
Dbackward_references_enc.h46 static WEBP_INLINE PixOrCopy PixOrCopyCreateCopy(uint32_t distance, in PixOrCopyCreateCopy()
55 static WEBP_INLINE PixOrCopy PixOrCopyCreateCacheIdx(int idx) { in PixOrCopyCreateCacheIdx()
65 static WEBP_INLINE PixOrCopy PixOrCopyCreateLiteral(uint32_t argb) { in PixOrCopyCreateLiteral()
73 static WEBP_INLINE int PixOrCopyIsLiteral(const PixOrCopy* const p) { in PixOrCopyIsLiteral()
77 static WEBP_INLINE int PixOrCopyIsCacheIdx(const PixOrCopy* const p) { in PixOrCopyIsCacheIdx()
81 static WEBP_INLINE int PixOrCopyIsCopy(const PixOrCopy* const p) { in PixOrCopyIsCopy()
85 static WEBP_INLINE uint32_t PixOrCopyLiteral(const PixOrCopy* const p, in PixOrCopyLiteral()
91 static WEBP_INLINE uint32_t PixOrCopyLength(const PixOrCopy* const p) { in PixOrCopyLength()
95 static WEBP_INLINE uint32_t PixOrCopyCacheIdx(const PixOrCopy* const p) { in PixOrCopyCacheIdx()
101 static WEBP_INLINE uint32_t PixOrCopyDistance(const PixOrCopy* const p) { in PixOrCopyDistance()
[all …]
Dcost_enc.h45 static WEBP_INLINE int VP8RecordStats(int bit, proba_t* const stats) { in VP8RecordStats()
59 static WEBP_INLINE int VP8BitCost(int bit, uint8_t proba) { in VP8BitCost()
66 static WEBP_INLINE int VP8LevelCost(const uint16_t* const table, int level) { in VP8LevelCost()
Dbackward_references_cost_enc.c95 static WEBP_INLINE double GetLiteralCost(const CostModel* const m, uint32_t v) { in GetLiteralCost()
102 static WEBP_INLINE double GetCacheCost(const CostModel* const m, uint32_t idx) { in GetCacheCost()
107 static WEBP_INLINE double GetLengthCost(const CostModel* const m, in GetLengthCost()
114 static WEBP_INLINE double GetDistanceCost(const CostModel* const m, in GetDistanceCost()
121 static WEBP_INLINE void AddSingleLiteralWithCostModel( in AddSingleLiteralWithCostModel()
321 static WEBP_INLINE void UpdateCost(CostManager* const manager, int i, in UpdateCost()
334 static WEBP_INLINE void UpdateCostPerInterval(CostManager* const manager, in UpdateCostPerInterval()
342 static WEBP_INLINE void ConnectIntervals(CostManager* const manager, in ConnectIntervals()
355 static WEBP_INLINE void PopInterval(CostManager* const manager, in PopInterval()
374 static WEBP_INLINE void UpdateCostAtIndex(CostManager* const manager, int i, in UpdateCostAtIndex()
[all …]
/external/webp/tests/fuzzer/
Dfuzz_utils.h38 static WEBP_INLINE uint8_t FuzzHash(const uint8_t* const data, size_t size) { in FuzzHash()
49 static WEBP_INLINE uint32_t Extract(uint32_t max_value, in Extract()
68 static WEBP_INLINE int GetCPUInfoNoSSE41(CPUFeature feature) { in GetCPUInfoNoSSE41()
73 static WEBP_INLINE int GetCPUInfoNoAVX(CPUFeature feature) { in GetCPUInfoNoAVX()
78 static WEBP_INLINE int GetCPUInfoForceSlowSSSE3(CPUFeature feature) { in GetCPUInfoForceSlowSSSE3()
85 static WEBP_INLINE int GetCPUInfoOnlyC(CPUFeature feature) { in GetCPUInfoOnlyC()
90 static WEBP_INLINE void ExtractAndDisableOptimizations( in ExtractAndDisableOptimizations()
103 static WEBP_INLINE int ExtractWebPConfig(WebPConfig* const config, in ExtractWebPConfig()
138 static WEBP_INLINE int ExtractSourcePicture(WebPPicture* const pic, in ExtractSourcePicture()
172 static WEBP_INLINE int Max(int a, int b) { return ((a < b) ? b : a); } in Max()
[all …]
/external/webp/src/webp/
Dtypes.h23 #define WEBP_INLINE inline macro
25 #define WEBP_INLINE macro
36 #define WEBP_INLINE __forceinline macro
Ddecode.h165 static WEBP_INLINE int WebPIsPremultipliedMode(WEBP_CSP_MODE mode) { in WebPIsPremultipliedMode()
170 static WEBP_INLINE int WebPIsAlphaMode(WEBP_CSP_MODE mode) { in WebPIsAlphaMode()
176 static WEBP_INLINE int WebPIsRGBMode(WEBP_CSP_MODE mode) { in WebPIsRGBMode()
223 static WEBP_INLINE int WebPInitDecBuffer(WebPDecBuffer* buffer) { in WebPInitDecBuffer()
362 static WEBP_INLINE uint8_t* WebPIDecGetYUV( in WebPIDecGetYUV()
437 static WEBP_INLINE VP8StatusCode WebPGetFeatures( in WebPGetFeatures()
475 static WEBP_INLINE int WebPInitDecoderConfig(WebPDecoderConfig* config) { in WebPInitDecoderConfig()
Dmux_types.h65 static WEBP_INLINE void WebPDataInit(WebPData* webp_data) { in WebPDataInit()
73 static WEBP_INLINE void WebPDataClear(WebPData* webp_data) { in WebPDataClear()
82 static WEBP_INLINE int WebPDataCopy(const WebPData* src, WebPData* dst) { in WebPDataCopy()
Ddemux.h94 static WEBP_INLINE WebPDemuxer* WebPDemux(const WebPData* data) { in WebPDemux()
106 static WEBP_INLINE WebPDemuxer* WebPDemuxPartial( in WebPDemuxPartial()
267 static WEBP_INLINE int WebPAnimDecoderOptionsInit( in WebPAnimDecoderOptionsInit()
287 static WEBP_INLINE WebPAnimDecoder* WebPAnimDecoderNew( in WebPAnimDecoderNew()
/external/webp/include/webp/
Dtypes.h23 #define WEBP_INLINE inline macro
25 #define WEBP_INLINE macro
36 #define WEBP_INLINE __forceinline macro
Ddecode.h165 static WEBP_INLINE int WebPIsPremultipliedMode(WEBP_CSP_MODE mode) { in WebPIsPremultipliedMode()
170 static WEBP_INLINE int WebPIsAlphaMode(WEBP_CSP_MODE mode) { in WebPIsAlphaMode()
176 static WEBP_INLINE int WebPIsRGBMode(WEBP_CSP_MODE mode) { in WebPIsRGBMode()
223 static WEBP_INLINE int WebPInitDecBuffer(WebPDecBuffer* buffer) { in WebPInitDecBuffer()
362 static WEBP_INLINE uint8_t* WebPIDecGetYUV( in WebPIDecGetYUV()
437 static WEBP_INLINE VP8StatusCode WebPGetFeatures( in WebPGetFeatures()
475 static WEBP_INLINE int WebPInitDecoderConfig(WebPDecoderConfig* config) { in WebPInitDecoderConfig()
Dmux_types.h65 static WEBP_INLINE void WebPDataInit(WebPData* webp_data) { in WebPDataInit()
73 static WEBP_INLINE void WebPDataClear(WebPData* webp_data) { in WebPDataClear()
82 static WEBP_INLINE int WebPDataCopy(const WebPData* src, WebPData* dst) { in WebPDataCopy()
Ddemux.h94 static WEBP_INLINE WebPDemuxer* WebPDemux(const WebPData* data) { in WebPDemux()
106 static WEBP_INLINE WebPDemuxer* WebPDemuxPartial( in WebPDemuxPartial()
267 static WEBP_INLINE int WebPAnimDecoderOptionsInit( in WebPAnimDecoderOptionsInit()
287 static WEBP_INLINE WebPAnimDecoder* WebPAnimDecoderNew( in WebPAnimDecoderNew()

1234