History

Add arm64 code for downsample.

zhiliang wang committed 12 years ago

Commit 5cb66bd1 parent f6385466 files · +292 −2Browse files

Showing the changes to codec/processing/src/downsample/downsample.h (1 of 6 files). Show all

Unified · Split

codec/processing/src/downsample/downsample.h+15−0
@@ -120,6 +120,21 @@ void GeneralBilinearAccurateDownsampler_neon (uint8_t* pDst, const int32_t kiDst · 119 unmodified lines
120WELSVP_EXTERN_C_END120WELSVP_EXTERN_C_END
121#endif121#endif
122 122
123#ifdef HAVE_NEON_AARCH64
124WELSVP_EXTERN_C_BEGIN
125// iSrcWidth no limitation
126HalveDownsampleFunc DyadicBilinearDownsampler_AArch64_neon;
127// iSrcWidth = x32 pixels
128HalveDownsampleFunc DyadicBilinearDownsamplerWidthx32_AArch64_neon;
129
130GeneralDownsampleFunc GeneralBilinearAccurateDownsamplerWrap_AArch64_neon;
131
132void GeneralBilinearAccurateDownsampler_AArch64_neon (uint8_t* pDst, const int32_t kiDstStride, const int32_t kiDstWidth, const int32_t kiDstHeight,
133 uint8_t* pSrc, const int32_t kiSrcStride, const uint32_t kuiScaleX, const uint32_t kuiScaleY);
134
135WELSVP_EXTERN_C_END
136#endif
137
123 138
124class CDownsampling : public IStrategy {139class CDownsampling : public IStrategy {
125 public:140 public:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t