/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | mbpitch.c | 16 int r, c; in vp8_setup_block_dptrs() local 18 for (r = 0; r < 4; r++) in vp8_setup_block_dptrs() 22 x->block[r*4+c].predictor = x->predictor + r * 4 * 16 + c * 4; in vp8_setup_block_dptrs() 26 for (r = 0; r < 2; r++) 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() 35 for (r = 0; r < 2; r++) 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() 44 for (r = 0; r < 25; r++) 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() [all …]
|
D | reconintra.c | 26 int r, c, i; in vp8_build_intra_predictors_mby_s_c() local 74 for (r = 0; r < 16; r++) in vp8_build_intra_predictors_mby_s_c() 84 for (r = 0; r < 16; r++) in vp8_build_intra_predictors_mby_s_c() 98 for (r = 0; r < 16; r++) in vp8_build_intra_predictors_mby_s_c() 101 vpx_memset(ypred_ptr, yleft_col[r], 16); in vp8_build_intra_predictors_mby_s_c() 110 for (r = 0; r < 16; r++) in vp8_build_intra_predictors_mby_s_c() 114 int pred = yleft_col[r] + yabove_row[ c] - ytop_left; in vp8_build_intra_predictors_mby_s_c()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
D | vp9_reader.c | 21 int vp9_reader_init(vp9_reader *r, const uint8_t *buffer, size_t size) { in vp9_reader_init() argument 25 r->buffer_end = buffer + size; in vp9_reader_init() 26 r->buffer = buffer; in vp9_reader_init() 27 r->value = 0; in vp9_reader_init() 28 r->count = -8; in vp9_reader_init() 29 r->range = 255; in vp9_reader_init() 30 vp9_reader_fill(r); in vp9_reader_init() 31 return vp9_read_bit(r) != 0; // marker bit in vp9_reader_init() 35 void vp9_reader_fill(vp9_reader *r) { in vp9_reader_fill() argument 36 const uint8_t *const buffer_end = r->buffer_end; in vp9_reader_fill() [all …]
|
D | vp9_reader.h | 39 int vp9_reader_init(vp9_reader *r, const uint8_t *buffer, size_t size); 41 void vp9_reader_fill(vp9_reader *r); 43 int vp9_reader_has_error(vp9_reader *r); 45 const uint8_t *vp9_reader_find_end(vp9_reader *r); 47 static int vp9_read(vp9_reader *r, int prob) { in vp9_read() argument 53 unsigned int split = (r->range * prob + (256 - prob)) >> CHAR_BIT; in vp9_read() 55 if (r->count < 0) in vp9_read() 56 vp9_reader_fill(r); in vp9_read() 58 value = r->value; in vp9_read() 59 count = r->count; in vp9_read() [all …]
|
D | vp9_decodemv.c | 26 static MB_PREDICTION_MODE read_intra_mode(vp9_reader *r, const vp9_prob *p) { in read_intra_mode() argument 27 return (MB_PREDICTION_MODE)vp9_read_tree(r, vp9_intra_mode_tree, p); in read_intra_mode() 30 static MB_PREDICTION_MODE read_intra_mode_y(VP9_COMMON *cm, vp9_reader *r, in read_intra_mode_y() argument 32 const MB_PREDICTION_MODE y_mode = read_intra_mode(r, in read_intra_mode_y() 39 static MB_PREDICTION_MODE read_intra_mode_uv(VP9_COMMON *cm, vp9_reader *r, in read_intra_mode_uv() argument 41 const MB_PREDICTION_MODE uv_mode = read_intra_mode(r, in read_intra_mode_uv() 48 static MB_PREDICTION_MODE read_inter_mode(VP9_COMMON *cm, vp9_reader *r, in read_inter_mode() argument 50 const int mode = vp9_read_tree(r, vp9_inter_mode_tree, in read_inter_mode() 58 static int read_segment_id(vp9_reader *r, const struct segmentation *seg) { in read_segment_id() argument 59 return vp9_read_tree(r, vp9_segment_tree, seg->tree_probs); in read_segment_id() [all …]
|
D | vp9_dsubexp.c | 22 static int decode_uniform(vp9_reader *r) { in decode_uniform() argument 25 const int v = vp9_read_literal(r, l - 1); in decode_uniform() 26 return v < m ? v : (v << 1) - m + vp9_read_bit(r); in decode_uniform() 77 static int decode_term_subexp(vp9_reader *r) { in decode_term_subexp() argument 78 if (!vp9_read_bit(r)) in decode_term_subexp() 79 return vp9_read_literal(r, 4); in decode_term_subexp() 80 if (!vp9_read_bit(r)) in decode_term_subexp() 81 return vp9_read_literal(r, 4) + 16; in decode_term_subexp() 82 if (!vp9_read_bit(r)) in decode_term_subexp() 83 return vp9_read_literal(r, 5) + 32; in decode_term_subexp() [all …]
|
D | vp9_dthread.c | 38 static INLINE void sync_read(VP9LfSync *const lf_sync, int r, int c) { in sync_read() argument 42 if (r && !(c & (nsync - 1))) { in sync_read() 43 mutex_lock(&lf_sync->mutex_[r - 1]); in sync_read() 45 while (c > lf_sync->cur_sb_col[r - 1] - nsync) { in sync_read() 46 pthread_cond_wait(&lf_sync->cond_[r - 1], in sync_read() 47 &lf_sync->mutex_[r - 1]); in sync_read() 49 pthread_mutex_unlock(&lf_sync->mutex_[r - 1]); in sync_read() 53 (void)r; in sync_read() 58 static INLINE void sync_write(VP9LfSync *const lf_sync, int r, int c, in sync_write() argument 75 mutex_lock(&lf_sync->mutex_[r]); in sync_write() [all …]
|
D | vp9_detokenize.c | 69 dqcoeff[scan[c]] = vp9_read_bit(r) ? -v : v; \ 79 val += (vp9_read(r, prob) << bits_count); \ 85 vp9_reader *r) { in decode_coefs() argument 111 if (!vp9_read(r, prob[EOB_CONTEXT_NODE])) { in decode_coefs() 116 while (!vp9_read(r, prob[ZERO_CONTEXT_NODE])) { in decode_coefs() 129 if (!vp9_read(r, prob[ONE_CONTEXT_NODE])) { in decode_coefs() 138 if (!vp9_read(r, prob[LOW_VAL_CONTEXT_NODE])) { in decode_coefs() 139 if (!vp9_read(r, prob[TWO_CONTEXT_NODE])) { in decode_coefs() 142 if (!vp9_read(r, prob[THREE_CONTEXT_NODE])) { in decode_coefs() 148 if (!vp9_read(r, prob[HIGH_LOW_CONTEXT_NODE])) { in decode_coefs() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_reconintra.c | 50 int r, c; in d207_predictor() local 53 for (r = 0; r < bs - 1; ++r) in d207_predictor() 54 dst[r * stride] = ROUND_POWER_OF_TWO(left[r] + left[r + 1], 1); in d207_predictor() 59 for (r = 0; r < bs - 2; ++r) in d207_predictor() 60 dst[r * stride] = ROUND_POWER_OF_TWO(left[r] + left[r + 1] * 2 + in d207_predictor() 61 left[r + 2], 2); in d207_predictor() 71 for (r = bs - 2; r >= 0; --r) in d207_predictor() 73 dst[r * stride + c] = dst[(r + 1) * stride + c - 2]; in d207_predictor() 79 int r, c; in intra_pred_allsizes() local 81 for (r = 0; r < bs; ++r) { in intra_pred_allsizes() [all …]
|
D | vp9_loopfilter.c | 920 int r, c; in filter_block_plane_non420() local 922 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += row_step) { in filter_block_plane_non420() 939 !(r & (num_8x8_blocks_high_lookup[sb_type] - 1)) : 1; in filter_block_plane_non420() 945 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; in filter_block_plane_non420() 948 if (!(lfl[(r << 3) + (c >> ss_x)] = in filter_block_plane_non420() 960 if (!skip_this_r && ((r >> ss_y) & 3) == 0) { in filter_block_plane_non420() 962 mask_16x16[r] |= 1 << (c >> ss_x); in filter_block_plane_non420() 964 mask_8x8[r] |= 1 << (c >> ss_x); in filter_block_plane_non420() 973 if (!skip_this_r && ((r >> ss_y) & 1) == 0) { in filter_block_plane_non420() 975 mask_16x16[r] |= 1 << (c >> ss_x); in filter_block_plane_non420() [all …]
|
/hardware/bsp/intel/peripheral/libmraa/examples/ |
D | blink-io.c | 50 mraa_result_t r = MRAA_SUCCESS; in main() local 71 r = mraa_gpio_dir(gpio, MRAA_GPIO_OUT); in main() 72 if (r != MRAA_SUCCESS) { in main() 73 mraa_result_print(r); in main() 79 r = mraa_gpio_write(gpio, 0); in main() 80 if (r != MRAA_SUCCESS) { in main() 81 mraa_result_print(r); in main() 88 r = mraa_gpio_write(gpio, 1); in main() 89 if (r != MRAA_SUCCESS) { in main() 90 mraa_result_print(r); in main() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
D | vp9_subtract_test.cc | 52 for (int r = 0; r < block_height; ++r) { in TEST_P() local 54 src[r * block_width * 2 + c] = rnd.Rand8(); in TEST_P() 55 pred[r * block_width * 2 + c] = rnd.Rand8(); in TEST_P() 62 for (int r = 0; r < block_height; ++r) { in TEST_P() local 64 EXPECT_EQ(diff[r * block_width + c], in TEST_P() 65 (src[r * block_width + c] - in TEST_P() 66 pred[r * block_width + c])) << "r = " << r in TEST_P() 75 for (int r = 0; r < block_height; ++r) { in TEST_P() local 77 EXPECT_EQ(diff[r * block_width * 2 + c], in TEST_P() 78 (src[r * block_width * 2 + c] - in TEST_P() [all …]
|
D | subtract_test.cc | 60 for (int r = 0; r < kBlockHeight; ++r) { in TEST_P() local 69 for (int r = 0; r < kBlockHeight; ++r) { in TEST_P() local 78 for (int r = 0; r < kBlockHeight; ++r) { in TEST_P() local 90 for (int r = 0; r < kBlockHeight; ++r) { in TEST_P() local 92 EXPECT_EQ(base_src[c], (src_diff[c] + predictor[c])) << "r = " << r in TEST_P()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/neon/ |
D | copymem_neon.c | 19 int r; in vp8_copy_mem8x4_neon() local 21 for (r = 0; r < 4; r++) { in vp8_copy_mem8x4_neon() 35 int r; in vp8_copy_mem8x8_neon() local 37 for (r = 0; r < 8; r++) { in vp8_copy_mem8x8_neon() 50 int r; in vp8_copy_mem16x16_neon() local 53 for (r = 0; r < 16; r++) { in vp8_copy_mem16x16_neon()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/ |
D | cpplint.py | 411 r'[ =()](' + ('|'.join(_ALT_TOKEN_REPLACEMENT.keys())) + r')(?=[ (]|$)') 429 _MATCH_ASM = re.compile(r'^\s*(?:asm|_asm|__asm|__asm__)' 430 r'(?:\s+(volatile|__volatile__))?' 431 r'\s*[{(]') 437 _RE_SUPPRESSION = re.compile(r'\bNOLINT\b(\([^)]*\))?') 618 not Match(r'^\s*$', clean_lines.elided[linenum - 1])): 833 if Match(r'T(EST|est)', self.current_function): 1014 r'\\([abfnrtv?"\\\']|\d+|x[0-9a-fA-F]+)') 1016 _RE_PATTERN_CLEANSE_LINE_DOUBLE_QUOTES = re.compile(r'"[^"]*"') 1018 _RE_PATTERN_CLEANSE_LINE_SINGLE_QUOTES = re.compile(r"'.'") [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/src/ |
D | nestegg.c | 530 int r = 1; in ne_io_read_skip() local 534 r = ne_io_read(io, buf, get); in ne_io_read_skip() 535 if (r != 1) in ne_io_read_skip() 540 return r; in ne_io_read_skip() 552 int r; in ne_bare_read_vint() local 557 r = ne_io_read(io, &b, 1); in ne_bare_read_vint() 558 if (r != 1) in ne_bare_read_vint() 559 return r; in ne_bare_read_vint() 576 r = ne_io_read(io, &b, 1); in ne_bare_read_vint() 577 if (r != 1) in ne_bare_read_vint() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
D | and_constructor.c | 115 size_t r = 1; in inv_playback() local 136 r = fread(&type, sizeof(type), 1, inv_construct.file); in inv_playback() 137 if (r == 0) { in inv_playback() 146 r = fread(gyro, sizeof(gyro[0]), 3, inv_construct.file); in inv_playback() 147 r = fread(&ts, sizeof(ts), 1, inv_construct.file); in inv_playback() 155 r = fread(buffer, sizeof(buffer[0]), 3, inv_construct.file); in inv_playback() 156 r = fread(&ts, sizeof(ts), 1, inv_construct.file); in inv_playback() 166 r = fread(buffer, sizeof(buffer[0]), 3, inv_construct.file); in inv_playback() 167 r = fread(&ts, sizeof(ts), 1, inv_construct.file); in inv_playback() 175 r = fread(buffer, sizeof(buffer[0]), 1, inv_construct.file); in inv_playback() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/test/ |
D | test.c | 20 size_t r; in stdio_read() local 23 r = fread(p, length, 1, fp); in stdio_read() 24 if (r == 0 && feof(fp)) in stdio_read() 26 return r == 0 ? -1 : 1; in stdio_read() 80 int r, type; in main() local 107 r = nestegg_init(&ctx, io, log_callback, -1); in main() 108 if (r != 0) in main() 154 r = nestegg_track_seek(ctx, 0, duration / 2); in main() 155 if (r == 0) { in main() 159 r = nestegg_read_packet(ctx, &pkt); in main() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/mips/dspr2/ |
D | reconinter_dspr2.c | 33 int r; in vp8_copy_mem16x16_dspr2() local 36 for (r = 16; r--;) in vp8_copy_mem16x16_dspr2() 68 int r; in vp8_copy_mem8x8_dspr2() local 74 for (r = 8; r--;) in vp8_copy_mem8x8_dspr2() 98 int r; in vp8_copy_mem8x4_dspr2() local 104 for (r = 4; r--;) in vp8_copy_mem8x4_dspr2()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | ssim.c | 18 unsigned char *r, in vp8_ssim_parms_16x16_c() argument 28 for(i=0;i<16;i++,s+=sp,r+=rp) in vp8_ssim_parms_16x16_c() 33 *sum_r += r[j]; in vp8_ssim_parms_16x16_c() 35 *sum_sq_r += r[j] * r[j]; in vp8_ssim_parms_16x16_c() 36 *sum_sxr += s[j] * r[j]; in vp8_ssim_parms_16x16_c() 44 unsigned char *r, in vp8_ssim_parms_8x8_c() argument 54 for(i=0;i<8;i++,s+=sp,r+=rp) in vp8_ssim_parms_8x8_c() 59 *sum_r += r[j]; in vp8_ssim_parms_8x8_c() 61 *sum_sq_r += r[j] * r[j]; in vp8_ssim_parms_8x8_c() 62 *sum_sxr += s[j] * r[j]; in vp8_ssim_parms_8x8_c() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_ssim.c | 14 void vp9_ssim_parms_16x16_c(uint8_t *s, int sp, uint8_t *r, in vp9_ssim_parms_16x16_c() argument 19 for (i = 0; i < 16; i++, s += sp, r += rp) { in vp9_ssim_parms_16x16_c() 22 *sum_r += r[j]; in vp9_ssim_parms_16x16_c() 24 *sum_sq_r += r[j] * r[j]; in vp9_ssim_parms_16x16_c() 25 *sum_sxr += s[j] * r[j]; in vp9_ssim_parms_16x16_c() 29 void vp9_ssim_parms_8x8_c(uint8_t *s, int sp, uint8_t *r, int rp, in vp9_ssim_parms_8x8_c() argument 34 for (i = 0; i < 8; i++, s += sp, r += rp) { in vp9_ssim_parms_8x8_c() 37 *sum_r += r[j]; in vp9_ssim_parms_8x8_c() 39 *sum_sq_r += r[j] * r[j]; in vp9_ssim_parms_8x8_c() 40 *sum_sxr += s[j] * r[j]; in vp9_ssim_parms_8x8_c() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/ |
D | vp9_loopfilter_masks_dspr2.h | 34 uint32_t c, r, r3, r_k; in vp9_filter_hev_mask_dspr2() local 92 [r] "=&r" (r), [r3] "=&r" (r3) in vp9_filter_hev_mask_dspr2() 123 [s2] "=&r" (s2), [r] "+r" (r), [s3] "=&r" (s3) in vp9_filter_hev_mask_dspr2() 142 uint32_t c, r, r3, r_k, r_flat; in vp9_filter_hev_mask_flatmask4_dspr2() local 239 : [c] "=&r" (c), [r_k] "=&r" (r_k), [r] "=&r" (r), [r3] "=&r" (r3), in vp9_filter_hev_mask_flatmask4_dspr2() 272 [s2] "=&r" (s2), [r] "+r" (r), [s3] "=&r" (s3) in vp9_filter_hev_mask_flatmask4_dspr2() 288 uint32_t c, r, r_k, r_flat; in vp9_flatmask5() local 358 : [c] "=&r" (c), [r_k] "=&r" (r_k), [r] "=&r" (r), in vp9_flatmask5()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | hal_outputs.c | 378 static void inv_get_rotation_geomagnetic(float r[3][3]) in inv_get_rotation_geomagnetic() 385 r[0][0] = rot[0]*conv; in inv_get_rotation_geomagnetic() 386 r[0][1] = rot[1]*conv; in inv_get_rotation_geomagnetic() 387 r[0][2] = rot[2]*conv; in inv_get_rotation_geomagnetic() 388 r[1][0] = rot[3]*conv; in inv_get_rotation_geomagnetic() 389 r[1][1] = rot[4]*conv; in inv_get_rotation_geomagnetic() 390 r[1][2] = rot[5]*conv; in inv_get_rotation_geomagnetic() 391 r[2][0] = rot[6]*conv; in inv_get_rotation_geomagnetic() 392 r[2][1] = rot[7]*conv; in inv_get_rotation_geomagnetic() 393 r[2][2] = rot[8]*conv; in inv_get_rotation_geomagnetic() [all …]
|
/hardware/intel/common/wrs_omxil_core/utils/src/ |
D | thread.cpp | 24 r = NULL; in Thread() 30 Thread::Thread(RunnableInterface *r) in Thread() argument 32 this->r = r; in Thread() 85 if (r) in Run() 86 r->Run(); in Run()
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | lpd8806.cxx | 30 void scanner(uint8_t r, uint8_t g, uint8_t b, uint8_t wait); 69 void scanner(uint8_t r, uint8_t g, uint8_t b, uint8_t wait) { in scanner() argument 80 sensor->setPixelColor(pos - 2, r/4, g/4, b/4); in scanner() 81 sensor->setPixelColor(pos - 1, r/2, g/2, b/2); in scanner() 82 sensor->setPixelColor(pos, r, g, b); in scanner() 83 sensor->setPixelColor(pos + 1, r/2, g/2, b/2); in scanner() 84 sensor->setPixelColor(pos + 2, r/4, g/4, b/4); in scanner()
|