Home
last modified time | relevance | path

Searched refs:mb (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/external/pcre/dist2/src/
Dpcre2_match.c46 #define NLBLOCK mb /* Block containing newline information */
146 match_block *mb, BOOL caseless, PCRE2_SIZE *lengthptr) in match_ref() argument
149 BOOL utf = (mb->poptions & PCRE2_UTF) != 0; in match_ref()
159 if (offset >= offset_top || mb->ovector[offset] == PCRE2_UNSET) in match_ref()
161 if ((mb->poptions & PCRE2_MATCH_UNSET_BACKREF) != 0) in match_ref()
171 p = mb->start_subject + mb->ovector[offset]; in match_ref()
172 length = mb->ovector[offset+1] - mb->ovector[offset]; in match_ref()
193 if (eptr >= mb->end_subject) return 1; /* Partial match */ in match_ref()
217 if (eptr >= mb->end_subject) return 1; /* Partial match */ in match_ref()
220 if (TABLE_GET(cp, mb->lcc, cp) != TABLE_GET(cc, mb->lcc, cc)) in match_ref()
[all …]
Dpcre2_dfa_match.c79 #define NLBLOCK mb /* Block containing newline information */
366 dfa_match_block *mb, in internal_dfa_match() argument
391 PCRE2_SPTR start_subject = mb->start_subject; in internal_dfa_match()
392 PCRE2_SPTR end_subject = mb->end_subject; in internal_dfa_match()
393 PCRE2_SPTR start_code = mb->start_code; in internal_dfa_match()
396 BOOL utf = (mb->poptions & PCRE2_UTF) != 0; in internal_dfa_match()
410 ctypes = mb->tables + ctypes_offset; in internal_dfa_match()
411 lcc = mb->tables + lcc_offset; in internal_dfa_match()
412 fcc = mb->tables + fcc_offset; in internal_dfa_match()
476 if (current_subject < mb->start_used_ptr) in internal_dfa_match()
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_bitstream.c662 motion_vector_frame(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) in motion_vector_frame() argument
664 int dmv = mb->macroblock_modes.bits.frame_motion_type == PIPE_MPEG12_MO_TYPE_DUAL_PRIME; in motion_vector_frame()
667 if (mb->macroblock_modes.bits.frame_motion_type == PIPE_MPEG12_MO_TYPE_FIELD) { in motion_vector_frame()
668 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << s; in motion_vector_frame()
670 mb->PMV[0][s][0] = wrap(mb->PMV[0][s][0] + delta[0], bs->desc->f_code[s][0]); in motion_vector_frame()
671 mb->PMV[0][s][1] = wrap(DIV2DOWN(mb->PMV[0][s][1]) + delta[1], bs->desc->f_code[s][1]) * 2; in motion_vector_frame()
673 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << (s + 2); in motion_vector_frame()
675 mb->PMV[1][s][0] = wrap(mb->PMV[1][s][0] + delta[0], bs->desc->f_code[s][0]); in motion_vector_frame()
676 mb->PMV[1][s][1] = wrap(DIV2DOWN(mb->PMV[1][s][1]) + delta[1], bs->desc->f_code[s][1]) * 2; in motion_vector_frame()
680 mb->PMV[0][s][0] = wrap(mb->PMV[0][s][0] + delta[0], bs->desc->f_code[s][0]); in motion_vector_frame()
[all …]
Dvl_mpeg12_decoder.c242 MacroBlockTypeToPipeWeights(const struct pipe_mpeg12_macroblock *mb, unsigned weights[2]) in MacroBlockTypeToPipeWeights() argument
244 assert(mb); in MacroBlockTypeToPipeWeights()
246 …switch (mb->macroblock_type & (PIPE_MPEG12_MB_TYPE_MOTION_FORWARD | PIPE_MPEG12_MB_TYPE_MOTION_BAC… in MacroBlockTypeToPipeWeights()
263 if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { in MacroBlockTypeToPipeWeights()
277 MotionVectorToPipe(const struct pipe_mpeg12_macroblock *mb, unsigned vector, in MotionVectorToPipe() argument
282 assert(mb); in MotionVectorToPipe()
284 …if (mb->macroblock_type & (PIPE_MPEG12_MB_TYPE_MOTION_FORWARD | PIPE_MPEG12_MB_TYPE_MOTION_BACKWAR… in MotionVectorToPipe()
285 switch (mb->macroblock_modes.bits.frame_motion_type) { in MotionVectorToPipe()
287 mv.top.x = mb->PMV[0][vector][0]; in MotionVectorToPipe()
288 mv.top.y = mb->PMV[0][vector][1]; in MotionVectorToPipe()
[all …]
/external/pdfium/third_party/libtiff/
Dtif_dirread.c899 uint8* mb; in TIFFReadDirEntryByteArray() local
902 mb=data; in TIFFReadDirEntryByteArray()
910 *mb++=(uint8)(*ma++); in TIFFReadDirEntryByteArray()
917 uint8* mb; in TIFFReadDirEntryByteArray() local
920 mb=data; in TIFFReadDirEntryByteArray()
928 *mb++=(uint8)(*ma++); in TIFFReadDirEntryByteArray()
935 uint8* mb; in TIFFReadDirEntryByteArray() local
938 mb=data; in TIFFReadDirEntryByteArray()
946 *mb++=(uint8)(*ma++); in TIFFReadDirEntryByteArray()
953 uint8* mb; in TIFFReadDirEntryByteArray() local
[all …]
/external/valgrind/VEX/test/
Dmmxtest.c508 mmx_t mb; in main() local
524 mkRand(&mb); \ in main()
525 ma0 = ma; mb0 = mb; \ in main()
528 _name, ma0.q, mb0.q, mb.q); \ in main()
534 do_test("paddd", paddd(ma,mb)); in main()
535 do_test("paddw", paddw(ma,mb)); in main()
536 do_test("paddb", paddb(ma,mb)); in main()
538 do_test("paddsw", paddsw(ma,mb)); in main()
539 do_test("paddsb", paddsb(ma,mb)); in main()
541 do_test("paddusw", paddusw(ma,mb)); in main()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Ducm.c275 UCMapping *mb, *mbLimit; in ucm_moveMappings() local
278 mb=base->mappings; in ucm_moveMappings()
279 mbLimit=mb+base->mappingsLength; in ucm_moveMappings()
281 while(mb<mbLimit) { in ucm_moveMappings()
282 flag=mb->moveFlag; in ucm_moveMappings()
285 mb->moveFlag=0; in ucm_moveMappings()
289 ucm_addMapping(ext, mb, UCM_GET_CODE_POINTS(base, mb), UCM_GET_BYTES(base, mb)); in ucm_moveMappings()
293 if(mb<(mbLimit-1)) { in ucm_moveMappings()
294 uprv_memcpy(mb, mbLimit-1, sizeof(UCMapping)); in ucm_moveMappings()
300 ++mb; in ucm_moveMappings()
[all …]
/external/icu/icu4c/source/data/locales/
Dnnh.txt92 "mbɔ́ɔntè mvfò lyɛ̌ʼ",
94 "mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ",
101 "mbɔ́ɔntè mvfò lyɛ̌ʼ",
103 "mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ",
110 "mbɔ́ɔntè mvfò lyɛ̌ʼ",
112 "mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ",
121 "mbɔ́ɔntè mvfò lyɛ̌ʼ",
123 "mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ",
130 "mbɔ́ɔntè mvfò lyɛ̌ʼ",
132 "mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ",
[all …]
/external/syslinux/gpxe/src/arch/i386/image/
Dmultiboot.c88 struct multiboot_header mb; member
340 copy_from_user ( &hdr->mb, image->data, offset, in multiboot_find_header()
341 sizeof ( hdr->mb ) ); in multiboot_find_header()
342 checksum = ( hdr->mb.magic + hdr->mb.flags + in multiboot_find_header()
343 hdr->mb.checksum ); in multiboot_find_header()
371 if ( ! ( hdr->mb.flags & MB_FLAG_RAW ) ) { in multiboot_load_raw()
378 offset = ( hdr->offset - hdr->mb.header_addr + hdr->mb.load_addr ); in multiboot_load_raw()
379 filesz = ( hdr->mb.load_end_addr ? in multiboot_load_raw()
380 ( hdr->mb.load_end_addr - hdr->mb.load_addr ) : in multiboot_load_raw()
382 memsz = ( hdr->mb.bss_end_addr ? in multiboot_load_raw()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_video.c104 nouveau_vpe_mb_dct_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb) in nouveau_vpe_mb_dct_blocks() argument
107 unsigned cbp = mb->coded_block_pattern; in nouveau_vpe_mb_dct_blocks()
108 short *db = mb->blocks; in nouveau_vpe_mb_dct_blocks()
133 } else if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { in nouveau_vpe_mb_dct_blocks()
140 nouveau_vpe_mb_data_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb) in nouveau_vpe_mb_data_blocks() argument
143 unsigned cbp = mb->coded_block_pattern; in nouveau_vpe_mb_data_blocks()
144 short *db = mb->blocks; in nouveau_vpe_mb_data_blocks()
150 } else if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { in nouveau_vpe_mb_data_blocks()
159 const struct pipe_mpeg12_macroblock *mb, in nouveau_vpe_mb_dct_header() argument
163 bool intra = mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA; in nouveau_vpe_mb_dct_header()
[all …]
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dbitreader.ml24 let mb = Llvm.MemoryBuffer.of_file fn in
26 let m = Llvm_bitreader.parse_bitcode context mb in
29 Llvm.MemoryBuffer.dispose mb;
36 let mb = Llvm.MemoryBuffer.of_file (fn ^ ".bogus") in
37 Llvm.MemoryBuffer.dispose mb;
45 let mb = Llvm.MemoryBuffer.of_file fn in
47 Llvm_bitreader.get_module context mb
49 Llvm.MemoryBuffer.dispose mb;
65 let mb = Llvm.MemoryBuffer.of_file fn in
67 Llvm_bitreader.get_module context mb
[all …]
/external/opencv/cv/src/
Dcvmatchcontours.cpp63 double ma[7], mb[7]; in cvMatchShapes() local
97 mb[0] = huMoments.hu1; in cvMatchShapes()
98 mb[1] = huMoments.hu2; in cvMatchShapes()
99 mb[2] = huMoments.hu3; in cvMatchShapes()
100 mb[3] = huMoments.hu4; in cvMatchShapes()
101 mb[4] = huMoments.hu5; in cvMatchShapes()
102 mb[5] = huMoments.hu6; in cvMatchShapes()
103 mb[6] = huMoments.hu7; in cvMatchShapes()
112 double amb = fabs( mb[i] ); in cvMatchShapes()
120 if( mb[i] > 0 ) in cvMatchShapes()
[all …]
/external/libvpx/libvpx/test/
Dquantize_test.cc72 memcpy(macroblockd_dst_, &vp8_comp_->mb.e_mbd, sizeof(*macroblockd_dst_)); in SetupCompressor()
81 memcpy(macroblockd_dst_, &vp8_comp_->mb.e_mbd, sizeof(*macroblockd_dst_)); in UpdateQuantizer()
87 vp8_comp_->mb.coeff[i] = c; in FillCoeffConstant()
93 vp8_comp_->mb.coeff[i] = rnd_.Rand8(); in FillCoeffRandom()
98 EXPECT_EQ(0, memcmp(vp8_comp_->mb.e_mbd.qcoeff, macroblockd_dst_->qcoeff, in CheckOutput()
102 EXPECT_EQ(0, memcmp(vp8_comp_->mb.e_mbd.dqcoeff, macroblockd_dst_->dqcoeff, in CheckOutput()
106 EXPECT_EQ(0, memcmp(vp8_comp_->mb.e_mbd.eobs, macroblockd_dst_->eobs, in CheckOutput()
130 c_quant_(&vp8_comp_->mb.block[i], &vp8_comp_->mb.e_mbd.block[i])); in RunComparison()
132 asm_quant_(&vp8_comp_->mb.block[i], &macroblockd_dst_->block[i])); in RunComparison()
152 vp8_comp_->mb.coeff[0] = -8191; in TEST_P()
/external/llvm/test/Bindings/OCaml/
Dbitreader.ml31 let mb = Llvm.MemoryBuffer.of_file fn in
33 let m = Llvm_bitreader.parse_bitcode context mb in
36 Llvm.MemoryBuffer.dispose mb;
43 let mb = Llvm.MemoryBuffer.of_file (fn ^ ".bogus") in
44 Llvm.MemoryBuffer.dispose mb;
52 let mb = Llvm.MemoryBuffer.of_file fn in
54 Llvm_bitreader.get_module context mb
56 Llvm.MemoryBuffer.dispose mb;
72 let mb = Llvm.MemoryBuffer.of_file fn in
74 Llvm_bitreader.get_module context mb
[all …]
/external/eigen/bench/
DbenchBlasGemm.cpp30 void bench_eigengemm(MyMatrix& mc, const MyMatrix& ma, const MyMatrix& mb, int nbloops);
102 MyMatrix ma(M,K), mb(K,N), mc(M,N); in main() local
104 mb = MyMatrix::Random(K,N); in main()
123 …M(CblasRowMajor, CblasNoTrans, CblasNoTrans, M, N, K, alpha, ma.data(), K, mb.data(), N, beta, mc.… in main()
125 …M(CblasColMajor, CblasNoTrans, CblasNoTrans, M, N, K, alpha, ma.data(), M, mb.data(), K, beta, mc.… in main()
137 mb = MyMatrix::Random(K,N); in main()
147 bench_eigengemm(mc, ma, mb, nbloops); in main()
165 void bench_eigengemm(MyMatrix& mc, const MyMatrix& ma, const MyMatrix& mb, int nbloops) in bench_eigengemm() argument
168 mc.noalias() += ma * mb; in bench_eigengemm()
176 MyMatrix ma(M,K), mb(K,N), mc(M,N), maT(K,M), mbT(N,K), meigen(M,N), mref(M,N); in check_product() local
[all …]
/external/libvpx/libvpx/vp8/encoder/x86/
Dvp8_enc_stubs_sse2.c17 int vp8_mbblock_error_sse2(MACROBLOCK *mb, int dc) { in vp8_mbblock_error_sse2() argument
18 short *coeff_ptr = mb->block[0].coeff; in vp8_mbblock_error_sse2()
19 short *dcoef_ptr = mb->e_mbd.block[0].dqcoeff; in vp8_mbblock_error_sse2()
24 int vp8_mbuverror_sse2(MACROBLOCK *mb) { in vp8_mbuverror_sse2() argument
25 short *s_ptr = &mb->coeff[256]; in vp8_mbuverror_sse2()
26 short *d_ptr = &mb->e_mbd.dqcoeff[256]; in vp8_mbuverror_sse2()
/external/v8/tools/mb/docs/
Duser_guide.md7 `mb` is a simple python wrapper around the GYP and GN meta-build tools to
21 ### `mb analyze`
23 `mb analyze` is reponsible for determining what targets are affected by
27 mb analyze -c chromium_linux_rel //out/Release input.json output.json
31 must be specified so that `mb` can figure out which config to use.
60 The third positional argument is a (normal) path to where mb will write
94 `-q/--quiet`, and `-v/--verbose` flags work as documented for `mb gen`.
96 ### `mb audit`
98 `mb audit` is used to track the progress of the GYP->GN migration. You can
100 `mb help audit` for more details (most people are not expected to care about
[all …]
/external/webp/src/enc/
Danalysis_enc.c40 const VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; in SmoothSegmentMap() local
41 int majority_seg = mb->segment_; in SmoothSegmentMap()
43 cnt[mb[-w - 1].segment_]++; // top-left in SmoothSegmentMap()
44 cnt[mb[-w + 0].segment_]++; // top in SmoothSegmentMap()
45 cnt[mb[-w + 1].segment_]++; // top-right in SmoothSegmentMap()
46 cnt[mb[ - 1].segment_]++; // left in SmoothSegmentMap()
47 cnt[mb[ + 1].segment_]++; // right in SmoothSegmentMap()
48 cnt[mb[ w - 1].segment_]++; // bottom-left in SmoothSegmentMap()
49 cnt[mb[ w + 0].segment_]++; // bottom in SmoothSegmentMap()
50 cnt[mb[ w + 1].segment_]++; // bottom-right in SmoothSegmentMap()
[all …]
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsurface.c50 struct pipe_mpeg12_macroblock *mb, in MacroBlocksToPipe() argument
60 mb->base.codec = PIPE_VIDEO_CODEC_MPEG12; in MacroBlocksToPipe()
61 mb->x = xvmc_mb->x; in MacroBlocksToPipe()
62 mb->y = xvmc_mb->y; in MacroBlocksToPipe()
63 mb->macroblock_type = xvmc_mb->macroblock_type; in MacroBlocksToPipe()
67 mb->macroblock_modes.bits.frame_motion_type = xvmc_mb->motion_type; in MacroBlocksToPipe()
68 mb->macroblock_modes.bits.field_motion_type = 0; in MacroBlocksToPipe()
73 mb->macroblock_modes.bits.frame_motion_type = 0; in MacroBlocksToPipe()
74 mb->macroblock_modes.bits.field_motion_type = xvmc_mb->motion_type; in MacroBlocksToPipe()
81 mb->macroblock_modes.bits.dct_type = xvmc_mb->dct_type; in MacroBlocksToPipe()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_sbcs.java124 byte mb = byteMap[b]; in parseCharacters()
127 if (mb != 0) { in parseCharacters()
128 if (!(mb == spaceChar && ignoreSpace)) { in parseCharacters()
129 addByte(mb); in parseCharacters()
132 ignoreSpace = (mb == spaceChar); in parseCharacters()
241 byte mb = byteMap[b]; in parseCharacters()
244 if (mb != 0) { in parseCharacters()
245 if (!(mb == spaceChar && ignoreSpace)) { in parseCharacters()
246 addByte(mb); in parseCharacters()
249 ignoreSpace = (mb == spaceChar); in parseCharacters()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetRecog_sbcs.java125 byte mb = byteMap[b]; in parseCharacters()
128 if (mb != 0) { in parseCharacters()
129 if (!(mb == spaceChar && ignoreSpace)) { in parseCharacters()
130 addByte(mb); in parseCharacters()
133 ignoreSpace = (mb == spaceChar); in parseCharacters()
242 byte mb = byteMap[b]; in parseCharacters()
245 if (mb != 0) { in parseCharacters()
246 if (!(mb == spaceChar && ignoreSpace)) { in parseCharacters()
247 addByte(mb); in parseCharacters()
250 ignoreSpace = (mb == spaceChar); in parseCharacters()
[all …]
/external/icu/icu4c/source/i18n/
Dcsrsbcs.cpp110 uint8_t mb = charMap[b]; in parseCharacters() local
113 if (mb != 0) { in parseCharacters()
114 if (!(mb == 0x20 && ignoreSpace)) { in parseCharacters()
115 addByte(mb); in parseCharacters()
118 ignoreSpace = (mb == 0x20); in parseCharacters()
217 uint8_t mb = charMap[b]; in parseCharacters() local
220 if (mb != 0) { in parseCharacters()
221 if (!(mb == 0x20 && ignoreSpace)) { in parseCharacters()
222 addByte(mb); in parseCharacters()
224 ignoreSpace = (mb == 0x20); in parseCharacters()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dethreading.c56 MACROBLOCK *x = &mbri->mb; in thread_encoding_proc()
443 MACROBLOCK *mb = &mbr_ei[i].mb; in vp8cx_init_mbrthread_data() local
444 MACROBLOCKD *mbd = &mb->e_mbd; in vp8cx_init_mbrthread_data()
450 mb->gf_active_ptr = x->gf_active_ptr; in vp8cx_init_mbrthread_data()
455 mb->partition_info = x->pi + x->e_mbd.mode_info_stride * (i + 1); in vp8cx_init_mbrthread_data()
459 mb->src = *cpi->Source; in vp8cx_init_mbrthread_data()
463 mb->src.y_buffer += 16 * x->src.y_stride * (i + 1); in vp8cx_init_mbrthread_data()
464 mb->src.u_buffer += 8 * x->src.uv_stride * (i + 1); in vp8cx_init_mbrthread_data()
465 mb->src.v_buffer += 8 * x->src.uv_stride * (i + 1); in vp8cx_init_mbrthread_data()
467 vp8_build_block_offsets(mb); in vp8cx_init_mbrthread_data()
[all …]
/external/libvpx/libvpx/vp8/decoder/
Ddecodemv.c294 const int mis = pbi->mb.mode_info_stride; in read_mb_modes_mv()
389 mb_to_top_edge = pbi->mb.mb_to_top_edge; in read_mb_modes_mv()
390 mb_to_bottom_edge = pbi->mb.mb_to_bottom_edge; in read_mb_modes_mv()
393 mb_to_right_edge = pbi->mb.mb_to_right_edge; in read_mb_modes_mv()
395 mb_to_left_edge = pbi->mb.mb_to_left_edge; in read_mb_modes_mv()
401 vp8_clamp_mv2(&near_mvs[near_index], &pbi->mb); in read_mb_modes_mv()
434 vp8_clamp_mv2(&mbmi->mv, &pbi->mb); in read_mb_modes_mv()
439 vp8_clamp_mv2(&mbmi->mv, &pbi->mb); in read_mb_modes_mv()
497 if (pbi->mb.update_mb_segmentation_map) { in decode_mb_mode_mvs()
498 read_mb_features(&pbi->mbc[8], &mi->mbmi, &pbi->mb); in decode_mb_mode_mvs()
[all …]
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Dencodeopt_msa.c41 int32_t vp8_mbblock_error_msa(MACROBLOCK *mb, int32_t dc) { in vp8_mbblock_error_msa() argument
59 be = &mb->block[2 * loop_cnt]; in vp8_mbblock_error_msa()
60 bd = &mb->e_mbd.block[2 * loop_cnt]; in vp8_mbblock_error_msa()
69 be = &mb->block[2 * loop_cnt + 1]; in vp8_mbblock_error_msa()
70 bd = &mb->e_mbd.block[2 * loop_cnt + 1]; in vp8_mbblock_error_msa()
107 int32_t vp8_mbuverror_msa(MACROBLOCK *mb) { in vp8_mbuverror_msa() argument
119 be = &mb->block[loop_cnt]; in vp8_mbuverror_msa()
120 bd = &mb->e_mbd.block[loop_cnt]; in vp8_mbuverror_msa()
129 be = &mb->block[loop_cnt + 1]; in vp8_mbuverror_msa()
130 bd = &mb->e_mbd.block[loop_cnt + 1]; in vp8_mbuverror_msa()

12345678910>>...14