Home
last modified time | relevance | path

Searched refs:bmi (Results 1 – 25 of 69) sorted by relevance

123

/external/libvpx/libvpx/vp8/common/
Dreconinter.c88 … ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); in vp8_build_inter_predictors_b()
90 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) in vp8_build_inter_predictors_b()
92 sppf(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, pred_ptr, pitch); in vp8_build_inter_predictors_b()
111 … ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); in build_inter_predictors4b()
113 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) in build_inter_predictors4b()
115 …x->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()
126 … ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); in build_inter_predictors2b()
128 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) in build_inter_predictors2b()
130 …x->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()
142 … ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); in build_inter_predictors_b()
[all …]
Dpostproc.c959 union b_mode_info *bmi = &mi->bmi[0]; in vp8_post_proc_frame() local
960 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
968 bmi = &mi->bmi[8]; in vp8_post_proc_frame()
980 union b_mode_info *bmi = &mi->bmi[0]; in vp8_post_proc_frame() local
981 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
989 bmi = &mi->bmi[2]; in vp8_post_proc_frame()
1001 union b_mode_info *bmi = &mi->bmi[0]; in vp8_post_proc_frame() local
1002 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
1010 bmi = &mi->bmi[2]; in vp8_post_proc_frame()
1018 bmi = &mi->bmi[8]; in vp8_post_proc_frame()
[all …]
Dfindnearmv.h116 return (cur_mb->bmi + b - 1)->mv.as_int; in left_block_mv()
131 return (cur_mb->bmi + (b - 4))->mv.as_int; in above_block_mv()
142 return (cur_mb->bmi + b + 3)->as_mode; in left_block_mode()
156 return (cur_mb->bmi + b - 1)->as_mode; in left_block_mode()
169 return (cur_mb->bmi + b + 12)->as_mode; in above_block_mode()
183 return (cur_mb->bmi + b - 4)->as_mode; in above_block_mode()
Ddebugmodes.c99 fprintf(mvs, "%2d ", mi[mb_index].bmi[bindex].as_mode); in vp8_print_modes_and_motion_vectors()
144 …fprintf(mvs, "%3d:%-3d ", mi[mb_index].bmi[bindex].mv.as_mv.row, mi[mb_index].bmi[bindex].mv.as_mv… in vp8_print_modes_and_motion_vectors()
/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c70 union b_mode_info *bmi, in assign_overlap() argument
80 if (overlaps[i].bmi == NULL) in assign_overlap()
82 overlaps[i].bmi = bmi; in assign_overlap()
112 static void calculate_overlaps_mb(B_OVERLAP *b_overlaps, union b_mode_info *bmi, in calculate_overlaps_mb() argument
165 assign_overlap(b_ol_ul[row * 4 + col].overlaps, bmi, overlap); in calculate_overlaps_mb()
172 union b_mode_info *bmi, in vp8_calculate_overlaps() argument
187 new_row = row - bmi->mv.as_mv.row; in vp8_calculate_overlaps()
188 new_col = col - bmi->mv.as_mv.col; in vp8_calculate_overlaps()
233 calculate_overlaps_mb(mb_overlap->overlaps, bmi, in vp8_calculate_overlaps()
247 static void estimate_mv(const OVERLAP_NODE *overlaps, union b_mode_info *bmi) in estimate_mv() argument
[all …]
Ddecodemv.c67 mi->bmi[i].as_mode = in read_kf_modes()
270 leftmv.as_int = (left_mb->bmi + k + 4 - 1)->mv.as_int; in decode_split_mv()
273 leftmv.as_int = (mi->bmi + k - 1)->mv.as_int; in decode_split_mv()
281 abovemv.as_int = (above_mb->bmi + k + 16 - 4)->mv.as_int; in decode_split_mv()
284 abovemv.as_int = (mi->bmi + k - 4)->mv.as_int; in decode_split_mv()
328 mi->bmi[ *fill_offset].mv.as_int = blockmv.as_int; in decode_split_mv()
488 mbmi->mv.as_int = mi->bmi[15].mv.as_int; in read_mb_modes_mv()
535 mi->bmi[ 0].mv.as_int = in read_mb_modes_mv()
536 mi->bmi[ 1].mv.as_int = in read_mb_modes_mv()
537 mi->bmi[ 2].mv.as_int = in read_mb_modes_mv()
[all …]
/external/mesa3d/src/gallium/winsys/sw/gdi/
Dgdi_sw_winsys.c60 BITMAPINFO bmi; member
151 gdt->bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in gdi_sw_displaytarget_create()
152 gdt->bmi.bmiHeader.biWidth = gdt->stride / cpp; in gdi_sw_displaytarget_create()
153 gdt->bmi.bmiHeader.biHeight= -(long)height; in gdi_sw_displaytarget_create()
154 gdt->bmi.bmiHeader.biPlanes = 1; in gdi_sw_displaytarget_create()
155 gdt->bmi.bmiHeader.biBitCount = bpp; in gdi_sw_displaytarget_create()
156 gdt->bmi.bmiHeader.biCompression = BI_RGB; in gdi_sw_displaytarget_create()
157 gdt->bmi.bmiHeader.biSizeImage = 0; in gdi_sw_displaytarget_create()
158 gdt->bmi.bmiHeader.biXPelsPerMeter = 0; in gdi_sw_displaytarget_create()
159 gdt->bmi.bmiHeader.biYPelsPerMeter = 0; in gdi_sw_displaytarget_create()
[all …]
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c227 mi->bmi[i].as_mode = in read_intra_frame_mode_info()
229 mbmi->mode = mi->bmi[3].as_mode; in read_intra_frame_mode_info()
232 mi->bmi[0].as_mode = mi->bmi[2].as_mode = in read_intra_frame_mode_info()
234 mi->bmi[1].as_mode = mi->bmi[3].as_mode = mbmi->mode = in read_intra_frame_mode_info()
238 mi->bmi[0].as_mode = mi->bmi[1].as_mode = in read_intra_frame_mode_info()
240 mi->bmi[2].as_mode = mi->bmi[3].as_mode = mbmi->mode = in read_intra_frame_mode_info()
392 mi->bmi[i].as_mode = read_intra_mode_y(cm, xd, r, 0); in read_intra_block_mode_info()
393 mbmi->mode = mi->bmi[3].as_mode; in read_intra_block_mode_info()
396 mi->bmi[0].as_mode = mi->bmi[2].as_mode = read_intra_mode_y(cm, xd, in read_intra_block_mode_info()
398 mi->bmi[1].as_mode = mi->bmi[3].as_mode = mbmi->mode = in read_intra_block_mode_info()
[all …]
/external/llvm/test/CodeGen/X86/
Dbmi.ll1 ; RUN: llc < %s -march=x86-64 -mattr=+bmi,+bmi2 | FileCheck %s
98 %tmp = tail call i32 @llvm.x86.bmi.bextr.32(i32 %x, i32 %y)
106 %tmp = tail call i32 @llvm.x86.bmi.bextr.32(i32 %x1, i32 %y)
112 declare i32 @llvm.x86.bmi.bextr.32(i32, i32) nounwind readnone
132 %tmp = tail call i64 @llvm.x86.bmi.bextr.64(i64 %x, i64 %y)
138 declare i64 @llvm.x86.bmi.bextr.64(i64, i64) nounwind readnone
179 %tmp = tail call i32 @llvm.x86.bmi.bzhi.32(i32 %x, i32 %y)
187 %tmp = tail call i32 @llvm.x86.bmi.bzhi.32(i32 %x1, i32 %y)
193 declare i32 @llvm.x86.bmi.bzhi.32(i32, i32) nounwind readnone
196 %tmp = tail call i64 @llvm.x86.bmi.bzhi.64(i64 %x, i64 %y)
[all …]
Dh-registers-0.ll1 ; RUN: llc < %s -mattr=-bmi -mtriple=x86_64-linux | FileCheck %s -check-prefix=X86-64
2 ; RUN: llc < %s -mattr=-bmi -mtriple=x86_64-win32 | FileCheck %s -check-prefix=WIN64
3 ; RUN: llc < %s -mattr=-bmi -march=x86 | FileCheck %s -check-prefix=X86-32
/external/libvpx/libvpx/vp9/common/
Dvp9_reconinter.c84 MV res = { round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.row + in mi_mv_pred_q4()
85 mi->bmi[1].as_mv[idx].as_mv.row + in mi_mv_pred_q4()
86 mi->bmi[2].as_mv[idx].as_mv.row + in mi_mv_pred_q4()
87 mi->bmi[3].as_mv[idx].as_mv.row), in mi_mv_pred_q4()
88 round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.col + in mi_mv_pred_q4()
89 mi->bmi[1].as_mv[idx].as_mv.col + in mi_mv_pred_q4()
90 mi->bmi[2].as_mv[idx].as_mv.col + in mi_mv_pred_q4()
91 mi->bmi[3].as_mv[idx].as_mv.col) }; in mi_mv_pred_q4()
100 MV res = { round_mv_comp_q2(mi->bmi[block0].as_mv[idx].as_mv.row + in mi_mv_pred_q2()
101 mi->bmi[block1].as_mv[idx].as_mv.row), in mi_mv_pred_q2()
[all …]
Dvp9_mvref_common.c188 b_mode_info *bmi = mi->bmi; in vp9_append_sub8x8_mvs_for_idx() local
204 nearest_mv->as_int = bmi[0].as_mv[ref].as_int; in vp9_append_sub8x8_mvs_for_idx()
213 candidates[0] = bmi[1].as_mv[ref]; in vp9_append_sub8x8_mvs_for_idx()
214 candidates[1] = bmi[0].as_mv[ref]; in vp9_append_sub8x8_mvs_for_idx()
218 nearest_mv->as_int = bmi[2].as_mv[ref].as_int; in vp9_append_sub8x8_mvs_for_idx()
/external/skia/src/ports/
DSkImageGenerator_skia.cpp25 const SkImageInfo bmi = bm->info(); in allocPixelRef() local
26 if (bmi.width() != fInfo.width() || bmi.height() != fInfo.height() || in allocPixelRef()
27 bmi.colorType() != fInfo.colorType()) in allocPixelRef()
31 return bm->installPixels(bmi, fMemory, fRowBytes, ctable, NULL, NULL); in allocPixelRef()
/external/skia/src/views/win/
DSkOSWindow_win.cpp187 BITMAPINFO bmi; in doPaint() local
188 memset(&bmi, 0, sizeof(bmi)); in doPaint()
189 bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in doPaint()
190 bmi.bmiHeader.biWidth = bitmap.width(); in doPaint()
191 bmi.bmiHeader.biHeight = -bitmap.height(); // top-down image in doPaint()
192 bmi.bmiHeader.biPlanes = 1; in doPaint()
193 bmi.bmiHeader.biBitCount = 32; in doPaint()
194 bmi.bmiHeader.biCompression = BI_RGB; in doPaint()
195 bmi.bmiHeader.biSizeImage = 0; in doPaint()
214 &bmi, in doPaint()
/external/pdfium/samples/
Dpdfium_test.cc218 BITMAPINFO bmi = {0}; in WriteBmp() local
219 bmi.bmiHeader.biSize = sizeof(bmi) - sizeof(RGBQUAD); in WriteBmp()
220 bmi.bmiHeader.biWidth = width; in WriteBmp()
221 bmi.bmiHeader.biHeight = -height; // top-down image in WriteBmp()
222 bmi.bmiHeader.biPlanes = 1; in WriteBmp()
223 bmi.bmiHeader.biBitCount = 32; in WriteBmp()
224 bmi.bmiHeader.biCompression = BI_RGB; in WriteBmp()
225 bmi.bmiHeader.biSizeImage = 0; in WriteBmp()
229 file_header.bfSize = sizeof(file_header) + bmi.bmiHeader.biSize + out_len; in WriteBmp()
233 fwrite(&bmi, bmi.bmiHeader.biSize, 1, fp); in WriteBmp()
/external/valgrind/none/tests/amd64/
Dbmi.vgtest1 prog: bmi
2 prereq: test -x bmi && ../../../tests/x86_amd64_features amd64-avx
DMakefile.am29 bmi.stderr.exp bmi.stdout.exp bmi.vgtest \
131 check_PROGRAMS += bmi program
/external/pdfium/core/src/fxge/win32/
Dfx_win32_device.cpp555 } bmi; in GDI_StretchBitMask() local
556 FXSYS_memset32(&bmi.bmiHeader, 0, sizeof (BITMAPINFOHEADER)); in GDI_StretchBitMask()
557 bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in GDI_StretchBitMask()
558 bmi.bmiHeader.biBitCount = 1; in GDI_StretchBitMask()
559 bmi.bmiHeader.biCompression = BI_RGB; in GDI_StretchBitMask()
560 bmi.bmiHeader.biHeight = -height; in GDI_StretchBitMask()
561 bmi.bmiHeader.biPlanes = 1; in GDI_StretchBitMask()
562 bmi.bmiHeader.biWidth = width; in GDI_StretchBitMask()
566 bmi.bmiColors[0] = 0xffffff; in GDI_StretchBitMask()
567 bmi.bmiColors[1] = 0; in GDI_StretchBitMask()
[all …]
/external/skia/tests/
DReadPixelsTest.cpp214 static BitmapInit nextBMI(BitmapInit bmi) { in nextBMI() argument
215 int x = bmi; in nextBMI()
342 for (BitmapInit bmi = kFirstBitmapInit; bmi < kBitmapInitCnt; bmi = nextBMI(bmi)) { in DEF_GPUTEST() local
345 init_bitmap(&bmp, srcRect, bmi, in DEF_GPUTEST()
/external/libvpx/libvpx/vp8/encoder/
Drdopt.c698 b->bmi.as_mode = *best_mode; in rd_pick_intra4x4block()
753 mic->bmi[i].as_mode = best_mode; in rd_pick_intra4x4mby_modes()
996 this_mv->as_int = col ? d[-1].bmi.mv.as_int : left_block_mv(mic, i); in labels2mode()
999 this_mv->as_int = row ? d[-4].bmi.mv.as_int : above_block_mv(mic, i, mis); in labels2mode()
1012 left_mv.as_int = col ? d[-1].bmi.mv.as_int : in labels2mode()
1022 d->bmi.mv.as_int = this_mv->as_int; in labels2mode()
1024 x->partition_info->bmi[i].mode = m; in labels2mode()
1025 x->partition_info->bmi[i].mv.as_int = this_mv->as_int; in labels2mode()
1217 bsi->mvp.as_int = x->e_mbd.block[i-1].bmi.mv.as_int; in rd_check_segment()
1219 bsi->mvp.as_int = x->e_mbd.block[i-4].bmi.mv.as_int; in rd_check_segment()
[all …]
Dtemporal_filter.c193 bestsme = vp8_hex_search(x, b, d, &best_ref_mv1_full, &d->bmi.mv, in vp8_temporal_filter_find_matching_mb_c()
205 &d->bmi.mv, in vp8_temporal_filter_find_matching_mb_c()
291 mbd->block[0].bmi.mv.as_mv.row = 0; in vp8_temporal_filter_iterate_c()
292 mbd->block[0].bmi.mv.as_mv.col = 0; in vp8_temporal_filter_iterate_c()
329 mbd->block[0].bmi.mv.as_mv.row, in vp8_temporal_filter_iterate_c()
330 mbd->block[0].bmi.mv.as_mv.col, in vp8_temporal_filter_iterate_c()
Dfirstpass.c649 d->bmi.mv.as_mv.row = 0; in vp8_first_pass()
650 d->bmi.mv.as_mv.col = 0; in vp8_first_pass()
659 &d->bmi.mv.as_mv, lst_yv12, in vp8_first_pass()
674 d->bmi.mv.as_mv.row = tmp_mv.row; in vp8_first_pass()
675 d->bmi.mv.as_mv.col = tmp_mv.col; in vp8_first_pass()
715 d->bmi.mv.as_mv.row *= 8; in vp8_first_pass()
716 d->bmi.mv.as_mv.col *= 8; in vp8_first_pass()
718 vp8_set_mbmode_and_mvs(x, NEWMV, &d->bmi.mv); in vp8_first_pass()
720 sum_mvr += d->bmi.mv.as_mv.row; in vp8_first_pass()
721 sum_mvr_abs += abs(d->bmi.mv.as_mv.row); in vp8_first_pass()
[all …]
Dpickinter.c273 b->bmi.as_mode = *best_mode; in pick_intra4x4block()
318 mic->bmi[i].as_mode = best_mode; in pick_intra4x4mby_modes()
1142 d->bmi.mv.as_int = mvp_full.as_int; in vp8_pick_inter_mode()
1145 cpi->find_fractional_mv_step(x, b, d, &d->bmi.mv, &best_ref_mv, in vp8_pick_inter_mode()
1183 bestsme = vp8_hex_search(x, b, d, &mvp_full, &d->bmi.mv, in vp8_pick_inter_mode()
1187 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_pick_inter_mode()
1192 &d->bmi.mv, step_param, sadpb, &num00, in vp8_pick_inter_mode()
1195 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_pick_inter_mode()
1211 &d->bmi.mv, in vp8_pick_inter_mode()
1219 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_pick_inter_mode()
[all …]
/external/opencv/otherlibs/highgui/
Dimage.cpp211 BITMAPINFO* bmi = (BITMAPINFO*)buffer; in DrawToHDC() local
236 FillBitmapInfo( bmi, bmp_w, bmp_h, Bpp(), m_img->origin ); in DrawToHDC()
242 m_img->imageData, bmi, DIB_RGB_COLORS, SRCCOPY ); in DrawToHDC()
/external/llvm/test/MC/ARM/
Dthumb2-branches.s95 bmi.w #-256
100 @ CHECK: bmi.w #-256 @ encoding: [0x3f,0xf5,0x80,0xaf]
238 bmi.w #-256
243 @ CHECK: bmi.w #-256 @ encoding: [0x3f,0xf5,0x80,0xaf]

123