Home
last modified time | relevance | path

Searched refs:dc (Results 1 – 25 of 33) sorted by relevance

12

/AliOS-Things-master/components/py_engine/engine/drivers/display/
A Dssd1306.py131 def __init__(self, width, height, spi, dc, res, cs, external_vcc=False): argument
133 dc.init(dc.OUT, value=0)
137 self.dc = dc
152 self.dc(0)
160 self.dc(1)
/AliOS-Things-master/components/amp/modules/
A Dsh1106.js22 constructor(width, height, spi, dc, res, cs) { argument
26 this.dc = dc;
59 this.dc.writeValue(0)
71 this.dc.writeValue(1)
180 this.dc.writeValue(0)
/AliOS-Things-master/components/py_engine/framework/
A Dsh1106.py216 def __init__(self, width, height, spi, dc, res=None, cs=None): argument
218 self.dc = dc
226 self.dc.write(0)
231 self.dc.write(0)
237 self.dc.write(1)
242 self.dc.write(1)
A Dst7789py.py180 def __init__(self, spi, width, height, reset, dc, argument
196 self.dc = dc
226 self.dc.off()
229 self.dc.on()
444 self.dc.on()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Ddec_msa.c681 uint32_t dc = 4; in DC4() local
684 dc >>= 3; in DC4()
685 dc = dc | (dc << 8) | (dc << 16) | (dc << 24); in DC4()
686 SW4(dc, dc, dc, dc, dst, BPS); in DC4()
779 uint32_t dc = 16; in DC16() local
788 dc += HADD_UH_U32(dctop); in DC16()
840 uint32_t dc = 8; in DC16NoTop() local
852 uint32_t dc = 8; in DC16NoLeft() local
877 uint32_t dc = 8; in DC8uv() local
941 const uint32_t dc = 4; in DC8uvNoLeft() local
[all …]
A Ddec.c32 #define STORE2(y, dc, d, c) do { \ argument
33 const int DC = (dc); \
69 const int dc = tmp[0] + 4; in TransformOne_C() local
70 const int a = dc + tmp[8]; in TransformOne_C()
71 const int b = dc - tmp[8]; in TransformOne_C()
151 const int dc = tmp[0 + i * 4] + 3; // w/ rounder in TransformWHT_C() local
152 const int a0 = dc + tmp[3 + i * 4]; in TransformWHT_C()
155 const int a3 = dc - tmp[3 + i * 4]; in TransformWHT_C()
285 uint32_t dc = 4; in DC4_C() local
288 dc >>= 3; in DC4_C()
[all …]
A Denc.c136 const int dc = tmp[0] + 4; in ITransformOne() local
137 const int a = dc + tmp[8]; in ITransformOne()
138 const int b = dc - tmp[8]; in ITransformOne()
377 uint32_t dc = 4; in DC4() local
379 for (i = 0; i < 4; ++i) dc += top[i] + top[-5 + i]; in DC4()
380 Fill(dst, dc >> 3, 4); in DC4()
566 static void Mean16x4_C(const uint8_t* ref, uint32_t dc[4]) { in Mean16x4_C()
575 dc[k] = avg; in Mean16x4_C()
A Denc_msa.c288 uint32_t dc = 4; in DC4() local
290 for (i = 0; i < 4; ++i) dc += top[i] + top[-5 + i]; in DC4()
291 dc >>= 3; in DC4()
292 dc = dc | (dc << 8) | (dc << 16) | (dc << 24); in DC4()
293 SW4(dc, dc, dc, dc, dst, BPS); in DC4()
A Denc_sse2.c115 const __m128i dc = _mm_add_epi16(T0, four); in ITransform_SSE2() local
116 const __m128i a = _mm_add_epi16(dc, T2); in ITransform_SSE2()
117 const __m128i b = _mm_sub_epi16(dc, T2); in ITransform_SSE2()
746 uint32_t dc = 4; in DC4_SSE2() local
748 for (i = 0; i < 4; ++i) dc += top[i] + top[-5 + i]; in DC4_SSE2()
749 Fill_SSE2(dst, dc >> 3, 4); in DC4_SSE2()
1059 static void Mean16x4_SSE2(const uint8_t* ref, uint32_t dc[4]) { in Mean16x4_SSE2()
1082 dc[0] = tmp[0] + tmp[1]; in Mean16x4_SSE2()
1083 dc[1] = tmp[2] + tmp[3]; in Mean16x4_SSE2()
1084 dc[2] = tmp[4] + tmp[5]; in Mean16x4_SSE2()
[all …]
A Ddec_neon.c1230 const int32x4_t dc = vaddq_s32(tmp.val[0], kCst3); // add rounder in TransformWHT_NEON() local
1231 const int32x4_t a0 = vaddq_s32(dc, tmp.val[3]); in TransformWHT_NEON()
1234 const int32x4_t a3 = vsubq_s32(dc, tmp.val[3]); in TransformWHT_NEON()
1295 const uint8x8_t dc = vdup_lane_u8(dc0, 0); in DC4_NEON() local
1298 vst1_lane_u32((uint32_t*)(dst + i * BPS), vreinterpret_u32_u8(dc), 0); in DC4_NEON()
1466 const uint8x8_t dc = vdup_lane_u8(dc0, 0); in DC8_NEON() local
1469 vst1_u32((uint32_t*)(dst + i * BPS), vreinterpret_u32_u8(dc)); in DC8_NEON()
1550 const uint8x16_t dc = vdupq_lane_u8(dc0, 0); in DC16_NEON() local
1553 vst1q_u8(dst + i * BPS, dc); in DC16_NEON()
/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/driver/oled/
A Dmain.py15 display = sh1106.SH1106_SPI(width=132, height=64, spi=spi0, dc = gpio_dc, res = gpio_res)
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/oled/
A Dmain.py15 display = sh1106.SH1106_SPI(width=132, height=64, spi=spi0, dc = gpio_dc, res = gpio_res)
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/gyroscope/
A Dmain.py21 display = sh1106.SH1106_SPI(width=132, height=64, spi=spi0, dc = gpio_dc, res = gpio_res)
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Danalysis_enc.c271 uint32_t dc[16], m, m2; in FastMBAnalyze() local
273 VP8Mean16x4(it->yuv_in_ + Y_OFF_ENC + k * BPS, &dc[k]); in FastMBAnalyze()
276 m += dc[k]; in FastMBAnalyze()
277 m2 += dc[k] * dc[k]; in FastMBAnalyze()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/
A Dpwmout_api.c283 float dc = pwmout_read(obj); in pwmout_period_us() local
295 pwmout_write(obj, dc); in pwmout_period_us()
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxPrimitives.c340 Uint16 dc = *pixel; in _putPixelAlpha() local
347 dR = (dc & Rmask); in _putPixelAlpha()
348 dG = (dc & Gmask); in _putPixelAlpha()
349 dB = (dc & Bmask); in _putPixelAlpha()
455 Uint32 dc = *pixel; in _putPixelAlpha() local
649 Uint16 dc; in _filledRectAlpha() local
667 dc = *pixel; in _filledRectAlpha()
738 Uint32 dc; in _filledRectAlpha() local
761 dc = *pixel; in _filledRectAlpha()
791 Uint32 dc; in _filledRectAlpha() local
[all …]
A DMakefile.in610 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
612 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
614 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
616 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
618 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
622 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DMakefile.in555 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
557 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
559 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
561 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
563 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
567 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Dvp8_dec.c527 int16_t dc[16] = { 0 }; in ParseResiduals() local
529 const int nz = GetCoeffs(token_br, bands[1], ctx, q->y2_mat_, 0, dc); in ParseResiduals()
532 VP8TransformWHT(dc, dst); in ParseResiduals()
535 const int dc0 = (dc[0] + 3) >> 3; in ParseResiduals()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/
A DMakefile.in633 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
635 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
637 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
639 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
643 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/
A DMakefile.in753 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
755 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
757 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
759 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
763 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
/AliOS-Things-master/hardware/chip/rtl872xd/csi_driver/pwm/
A Dpwm.c86 float pulse, value, dc; in csi_pwm_out_config() local
/AliOS-Things-master/components/SDL2/src/image/
A DMakefile.in826 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
828 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
830 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
832 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
836 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
/AliOS-Things-master/hardware/chip/rtl872xd/aos_driver/pwm/
A Dpwm.c90 float pulse, value, dc; in rtl872xd_pwm_out_config() local
/AliOS-Things-master/components/py_engine/engine/lib/oofatfs/
A Dff.c5114 DWORD dc; local
5126 dc = tchar2uni(&label); /* Get a Unicode character */
5127 if (dc >= 0x10000) {
5128 if (dc == 0xFFFFFFFF || di >= 10) { /* Wrong surrogate or buffer overflow */
5129 dc = 0;
5131 st_word(dirvn + di * 2, (WCHAR)(dc >> 16)); di++;
5134 …if (dc == 0 || chk_chr(badchr + 7, (int)dc) || di >= 11) { /* Check validity of the volume label …
5137 st_word(dirvn + di * 2, (WCHAR)dc); di++;
5146 dc = tchar2uni(&label);
5147 wc = (dc < 0x10000) ? ff_uni2oem(ff_wtoupper(dc), CODEPAGE) : 0;

Completed in 61 milliseconds

12