/external/webp/src/dec/ |
H A D | vp8.c | 457 VP8MB* const mb, VP8BitReader* const token_br) { 474 const int ctx = mb->nz_dc_ + left_mb->nz_dc_; 476 mb->nz_dc_ = left_mb->nz_dc_ = (nz > 0); 491 tnz = mb->nz_ & 0x0f; 513 tnz = mb->nz_ >> (4 + ch); 533 mb->nz_ = out_t_nz; 552 VP8MB* const mb = dec->mb_info_ + dec->mb_x_; local 557 skip = ParseResiduals(dec, mb, token_br); 559 left->nz_ = mb->nz_ = 0; 561 left->nz_dc_ = mb 456 ParseResiduals(VP8Decoder* const dec, VP8MB* const mb, VP8BitReader* const token_br) argument [all...] |
/external/webp/src/enc/ |
H A D | analysis.c | 40 const VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; local 41 int majority_seg = mb->segment_; 43 cnt[mb[-w - 1].segment_]++; // top-left 44 cnt[mb[-w + 0].segment_]++; // top 45 cnt[mb[-w + 1].segment_]++; // top-right 46 cnt[mb[ - 1].segment_]++; // left 47 cnt[mb[ + 1].segment_]++; // right 48 cnt[mb[ w - 1].segment_]++; // bottom-left 49 cnt[mb[ w + 0].segment_]++; // bottom 50 cnt[mb[ 62 VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; local 210 VP8MBInfo* const mb = &enc->mb_info_[n]; local 356 DefaultMBInfo(VP8MBInfo* const mb) argument [all...] |
H A D | frame.c | 197 const VP8MBInfo* const mb = &enc->mb_info_[n]; local 198 p[mb->segment_]++; 487 const VP8MBInfo* const mb = it->mb_; local 492 enc->block_count_[0] += (mb->type_ == 0); 493 enc->block_count_[1] += (mb->type_ == 1); 494 enc->block_count_[2] += (mb->skip_ != 0); 500 case 1: *info = mb->type_; break; 501 case 2: *info = mb->segment_; break; 502 case 3: *info = enc->dqm_[mb->segment_].quant_; break; 503 case 4: *info = (mb [all...] |
H A D | tree.c | 318 const VP8MBInfo* const mb = it.mb_; local 321 PutSegment(bw, mb->segment_, enc->proba_.segments_); 324 VP8PutBit(bw, mb->skip_, enc->proba_.skip_proba_); 326 if (VP8PutBit(bw, (mb->type_ != 0), 145)) { // i16x16 342 PutUVMode(bw, mb->uv_mode_);
|
/external/valgrind/main/VEX/test/ |
H A D | mmxtest.c | 508 mmx_t mb; local 524 mkRand(&mb); \ 525 ma0 = ma; mb0 = mb; \ 528 _name, ma0.q, mb0.q, mb.q); \ 534 do_test("paddd", paddd(ma,mb)); 535 do_test("paddw", paddw(ma,mb)); 536 do_test("paddb", paddb(ma,mb)); 538 do_test("paddsw", paddsw(ma,mb)); 539 do_test("paddsb", paddsb(ma,mb)); 541 do_test("paddusw", paddusw(ma,mb)); [all...] |
/external/valgrind/main/include/vki/ |
H A D | vki-xen-domctl.h | 206 vki_uint32_t mb; member in struct:vki_xen_domctl_shadow_op
|
/external/stlport/test/unit/ |
H A D | codecvt_test.cpp | 62 do_in(mbstate_t& mb, 65 char *state = (char*)&mb; 155 do_in(mbstate_t& mb, 159 char *state = (char*)&mb; 236 virtual int do_length(mbstate_t &mb, argument 238 const char *state = (const char*)&mb; 248 mbstate_t tmpState = mb; 261 if (*((char*)&mb) != 0) {
|
/external/skia/src/core/ |
H A D | SkMatrix.cpp | 138 const SkScalar* SK_RESTRICT mb = b.fMat; local 140 return ma[0] == mb[0] && ma[1] == mb[1] && ma[2] == mb[2] && 141 ma[3] == mb[3] && ma[4] == mb[4] && ma[5] == mb[5] && 142 ma[6] == mb[6] && ma[7] == mb[7] && ma[8] == mb[ [all...] |
/external/skia/tests/ |
H A D | AAClipTest.cpp | 339 SkMask ma, mb; local 341 copyToMask(b, &mb); 343 SkAutoMaskFreeImage bCleanUp(mb.fImage); 345 return ma == mb;
|
/external/skia/tools/ |
H A D | bench_pictures_main.cpp | 217 size_t mb = kb / 1024; local 218 ramCount.appendf("%zi MB\n", mb);
|
/external/regex-re2/util/ |
H A D | benchmark.cc | 117 char mb[100]; local 119 mb[0] = '\0'; 122 snprintf(mb, sizeof mb, "\t%7.2f MB/s", ((double)bytes/1e6)/((double)ns/1e9)); 131 printf("%s%s\t%8lld\t%10lld ns/op%s\n", b->name, suf, (long long)n, (long long)ns/n, mb);
|
/external/robolectric/lib/test/ |
H A D | mockito-core-1.8.5.jar | META-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ... |
/external/qemu/disas/ |
H A D | ppc.c | 1258 int mb, me, mx, count, last; 1268 mb = 0; 1276 /* mb: location of last 0->1 transition */ 1285 mb = mx; 1301 return insn | (mb << 6) | ((me - 1) << 1); 1310 int mb, me; 1315 mb = (insn >> 6) & 0x1f; 1317 if (mb < me + 1) 1320 for (i = mb; i <= me; i++) 1323 else if (mb 1254 int mb, me, mx, count, last; local 1306 int mb, me; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/gem/ |
H A D | SDL_gemevents.c | 54 static void do_mouse(_THIS, short mx, short my, short mb, short ks); 298 static void do_mouse(_THIS, short mx, short my, short mb, short ks) argument 317 mb=prevmouseb; 347 if (prevmouseb!=mb) { 353 curbutton = mb & (1<<i); 363 prevmouseb = mb;
|
/external/pixman/pixman/ |
H A D | pixman-combine-float.c | 79 float ma, mr, mg, mb; local 92 mb = mask[i + 3]; 96 sb *= mb; 101 mb *= sa; 114 ma = mr = mg = mb = sa; 125 dest[i + 3] = combine_c (mb, sb, da, db);
|
/external/opencv/cv/src/ |
H A D | cvmatchcontours.cpp | 63 double ma[7], mb[7]; local 97 mb[0] = huMoments.hu1; 98 mb[1] = huMoments.hu2; 99 mb[2] = huMoments.hu3; 100 mb[3] = huMoments.hu4; 101 mb[4] = huMoments.hu5; 102 mb[5] = huMoments.hu6; 103 mb[6] = huMoments.hu7; 112 double amb = fabs( mb[i] ); 120 if( mb[ [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_mpeg12_bitstream.c | 662 motion_vector_frame(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) argument 664 int dmv = mb->macroblock_modes.bits.frame_motion_type == PIPE_MPEG12_MO_TYPE_DUAL_PRIME; 667 if (mb->macroblock_modes.bits.frame_motion_type == PIPE_MPEG12_MO_TYPE_FIELD) { 668 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << s; 670 mb->PMV[0][s][0] = wrap(mb->PMV[0][s][0] + delta[0], bs->desc->f_code[s][0]); 671 mb->PMV[0][s][1] = wrap(DIV2DOWN(mb->PMV[0][s][1]) + delta[1], bs->desc->f_code[s][1]) * 2; 673 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << (s + 2); 675 mb 686 motion_vector_field(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) argument 710 decode_dct(struct vl_mpg12_bs *bs, struct pipe_mpeg12_macroblock *mb, int scale) argument 792 struct pipe_mpeg12_macroblock mb; local [all...] |
H A D | vl_mpeg12_decoder.c | 242 MacroBlockTypeToPipeWeights(const struct pipe_mpeg12_macroblock *mb, unsigned weights[2]) argument 244 assert(mb); 246 switch (mb->macroblock_type & (PIPE_MPEG12_MB_TYPE_MOTION_FORWARD | PIPE_MPEG12_MB_TYPE_MOTION_BACKWARD)) { 263 if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 267 /* no motion vector, but also not intra mb -> 277 MotionVectorToPipe(const struct pipe_mpeg12_macroblock *mb, unsigned vector, argument 282 assert(mb); 284 if (mb->macroblock_type & (PIPE_MPEG12_MB_TYPE_MOTION_FORWARD | PIPE_MPEG12_MB_TYPE_MOTION_BACKWARD)) { 285 switch (mb->macroblock_modes.bits.frame_motion_type) { 287 mv.top.x = mb 328 UploadYcbcrBlocks(struct vl_mpeg12_decoder *dec, struct vl_mpeg12_buffer *buf, const struct pipe_mpeg12_macroblock *mb) argument 580 const struct pipe_mpeg12_macroblock *mb = (const struct pipe_mpeg12_macroblock *)macroblocks; local [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_video.c | 104 nouveau_vpe_mb_dct_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb) argument 107 unsigned cbp = mb->coded_block_pattern; 108 short *db = mb->blocks; 133 } else if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 140 nouveau_vpe_mb_data_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb) argument 143 unsigned cbp = mb->coded_block_pattern; 144 short *db = mb->blocks; 150 } else if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 159 const struct pipe_mpeg12_macroblock *mb, 163 bool intra = mb 158 nouveau_vpe_mb_dct_header(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb, bool luma) argument 282 nouveau_vpe_mb_mv_header(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb, bool luma) argument 432 const struct pipe_mpeg12_macroblock *mb; local [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
H A D | surface.c | 50 struct pipe_mpeg12_macroblock *mb, 60 mb->base.codec = PIPE_VIDEO_CODEC_MPEG12; 61 mb->x = xvmc_mb->x; 62 mb->y = xvmc_mb->y; 63 mb->macroblock_type = xvmc_mb->macroblock_type; 67 mb->macroblock_modes.bits.frame_motion_type = xvmc_mb->motion_type; 68 mb->macroblock_modes.bits.field_motion_type = 0; 73 mb->macroblock_modes.bits.frame_motion_type = 0; 74 mb->macroblock_modes.bits.field_motion_type = xvmc_mb->motion_type; 81 mb 45 MacroBlocksToPipe(XvMCContextPrivate *context, XvMCSurfacePrivate *surface, unsigned int xvmc_picture_structure, const XvMCMacroBlock *xvmc_mb, const XvMCBlockArray *xvmc_blocks, struct pipe_mpeg12_macroblock *mb, unsigned int num_macroblocks) argument 217 struct pipe_mpeg12_macroblock mb[num_macroblocks]; local [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
H A D | test_rendering.c | 148 XvMCMacroBlock *mb; local 188 mb = mb_array.macro_blocks; 194 mb->x = mbx; 195 mb->y = mby; 196 mb->macroblock_type = XVMC_MB_TYPE_INTRA; 197 /*mb->motion_type = ;*/ 198 /*mb->motion_vertical_field_select = ;*/ 199 mb->dct_type = XVMC_DCT_TYPE_FRAME; 200 /*mb->PMV[0][0][0] = ; 201 mb [all...] |
/external/llvm/tools/lli/ |
H A D | RemoteMemoryManager.h | 33 Allocation(sys::MemoryBlock mb, unsigned a, bool code) argument 34 : MB(mb), Alignment(a), IsCode(code) {}
|
/external/llvm/test/Bindings/Ocaml/ |
H A D | bitreader.ml | 27 let mb = Llvm.MemoryBuffer.of_file fn in var 29 let m = Llvm_bitreader.parse_bitcode context mb in 32 Llvm.MemoryBuffer.dispose mb; 39 let mb = Llvm.MemoryBuffer.of_file (fn ^ ".bogus") in var 40 Llvm.MemoryBuffer.dispose mb; 48 let mb = Llvm.MemoryBuffer.of_file fn in var 50 Llvm_bitreader.get_module context mb 52 Llvm.MemoryBuffer.dispose mb; 68 let mb = Llvm.MemoryBuffer.of_file fn in var 70 Llvm_bitreader.get_module context mb [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/ |
H A D | map.c | 24 struct map_browser *mb = container_of(self, struct map_browser, b); local 30 mb->addrlen, sym->start, mb->addrlen, sym->end, 33 width = self->width - ((mb->addrlen * 2) + 4); 103 struct map_browser mb = { local 116 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { 123 *idx = mb.b.nr_entries; 125 ++mb.b.nr_entries; 128 mb.addrlen = snprintf(tmp, sizeof(tmp), "%" PRIx64, maxaddr); 129 return map_browser__run(&mb); [all...] |
/external/libvpx/libvpx/vp8/decoder/ |
H A D | error_concealment.c | 184 /* mb subpixel position */ 497 static void interpolate_mvs(MACROBLOCKD *mb, argument 502 MODE_INFO * const mi = mb->mode_info_context; 516 int mb_to_top_edge = mb->mb_to_top_edge + ((row*4)<<3); 517 int mb_to_bottom_edge = mb->mb_to_bottom_edge - ((row*4)<<3); 520 int mb_to_left_edge = mb->mb_to_left_edge + ((col*4)<<3); 521 int mb_to_right_edge = mb->mb_to_right_edge - ((col*4)<<3); 560 void vp8_interpolate_motion(MACROBLOCKD *mb, argument 574 find_neighboring_blocks(mb->mode_info_context, 578 mb [all...] |