Home
last modified time | relevance | path

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

1234

/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.c961 union b_mode_info *bmi = &mi->bmi[0]; in vp8_post_proc_frame() local
962 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
970 bmi = &mi->bmi[8]; in vp8_post_proc_frame()
982 union b_mode_info *bmi = &mi->bmi[0]; in vp8_post_proc_frame() local
983 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
991 bmi = &mi->bmi[2]; in vp8_post_proc_frame()
1003 union b_mode_info *bmi = &mi->bmi[0]; in vp8_post_proc_frame() local
1004 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
1012 bmi = &mi->bmi[2]; in vp8_post_proc_frame()
1020 bmi = &mi->bmi[8]; in vp8_post_proc_frame()
[all …]
Dfindnearmv.h119 return (cur_mb->bmi + b - 1)->mv.as_int; in left_block_mv()
134 return (cur_mb->bmi + (b - 4))->mv.as_int; in above_block_mv()
145 return (cur_mb->bmi + b + 3)->as_mode; in left_block_mode()
159 return (cur_mb->bmi + b - 1)->as_mode; in left_block_mode()
173 return (cur_mb->bmi + b + 12)->as_mode; in above_block_mode()
187 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/webrtc/webrtc/modules/desktop_capture/
Ddesktop_frame_win.cc38 BITMAPINFO bmi = {}; in Create() local
39 bmi.bmiHeader.biHeight = -size.height(); in Create()
40 bmi.bmiHeader.biWidth = size.width(); in Create()
41 bmi.bmiHeader.biPlanes = 1; in Create()
42 bmi.bmiHeader.biBitCount = DesktopFrameWin::kBytesPerPixel * 8; in Create()
43 bmi.bmiHeader.biSize = sizeof(bmi.bmiHeader); in Create()
44 bmi.bmiHeader.biSizeImage = bytes_per_row * size.height(); in Create()
50 HBITMAP bitmap = CreateDIBSection(hdc, &bmi, DIB_RGB_COLORS, &data, in Create()
/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c71 union b_mode_info *bmi, in assign_overlap() argument
81 if (overlaps[i].bmi == NULL) in assign_overlap()
83 overlaps[i].bmi = bmi; in assign_overlap()
113 static void calculate_overlaps_mb(B_OVERLAP *b_overlaps, union b_mode_info *bmi, in calculate_overlaps_mb() argument
166 assign_overlap(b_ol_ul[row * 4 + col].overlaps, bmi, overlap); in calculate_overlaps_mb()
173 union b_mode_info *bmi, in vp8_calculate_overlaps() argument
188 new_row = row - bmi->mv.as_mv.row; in vp8_calculate_overlaps()
189 new_col = col - bmi->mv.as_mv.col; in vp8_calculate_overlaps()
234 calculate_overlaps_mb(mb_overlap->overlaps, bmi, in vp8_calculate_overlaps()
248 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/webrtc/webrtc/modules/desktop_capture/win/
Dcursor.cc142 BITMAPV5HEADER bmi = {0}; in CreateMouseCursorFromHCursor() local
143 bmi.bV5Size = sizeof(bmi); in CreateMouseCursorFromHCursor()
144 bmi.bV5Width = width; in CreateMouseCursorFromHCursor()
145 bmi.bV5Height = -height; // request a top-down bitmap. in CreateMouseCursorFromHCursor()
146 bmi.bV5Planes = 1; in CreateMouseCursorFromHCursor()
147 bmi.bV5BitCount = kBytesPerPixel * 8; in CreateMouseCursorFromHCursor()
148 bmi.bV5Compression = BI_RGB; in CreateMouseCursorFromHCursor()
149 bmi.bV5AlphaMask = 0xff000000; in CreateMouseCursorFromHCursor()
150 bmi.bV5CSType = LCS_WINDOWS_COLOR_SPACE; in CreateMouseCursorFromHCursor()
151 bmi.bV5Intent = LCS_GM_BUSINESS; in CreateMouseCursorFromHCursor()
[all …]
/external/ImageMagick/coders/
Dscreenshot.c117 bmi; in ReadSCREENSHOTImage() local
182 (void) ResetMagickMemory(&bmi,0,sizeof(BITMAPINFO)); in ReadSCREENSHOTImage()
183 bmi.bmiHeader.biSize=sizeof(BITMAPINFOHEADER); in ReadSCREENSHOTImage()
184 bmi.bmiHeader.biWidth=(LONG) screen->columns; in ReadSCREENSHOTImage()
185 bmi.bmiHeader.biHeight=(-1)*(LONG) screen->rows; in ReadSCREENSHOTImage()
186 bmi.bmiHeader.biPlanes=1; in ReadSCREENSHOTImage()
187 bmi.bmiHeader.biBitCount=24; in ReadSCREENSHOTImage()
188 bmi.bmiHeader.biCompression=BI_RGB; in ReadSCREENSHOTImage()
189 bitmap=CreateDIBSection(hDC,&bmi,DIB_RGB_COLORS,(void **) &p,NULL,0); in ReadSCREENSHOTImage()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c229 mi->bmi[i].as_mode = in read_intra_frame_mode_info()
231 mbmi->mode = mi->bmi[3].as_mode; in read_intra_frame_mode_info()
234 mi->bmi[0].as_mode = mi->bmi[2].as_mode = in read_intra_frame_mode_info()
236 mi->bmi[1].as_mode = mi->bmi[3].as_mode = mbmi->mode = in read_intra_frame_mode_info()
240 mi->bmi[0].as_mode = mi->bmi[1].as_mode = in read_intra_frame_mode_info()
242 mi->bmi[2].as_mode = mi->bmi[3].as_mode = mbmi->mode = in read_intra_frame_mode_info()
394 mi->bmi[i].as_mode = read_intra_mode_y(cm, xd, r, 0); in read_intra_block_mode_info()
395 mbmi->mode = mi->bmi[3].as_mode; in read_intra_block_mode_info()
398 mi->bmi[0].as_mode = mi->bmi[2].as_mode = read_intra_mode_y(cm, xd, in read_intra_block_mode_info()
400 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-linux-gnux32 | FileCheck %s -check-prefix=X86-64
3 ; RUN: llc < %s -mattr=-bmi -mtriple=x86_64-win32 | FileCheck %s -check-prefix=WIN64
4 ; 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/pdfium/samples/
Dpdfium_test.cc152 BITMAPINFO bmi = {}; in WriteBmp() local
153 bmi.bmiHeader.biSize = sizeof(bmi) - sizeof(RGBQUAD); in WriteBmp()
154 bmi.bmiHeader.biWidth = width; in WriteBmp()
155 bmi.bmiHeader.biHeight = -height; // top-down image in WriteBmp()
156 bmi.bmiHeader.biPlanes = 1; in WriteBmp()
157 bmi.bmiHeader.biBitCount = 32; in WriteBmp()
158 bmi.bmiHeader.biCompression = BI_RGB; in WriteBmp()
159 bmi.bmiHeader.biSizeImage = 0; in WriteBmp()
163 file_header.bfSize = sizeof(file_header) + bmi.bmiHeader.biSize + out_len; in WriteBmp()
167 fwrite(&bmi, bmi.bmiHeader.biSize, 1, fp); in WriteBmp()
/external/skia/src/views/win/
DSkOSWindow_win.cpp200 BITMAPINFO bmi; in doPaint() local
201 memset(&bmi, 0, sizeof(bmi)); in doPaint()
202 bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in doPaint()
203 bmi.bmiHeader.biWidth = bitmap.width(); in doPaint()
204 bmi.bmiHeader.biHeight = -bitmap.height(); // top-down image in doPaint()
205 bmi.bmiHeader.biPlanes = 1; in doPaint()
206 bmi.bmiHeader.biBitCount = 32; in doPaint()
207 bmi.bmiHeader.biCompression = BI_RGB; in doPaint()
208 bmi.bmiHeader.biSizeImage = 0; in doPaint()
227 &bmi, in doPaint()
/external/pdfium/xfa/src/fdp/src/fde/
Dfde_gdidevice.cpp27 BITMAPINFO bmi; in CFDE_GdiDevice() local
28 FXSYS_memset(&bmi, 0, sizeof(BITMAPINFOHEADER)); in CFDE_GdiDevice()
29 bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in CFDE_GdiDevice()
30 bmi.bmiHeader.biWidth = pBitmap->GetWidth(); in CFDE_GdiDevice()
31 bmi.bmiHeader.biHeight = -pBitmap->GetHeight(); in CFDE_GdiDevice()
32 bmi.bmiHeader.biPlanes = 1; in CFDE_GdiDevice()
33 bmi.bmiHeader.biBitCount = pBitmap->GetBPP(); in CFDE_GdiDevice()
34 m_pBitmap = Gdiplus::Bitmap::FromBITMAPINFO(&bmi, pBitmap->GetBuffer()); in CFDE_GdiDevice()
131 BITMAPINFO bmi; in DrawImage() local
132 FXSYS_memset(&bmi, 0, sizeof(BITMAPINFOHEADER)); in DrawImage()
[all …]
/external/valgrind/none/tests/amd64/
Dbmi.vgtest1 prog: bmi
2 prereq: test -x bmi && ../../../tests/x86_amd64_features amd64-avx
/external/skia/tests/
DReadPixelsTest.cpp238 static BitmapInit nextBMI(BitmapInit bmi) { in nextBMI() argument
239 int x = bmi; in nextBMI()
333 for (BitmapInit bmi = kFirstBitmapInit; bmi <= lastBitmapInit; bmi = nextBMI(bmi)) { in test_readpixels() local
336 init_bitmap(&bmp, srcRect, bmi, in test_readpixels()
412 for (BitmapInit bmi = kFirstBitmapInit; bmi <= kLast_BitmapInit; bmi = nextBMI(bmi)) { in test_readpixels_texture() local
415 init_bitmap(&bmp, srcRect, bmi, in test_readpixels_texture()
/external/webrtc/webrtc/examples/peerconnection/client/
Dmain_wnd.cc234 const BITMAPINFO& bmi = remote_renderer->bmi(); in OnPaint() local
235 int height = abs(bmi.bmiHeader.biHeight); in OnPaint()
236 int width = bmi.bmiHeader.biWidth; in OnPaint()
266 0, 0, width, height, image, &bmi, DIB_RGB_COLORS, SRCCOPY); in OnPaint()
269 const BITMAPINFO& bmi = local_renderer->bmi(); in OnPaint() local
271 int thumb_width = bmi.bmiHeader.biWidth / 4; in OnPaint()
272 int thumb_height = abs(bmi.bmiHeader.biHeight) / 4; in OnPaint()
277 0, 0, bmi.bmiHeader.biWidth, -bmi.bmiHeader.biHeight, in OnPaint()
278 image, &bmi, DIB_RGB_COLORS, SRCCOPY); in OnPaint()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_device.cpp632 } bmi; in GDI_StretchBitMask() local
633 FXSYS_memset(&bmi.bmiHeader, 0, sizeof(BITMAPINFOHEADER)); in GDI_StretchBitMask()
634 bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in GDI_StretchBitMask()
635 bmi.bmiHeader.biBitCount = 1; in GDI_StretchBitMask()
636 bmi.bmiHeader.biCompression = BI_RGB; in GDI_StretchBitMask()
637 bmi.bmiHeader.biHeight = -height; in GDI_StretchBitMask()
638 bmi.bmiHeader.biPlanes = 1; in GDI_StretchBitMask()
639 bmi.bmiHeader.biWidth = width; in GDI_StretchBitMask()
643 bmi.bmiColors[0] = 0xffffff; in GDI_StretchBitMask()
644 bmi.bmiColors[1] = 0; in GDI_StretchBitMask()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Drdopt.c699 b->bmi.as_mode = *best_mode; in rd_pick_intra4x4block()
754 mic->bmi[i].as_mode = best_mode; in rd_pick_intra4x4mby_modes()
997 this_mv->as_int = col ? d[-1].bmi.mv.as_int : left_block_mv(mic, i); in labels2mode()
1000 this_mv->as_int = row ? d[-4].bmi.mv.as_int : above_block_mv(mic, i, mis); in labels2mode()
1013 left_mv.as_int = col ? d[-1].bmi.mv.as_int : in labels2mode()
1023 d->bmi.mv.as_int = this_mv->as_int; in labels2mode()
1025 x->partition_info->bmi[i].mode = m; in labels2mode()
1026 x->partition_info->bmi[i].mv.as_int = this_mv->as_int; in labels2mode()
1218 bsi->mvp.as_int = x->e_mbd.block[i-1].bmi.mv.as_int; in rd_check_segment()
1220 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()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
DbtDbvt.h601 __m128 bmi(_mm_load_ps(b.mi)); in Select()
602 bmi=_mm_add_ps(bmi,_mm_load_ps(b.mx)); in Select()
603 bmi=_mm_sub_ps(bmi,omi); in Select()
604 bmi=_mm_and_ps(bmi,_mm_load_ps((const float*)mask)); in Select()
608 __m128 t1(_mm_movehl_ps(bmi,bmi)); in Select()
609 bmi=_mm_add_ps(bmi,t1); in Select()
610 bmi=_mm_add_ss(bmi,_mm_shuffle_ps(bmi,bmi,1)); in Select()
613 tmp.ssereg = _mm_cmple_ss(bmi,ami); in Select()
660 __m128 bmi(_mm_load_ps(b.mi)); in Merge()
662 ami=_mm_min_ps(ami,bmi); in Merge()

1234