Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 820) sorted by relevance

12345678910>>...33

/hardware/intel/common/libmix/mix_vbp/viddec_fw/include/
Dviddec_fw_item_types.h180 #define viddec_fw_get_user_data_size(x) ((x)->user_data.size) argument
181 #define viddec_fw_get_user_data(x) (unsigned char *)&((x)->user_data.data_payload[0]) argument
198 …#define viddec_fw_mp2_sh_get_horizontal_size_value(x) viddec_fw_bitfields_extract( (x)->seq_hdr… argument
199 …#define viddec_fw_mp2_sh_get_vertical_size_value(x) viddec_fw_bitfields_extract( (x)->seq_hdr… argument
200 …#define viddec_fw_mp2_sh_get_aspect_ratio_information(x) viddec_fw_bitfields_extract( (x)->seq_hdr… argument
201 …#define viddec_fw_mp2_sh_get_frame_rate_code(x) viddec_fw_bitfields_extract( (x)->seq_hdr… argument
202 …#define viddec_fw_mp2_sh_set_horizontal_size_value(x, val) viddec_fw_bitfields_insert ( (x)->se… argument
203 …#define viddec_fw_mp2_sh_set_vertical_size_value(x, val) viddec_fw_bitfields_insert ( (x)->se… argument
204 …#define viddec_fw_mp2_sh_set_aspect_ratio_information(x, val) viddec_fw_bitfields_insert ( (x)->se… argument
205 …#define viddec_fw_mp2_sh_set_frame_rate_code(x, val) viddec_fw_bitfields_insert ( (x)->se… argument
[all …]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/include/
Dviddec_fw_mp4.h50 …#define viddec_fw_mp4_get_reversible_vlc(x) viddec_fw_bitfields_extract((x)->vol_flags, 8, 0… argument
51 …#define viddec_fw_mp4_set_reversible_vlc(x, val) viddec_fw_bitfields_insert((x)->vol_flags, val, 8… argument
52 …#define viddec_fw_mp4_get_data_partitioned(x) viddec_fw_bitfields_extract((x)->vol_flags, 7,… argument
53 …#define viddec_fw_mp4_set_data_partitioned(x, val) viddec_fw_bitfields_insert((x)->vol_flags, val,… argument
54 …#define viddec_fw_mp4_get_resync_marker_disable(x) viddec_fw_bitfields_extract((x)->vol_flags… argument
55 …#define viddec_fw_mp4_set_resync_marker_disable(x, val) viddec_fw_bitfields_insert((x)->vol_flags,… argument
56 …#define viddec_fw_mp4_get_quarter_sample(x) viddec_fw_bitfields_extract((x)->vol_flags, 5, 0… argument
57 …#define viddec_fw_mp4_set_quarter_sample(x, val) viddec_fw_bitfields_insert((x)->vol_flags, val, 5… argument
58 …#define viddec_fw_mp4_get_obmc_disable(x) viddec_fw_bitfields_extract((x)->vol_flags, 4, 0x1) argument
59 …#define viddec_fw_mp4_set_obmc_disable(x, val) viddec_fw_bitfields_insert((x)->vol_flags, val, 4, … argument
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dmlmath.h22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) argument
23 #define roundf(x)(((float )((long long)((x)>0?(x)+.5f:(x)-.5f)))) argument
50 #define sqrt(x) ml_sqrt(x) argument
51 #define log(x) ml_log(x) argument
52 #define asin(x) ml_asin(x) argument
53 #define atan(x) ml_atan(x) argument
54 #define atan2(x,y) ml_atan2(x,y) argument
55 #define ceil(x) ml_ceil(x) argument
56 #define floor(x) ml_floor(x) argument
57 #define fabs(x) (((x)<0)?-(x):(x)) argument
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dmlmath.h22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) argument
23 #define roundf(x)(((float )((long long)((x)>0?(x)+.5f:(x)-.5f)))) argument
50 #define sqrt(x) ml_sqrt(x) argument
51 #define log(x) ml_log(x) argument
52 #define asin(x) ml_asin(x) argument
53 #define atan(x) ml_atan(x) argument
54 #define atan2(x,y) ml_atan2(x,y) argument
55 #define ceil(x) ml_ceil(x) argument
56 #define floor(x) ml_floor(x) argument
57 #define fabs(x) (((x)<0)?-(x):(x)) argument
[all …]
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/
DAKFS_Math.h32 #define AKFS_SIN(x) sin(x) argument
33 #define AKFS_COS(x) cos(x) argument
34 #define AKFS_ASIN(x) asin(x) argument
35 #define AKFS_ACOS(x) acos(x) argument
36 #define AKFS_ATAN2(y, x) atan2((y), (x)) argument
37 #define AKFS_SQRT(x) sqrt(x) argument
39 #define AKFS_SIN(x) sinf(x) argument
40 #define AKFS_COS(x) cosf(x) argument
41 #define AKFS_ASIN(x) asinf(x) argument
42 #define AKFS_ACOS(x) acosf(x) argument
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/
Dquantize_arm.c26 void vp8_quantize_mby_neon(MACROBLOCK *x) in vp8_quantize_mby_neon() argument
29 int has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED in vp8_quantize_mby_neon()
30 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_quantize_mby_neon()
33 x->quantize_b_pair(&x->block[i], &x->block[i+1], in vp8_quantize_mby_neon()
34 &x->e_mbd.block[i], &x->e_mbd.block[i+1]); in vp8_quantize_mby_neon()
37 x->quantize_b(&x->block[24], &x->e_mbd.block[24]); in vp8_quantize_mby_neon()
40 void vp8_quantize_mb_neon(MACROBLOCK *x) in vp8_quantize_mb_neon() argument
43 int has_2nd_order=(x->e_mbd.mode_info_context->mbmi.mode != B_PRED in vp8_quantize_mb_neon()
44 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); in vp8_quantize_mb_neon()
47 x->quantize_b_pair(&x->block[i], &x->block[i+1], in vp8_quantize_mb_neon()
[all …]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/
Dviddec_fw_debug.h5 #define SWAP_BYTE(x,y,z) (( ( (x) >> ((y) << 3))& 0xFF) << ((z) << 3)) argument
6 #define SWAP_WORD(x) ( SWAP_BYTE((x),0,3) | SWAP_BYTE((x),1,2) |SWAP_BYTE((x),2,1) |SWAP_BYTE(… argument
20 #define DUMP_TO_MEM(x) DEB("0x%.08X ",x); argument
22 #define read_ret(x) argument
23 #define read_fp(x) argument
24 #define read_sp(x) argument
25 #define read_wim(x) argument
26 #define read_psr(x) argument
30 #define DUMP_TO_MEM(x) ((volatile unsigned int *)0x8F000000)[dump_ptr++] = SWAP_WORD(x); argument
31 #define read_ret(x) asm("mov %%i7, %0\n":"=r" (x)) argument
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dencodeframe.c37 extern void vp8_stuff_mb(VP8_COMP *cpi, MACROBLOCK *x, TOKENEXTRA **t) ;
47 MACROBLOCK *x,
50 static void adjust_act_zbin( VP8_COMP *cpi, MACROBLOCK *x );
81 static unsigned int tt_activity_measure( VP8_COMP *cpi, MACROBLOCK *x ) in tt_activity_measure() argument
93 act = vp8_variance16x16(x->src.y_buffer, in tt_activity_measure()
94 x->src.y_stride, VP8_VAR_OFFS, 0, &sse); in tt_activity_measure()
106 MACROBLOCK *x, int use_dc_pred ) in alt_activity_measure() argument
108 return vp8_encode_intra(cpi,x, use_dc_pred); in alt_activity_measure()
116 static unsigned int mb_activity_measure( VP8_COMP *cpi, MACROBLOCK *x, in mb_activity_measure() argument
126 mb_activity = alt_activity_measure( cpi, x, use_dc_pred ); in mb_activity_measure()
[all …]
Dpickinter.c31 extern int VP8_UVSSE(MACROBLOCK *x);
133 MACROBLOCK *x, in pick_intra4x4block() argument
142 BLOCKD *b = &x->e_mbd.block[ib]; in pick_intra4x4block()
143 BLOCK *be = &x->block[ib]; in pick_intra4x4block()
144 int dst_stride = x->e_mbd.dst.y_stride; in pick_intra4x4block()
145 unsigned char *dst = x->e_mbd.dst.y_buffer + b->offset; in pick_intra4x4block()
164 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in pick_intra4x4block()
176 vp8_encode_intra4x4block(x, ib); in pick_intra4x4block()
249 MACROBLOCKD *x = &mb->e_mbd; in pick_intra_mbuv_mode() local
250 unsigned char *uabove_row = x->dst.u_buffer - x->dst.uv_stride; in pick_intra_mbuv_mode()
[all …]
Dencodemb.c96 static void vp8_subtract_mb(MACROBLOCK *x) in vp8_subtract_mb() argument
98 BLOCK *b = &x->block[0]; in vp8_subtract_mb()
100 vp8_subtract_mby(x->src_diff, *(b->base_src), in vp8_subtract_mb()
101 b->src_stride, x->e_mbd.dst.y_buffer, x->e_mbd.dst.y_stride); in vp8_subtract_mb()
102 vp8_subtract_mbuv(x->src_diff, x->src.u_buffer, in vp8_subtract_mb()
103 x->src.v_buffer, x->src.uv_stride, x->e_mbd.dst.u_buffer, in vp8_subtract_mb()
104 x->e_mbd.dst.v_buffer, x->e_mbd.dst.uv_stride); in vp8_subtract_mb()
107 static void build_dcblock(MACROBLOCK *x) in build_dcblock() argument
109 short *src_diff_ptr = &x->src_diff[384]; in build_dcblock()
114 src_diff_ptr[i] = x->coeff[i * 16]; in build_dcblock()
[all …]
Dencodeintra.c21 int vp8_encode_intra(VP8_COMP *cpi, MACROBLOCK *x, int use_dc_pred) in vp8_encode_intra() argument
30 x->e_mbd.mode_info_context->mbmi.mode = DC_PRED; in vp8_encode_intra()
31 x->e_mbd.mode_info_context->mbmi.uv_mode = DC_PRED; in vp8_encode_intra()
32 x->e_mbd.mode_info_context->mbmi.ref_frame = INTRA_FRAME; in vp8_encode_intra()
34 vp8_encode_intra16x16mby(x); in vp8_encode_intra()
36 vp8_inverse_transform_mby(&x->e_mbd); in vp8_encode_intra()
42 x->e_mbd.block[i].bmi.as_mode = B_DC_PRED; in vp8_encode_intra()
43 vp8_encode_intra4x4block(x, i); in vp8_encode_intra()
47 intra_pred_var = vp8_get_mb_ss(x->src_diff); in vp8_encode_intra()
52 void vp8_encode_intra4x4block(MACROBLOCK *x, int ib) in vp8_encode_intra4x4block() argument
[all …]
Drdopt.c40 extern void vp8_update_zbin_extra(VP8_COMP *cpi, MACROBLOCK *x);
226 void vp8_initialize_rd_consts(VP8_COMP *cpi, MACROBLOCK *x, int Qvalue) in vp8_initialize_rd_consts() argument
270 x->mode_test_hit_counts[i] = 0; in vp8_initialize_rd_consts()
287 x->rd_threshes[i] = cpi->sf.thresh_mult[i] * q / 100; in vp8_initialize_rd_consts()
291 x->rd_threshes[i] = INT_MAX; in vp8_initialize_rd_consts()
294 cpi->rd_baseline_thresh[i] = x->rd_threshes[i]; in vp8_initialize_rd_consts()
305 x->rd_threshes[i] = cpi->sf.thresh_mult[i] * q; in vp8_initialize_rd_consts()
309 x->rd_threshes[i] = INT_MAX; in vp8_initialize_rd_consts()
312 cpi->rd_baseline_thresh[i] = x->rd_threshes[i]; in vp8_initialize_rd_consts()
470 int VP8_UVSSE(MACROBLOCK *x) in VP8_UVSSE() argument
[all …]
Dquantize.c26 int x, y, z, sz; in vp8_fast_quantize_b_c() local
48 x = (z ^ sz) - sz; /* x = abs(z) */ in vp8_fast_quantize_b_c()
50 if (x >= zbin) in vp8_fast_quantize_b_c()
52 x += round_ptr[rc]; in vp8_fast_quantize_b_c()
53 y = ((((x * quant_ptr[rc]) >> 16) + x) in vp8_fast_quantize_b_c()
55 x = (y ^ sz) - sz; /* get the sign back */ in vp8_fast_quantize_b_c()
56 qcoeff_ptr[rc] = x; /* write to destination */ in vp8_fast_quantize_b_c()
57 dqcoeff_ptr[rc] = x * dequant_ptr[rc]; /* dequantized value */ in vp8_fast_quantize_b_c()
73 int x, y, z, sz; in vp8_fast_quantize_b_c() local
88 x = (z ^ sz) - sz; /* x = abs(z) */ in vp8_fast_quantize_b_c()
[all …]
Dethreading.c20 extern void vp8cx_mb_init_quantizer(VP8_COMP *cpi, MACROBLOCK *x, int ok_to_skip);
66 MACROBLOCK *x = &mbri->mb; in thread_encoding_proc() local
67 MACROBLOCKD *xd = &x->e_mbd; in thread_encoding_proc()
113 x->mb_activity_ptr = &cpi->mb_activity_map[map_index]; in thread_encoding_proc()
145 x->mv_col_min = -((mb_col * 16) + (VP8BORDERINPIXELS - 16)); in thread_encoding_proc()
146 x->mv_col_max = ((cm->mb_cols - 1 - mb_col) * 16) + (VP8BORDERINPIXELS - 16); in thread_encoding_proc()
147 x->mv_row_min = -((mb_row * 16) + (VP8BORDERINPIXELS - 16)); in thread_encoding_proc()
148 x->mv_row_max = ((cm->mb_rows - 1 - mb_row) * 16) + (VP8BORDERINPIXELS - 16); in thread_encoding_proc()
155 x->rddiv = cpi->RDDIV; in thread_encoding_proc()
156 x->rdmult = cpi->RDMULT; in thread_encoding_proc()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dreconinter.c151 static void build_inter_predictors4b(MACROBLOCKD *x, BLOCKD *d, unsigned char *dst, int dst_stride,… in build_inter_predictors4b() argument
158x->subpixel_predict8x8(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, dst, dst… in build_inter_predictors4b()
166 static void build_inter_predictors2b(MACROBLOCKD *x, BLOCKD *d, unsigned char *dst, int dst_stride,… in build_inter_predictors2b() argument
173x->subpixel_predict8x4(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, dst, dst… in build_inter_predictors2b()
207 void vp8_build_inter16x16_predictors_mbuv(MACROBLOCKD *x) in vp8_build_inter16x16_predictors_mbuv() argument
210 unsigned char *upred_ptr = &x->predictor[256]; in vp8_build_inter16x16_predictors_mbuv()
211 unsigned char *vpred_ptr = &x->predictor[320]; in vp8_build_inter16x16_predictors_mbuv()
213 int mv_row = x->mode_info_context->mbmi.mv.as_mv.row; in vp8_build_inter16x16_predictors_mbuv()
214 int mv_col = x->mode_info_context->mbmi.mv.as_mv.col; in vp8_build_inter16x16_predictors_mbuv()
216 int pre_stride = x->pre.uv_stride; in vp8_build_inter16x16_predictors_mbuv()
[all …]
Dmbpitch.c14 void vp8_setup_block_dptrs(MACROBLOCKD *x) in vp8_setup_block_dptrs() argument
22 x->block[r*4+c].predictor = x->predictor + r * 4 * 16 + c * 4; in vp8_setup_block_dptrs()
30 x->block[16+r*2+c].predictor = x->predictor + 256 + r * 4 * 8 + c * 4; in vp8_setup_block_dptrs()
39 x->block[20+r*2+c].predictor = x->predictor + 320 + r * 4 * 8 + c * 4; in vp8_setup_block_dptrs()
46 x->block[r].qcoeff = x->qcoeff + r * 16; in vp8_setup_block_dptrs()
47 x->block[r].dqcoeff = x->dqcoeff + r * 16; in vp8_setup_block_dptrs()
48 x->block[r].eob = x->eobs + r; in vp8_setup_block_dptrs()
52 void vp8_build_block_doffsets(MACROBLOCKD *x) in vp8_build_block_doffsets() argument
58 x->block[block].offset = in vp8_build_block_doffsets()
59 (block >> 2) * 4 * x->dst.y_stride + (block & 3) * 4; in vp8_build_block_doffsets()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_block.h199 static INLINE PICK_MODE_CONTEXT *get_block_context(MACROBLOCK *x, in get_block_context() argument
203 return &x->sb64_context; in get_block_context()
205 return &x->sb64x32_context[x->sb_index]; in get_block_context()
207 return &x->sb32x64_context[x->sb_index]; in get_block_context()
209 return &x->sb32_context[x->sb_index]; in get_block_context()
211 return &x->sb32x16_context[x->sb_index][x->mb_index]; in get_block_context()
213 return &x->sb16x32_context[x->sb_index][x->mb_index]; in get_block_context()
215 return &x->mb_context[x->sb_index][x->mb_index]; in get_block_context()
217 return &x->sb16x8_context[x->sb_index][x->mb_index][x->b_index]; in get_block_context()
219 return &x->sb8x16_context[x->sb_index][x->mb_index][x->b_index]; in get_block_context()
[all …]
Dvp9_pickmode.c29 static void full_pixel_motion_search(VP9_COMP *cpi, MACROBLOCK *x, in full_pixel_motion_search() argument
33 MACROBLOCKD *xd = &x->e_mbd; in full_pixel_motion_search()
37 int sadpb = x->sadperbit16; in full_pixel_motion_search()
43 int tmp_col_min = x->mv_col_min; in full_pixel_motion_search()
44 int tmp_col_max = x->mv_col_max; in full_pixel_motion_search()
45 int tmp_row_min = x->mv_row_min; in full_pixel_motion_search()
46 int tmp_row_max = x->mv_row_max; in full_pixel_motion_search()
61 vp9_set_mv_search_range(x, &ref_mv); in full_pixel_motion_search()
68 if ((x->pred_mv_sad[ref] >> 3) > x->pred_mv_sad[i]) { in full_pixel_motion_search()
79 assert(x->mv_best_ref_index[ref] <= 2); in full_pixel_motion_search()
[all …]
Dvp9_mcomp.c31 void vp9_set_mv_search_range(MACROBLOCK *x, const MV *mv) { in vp9_set_mv_search_range() argument
44 if (x->mv_col_min < col_min) in vp9_set_mv_search_range()
45 x->mv_col_min = col_min; in vp9_set_mv_search_range()
46 if (x->mv_col_max > col_max) in vp9_set_mv_search_range()
47 x->mv_col_max = col_max; in vp9_set_mv_search_range()
48 if (x->mv_row_min < row_min) in vp9_set_mv_search_range()
49 x->mv_row_min = row_min; in vp9_set_mv_search_range()
50 if (x->mv_row_max > row_max) in vp9_set_mv_search_range()
51 x->mv_row_max = row_max; in vp9_set_mv_search_range()
105 void vp9_init_dsmotion_compensation(MACROBLOCK *x, int stride) { in vp9_init_dsmotion_compensation() argument
[all …]
/hardware/ti/omap4-aah/libtiutils/
DUtilsCommon.h37 int floor(T x);
40 int round(T x);
49 const T & bound(const T & min, const T & x, const T & max);
52 T abs(const T & x);
58 inline int floor(const T x) { in floor() argument
59 return static_cast<int>(x); in floor()
63 inline int round(const T x) { in round() argument
64 if ( x >= 0 ) { in round()
65 return floor(x + T(0.5)); in round()
67 return floor(x - floor(x - T(1)) + T(0.5)) + floor(x - T(1)); in round()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/
Dreconintra_arm.c26 void vp8_build_intra_predictors_mby_neon(MACROBLOCKD *x) in vp8_build_intra_predictors_mby_neon() argument
28 unsigned char *y_buffer = x->dst.y_buffer; in vp8_build_intra_predictors_mby_neon()
29 unsigned char *ypred_ptr = x->predictor; in vp8_build_intra_predictors_mby_neon()
30 int y_stride = x->dst.y_stride; in vp8_build_intra_predictors_mby_neon()
31 int mode = x->mode_info_context->mbmi.mode; in vp8_build_intra_predictors_mby_neon()
32 int Up = x->up_available; in vp8_build_intra_predictors_mby_neon()
33 int Left = x->left_available; in vp8_build_intra_predictors_mby_neon()
46 void vp8_build_intra_predictors_mby_s_neon(MACROBLOCKD *x) in vp8_build_intra_predictors_mby_s_neon() argument
48 unsigned char *y_buffer = x->dst.y_buffer; in vp8_build_intra_predictors_mby_s_neon()
49 unsigned char *ypred_ptr = x->predictor; in vp8_build_intra_predictors_mby_s_neon()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/nrf8001/
Dhal_platform.h55 #define pgm_read_byte(x) (*((char *)x)) argument
56 #define pgm_read_byte_near(x) (*((char *)x)) argument
57 #define pgm_read_byte_far(x) (*((char *)x)) argument
58 #define pgm_read_word(x) (*((short *)x)) argument
59 #define pgm_read_word_near(x) (*((short *)x)) argument
60 #define pgm_read_workd_far(x) (*((short *)x)) argument
/hardware/bsp/intel/peripheral/libupm/src/lcd/
Deboled.cxx180 void EBOLED::drawChar (uint8_t x, uint8_t y, uint8_t data, uint8_t color, uint8_t size) { in drawChar() argument
181 if( (x >= OLED_WIDTH) || // Clip right in drawChar()
183 ((x + 6 * size - 1) < 0) || // Clip left in drawChar()
204 drawPixel(x+i, y+j, color); in drawChar()
206 drawRectangleFilled(x+(i*size), y+(j*size), size, size, color); // big size in drawChar()
234 void EBOLED::drawPixel(int8_t x, int8_t y, uint8_t color) in drawPixel() argument
236 if(x<0 || x>=OLED_WIDTH || y<0 || y>=OLED_HEIGHT) in drawPixel()
251 screenBuffer[(x/2) + ((y/8) * VERT_COLUMNS)] ^= (1<<(y%8+(x%2 * 8))); in drawPixel()
254 screenBuffer[(x/2) + ((y/8) * VERT_COLUMNS)] |= (1<<(y%8+(x%2 * 8))); in drawPixel()
257 screenBuffer[(x/2) + ((y/8) * VERT_COLUMNS)] &= ~(1<<(y%8+(x%2 * 8))); in drawPixel()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libyuv/include/libyuv/
Dbasic_types.h26 #define INT64_C(x) x ## I64 argument
29 #define UINT64_C(x) x ## UI64 argument
37 #define INT64_C(x) x ## L argument
40 #define UINT64_C(x) x ## UL argument
47 #define INT64_C(x) x ## LL argument
50 #define UINT64_C(x) x ## ULL argument
/hardware/bsp/intel/peripheral/libmraa/examples/javascript/
Drgblcd.js28 function char(x) { return parseInt(x, 16); } argument
30 x = new m.I2c(0) variable
31 x.address(0x62)
32 x.writeReg(0, 0)
33 x.writeReg(1, 0)
35 x.writeReg(char('0x08'), char('0xAA'))
36 x.writeReg(char('0x04'), 255)
37 x.writeReg(char('0x02'), 255)

12345678910>>...33