Home
last modified time | relevance | path

Searched refs:reverse8 (Results 1 – 25 of 31) sorted by relevance

12

/dports/comms/rtl-433/rtl_433-21.12/src/devices/
H A Dinovalley-kw9015b.c49 device = (reverse8(b[0]) & 0x0f); in kw9015b_callback()
50 temp_raw = (int16_t)((reverse8(b[2]) << 8) | (reverse8(b[1]) & 0xf0)); // sign-extend in kw9015b_callback()
52 rain = ((reverse8(b[0]) & 0xc0) << 4) | ((reverse8(b[1]) & 0x06) << 7) | reverse8(b[3]); in kw9015b_callback()
53 chksum = ((reverse8(b[0]) >> 4) + (reverse8(b[0]) & 0x0f) + in kw9015b_callback()
54 (reverse8(b[1]) >> 4) + (reverse8(b[1]) & 0x0f) + in kw9015b_callback()
55 (reverse8(b[2]) >> 4) + (reverse8(b[2]) & 0x0f) + in kw9015b_callback()
56 (reverse8(b[3]) >> 4) + (reverse8(b[3]) & 0x0f)); in kw9015b_callback()
59 if ((chksum & 0x0f) != (reverse8(b[4]) & 0x0f)) in kw9015b_callback()
H A Dalecto.c83 uint8_t tmp = reverse8(b[i]); in alecto_checksum()
88 csum = reverse8((csum & 0xf) << 4); in alecto_checksum()
130 int sensor_id = reverse8(b[0]); in alectov1_callback()
145 double speed = reverse8(bb[1 + skip][3]); in alectov1_callback()
146 double gust = reverse8(bb[5 + skip][3]); in alectov1_callback()
147 int direction = (reverse8(bb[5 + skip][2]) << 1) | (bb[5 + skip][1] & 0x1); in alectov1_callback()
168 double rain_mm = ((reverse8(b[3]) << 8) | reverse8(b[2])) * 0.25F; in alectov1_callback()
189 temp_raw = (int16_t)((reverse8(b[1]) & 0xf0) | (reverse8(b[2]) << 8)); // sign-extend in alectov1_callback()
191 humidity = bcd_decode8(reverse8(b[3])); in alectov1_callback()
H A Dsteelmate.c54 uint8_t preAmble = ~reverse8(b[2]); in steelmate_callback()
57 uint8_t id1 = ~reverse8(b[3]); in steelmate_callback()
58 uint8_t id2 = ~reverse8(b[4]); in steelmate_callback()
61 uint8_t p1 = ~reverse8(b[5]); in steelmate_callback()
64 uint8_t tempFahrenheit = ~reverse8(b[6]); in steelmate_callback()
67 uint8_t tmpbattery_mV = ~reverse8(b[7]); in steelmate_callback()
70 uint8_t payload_checksum = ~reverse8(b[8]); in steelmate_callback()
H A Dtfa_twin_plus_30.3049.c70 uint8_t rb[5] = { reverse8(b[0]), reverse8(b[1]), reverse8(b[2]), in tfa_twin_plus_303049_callback()
71 reverse8(b[3]), reverse8(b[4]) }; in tfa_twin_plus_303049_callback()
H A Dinterlogix.c167 sprintf(device_type_id, "%01x", (reverse8(message[2]) >> 4)); in interlogix_decode()
169 switch ((reverse8(message[2]) >> 4)) { in interlogix_decode()
179 …sprintf(device_serial, "%02x%02x%02x", reverse8(message[2]), reverse8(message[1]), reverse8(messag… in interlogix_decode()
184 if ((reverse8(message[2]) >> 4) == 0xf) { in interlogix_decode()
H A Dsimplisafe.c34 c = reverse8(c); in ss_get_id()
58 uint8_t seq = reverse8(b[8]); in ss_sensor_parser()
59 uint8_t state = reverse8(b[9]); in ss_sensor_parser()
60 uint8_t csum = reverse8(b[10]); in ss_sensor_parser()
97 int pina = reverse8(b[10]); in ss_pinentry_parser()
98 int pinb = reverse8(b[11]); in ss_pinentry_parser()
H A Dcompanion_wtr001.c86 uint8_t temp_tenth_raw = reverse8(b[0] & 0xf8); in companion_wtr001_decode()
108 uint8_t temp_whole_raw = reverse8(b[1]&0xf0) | reverse8(b[0]&0x03)>>2 | (b[1]&0x08)<<3; in companion_wtr001_decode()
H A Dsmoke_gs558.c94 b[0] = reverse8(b[0]); in smoke_gs558_callback()
95 b[1] = reverse8(b[1]); in smoke_gs558_callback()
96 b[2] = reverse8(b[2]); in smoke_gs558_callback()
H A Dinsteon.c158 pkt_i = reverse8(i_bits.bb[0][0]); in parse_insteon_pkt()
161 pkt_d = reverse8(d_bits.bb[0][0]); in parse_insteon_pkt()
237 pkt_i = reverse8(i_bits.bb[0][0]); in parse_insteon_pkt()
238 pkt_d = reverse8(d_bits.bb[0][0]); in parse_insteon_pkt()
H A Ddigitech_xc0324.c106 int temp = ((uint16_t)(reverse8(b[3]) & 0x0f) << 8) | reverse8(b[2]); in decode_xc0324_message()
H A Dradiohead_ask.c89 rxBits[0] = reverse8(rxBits[0]); in radiohead_ask_extract()
90 rxBits[1] = reverse8(rxBits[1]); in radiohead_ask_extract()
H A Dft004b.c48 msg[i] = reverse8((a & b) | (b & c) | (a & c)); in ft004b_callback()
H A Dmarkisol.c57 buf[j] = ~reverse8(buf[j]); in markisol_decode()
H A Doregon_scientific_v1.c47 uint8_t byte = reverse8(bitbuffer->bb[row][i]); in oregon_scientific_v1_callback()
/dports/comms/rtl-433/rtl_433-21.12/src/
H A Dutil.c17 uint8_t reverse8(uint8_t x) in reverse8() function
29 …ret = (uint32_t) reverse8(xp[0]) << 24 | reverse8(xp[1]) << 16 | reverse8(xp[2]) << 8 | reverse8(x… in reverse32()
36 message[i] = reverse8(message[i]); in reflect_bytes()
91 *dst++ = reverse8(datab & 0xff); in extract_bytes_uart()
157 uint8_t remainder = reverse8(init); in crc8le()
159 polynomial = reverse8(polynomial); in crc8le()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/wuffs/src/std/deflate/
H A Dcommon_consts.wuffs20 // reverse8 reverses the bits in a byte.
21 pri const reverse8 array[256] base.u8 = [
/dports/devel/papilio-loader/Papilio-Loader-dd111c4/papilio-prog/
H A Dbitfile.h122 unsigned char reverse8(unsigned char b){return bitRevTable[b];}; in reverse8() function
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/wuffs/src/script/
H A Dmake-artificial.go188 x = uint32(reverse8[0xFF&(x>>0)])<<24 |
189 uint32(reverse8[0xFF&(x>>8)])<<16 |
190 uint32(reverse8[0xFF&(x>>16)])<<8 |
191 uint32(reverse8[0xFF&(x>>24)])<<0
195 var reverse8 = [256]byte{ var
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/wuffs/src/script/
H A Dmake-artificial.go188 x = uint32(reverse8[0xFF&(x>>0)])<<24 |
189 uint32(reverse8[0xFF&(x>>8)])<<16 |
190 uint32(reverse8[0xFF&(x>>16)])<<8 |
191 uint32(reverse8[0xFF&(x>>24)])<<0
195 var reverse8 = [256]byte{ var
/dports/multimedia/ccextractor/ccextractor-0.85/src/lib_ccx/
H A Des_userdata.c191 cc_data[j*3+1]=reverse8(cc_data1); in user_data()
192 cc_data[j*3+2]=reverse8(cc_data2); in user_data()
H A Dbitstream.h64 uint8_t reverse8(uint8_t data);
H A Dcc_bitstream.c364 uint8_t reverse8(uint8_t data) in reverse8() function
/dports/comms/rtl-433/rtl_433-21.12/include/
H A Dutil.h36 uint8_t reverse8(uint8_t x);
/dports/audio/gogglesmm/gogglesmm-1.2.2/cfox/lib/
H A DFXBitmap.cpp239 q[x]=~reverse8(p[x]); in restore()
295 p[x]=~reverse8(q[x]); in render()
418 for(i=0; i<size; i++) pix[i]=reverse8(data[i]); in render()
586 *pa++=reverse8(t); in mirror()
/dports/x11-toolkits/fox17/fox-1.7.77/lib/
H A DFXBitmap.cpp239 q[x]=~reverse8(p[x]); in restore()
295 p[x]=~reverse8(q[x]); in render()
418 for(i=0; i<size; i++) pix[i]=reverse8(data[i]); in render()
586 *pa++=reverse8(t); in mirror()

12