Searched refs:MIN1 (Results 1 – 7 of 7) sorted by relevance
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | scale.cc | 674 #define MIN1(x) ((x) < 1 ? 1 : (x)) macro 706 scaletbl[0] = 65536 / (MIN1(minboxwidth) * boxheight); in ScaleAddCols2_C() 707 scaletbl[1] = 65536 / (MIN1(minboxwidth + 1) * boxheight); in ScaleAddCols2_C() 711 boxwidth = MIN1((x >> 16) - ix); in ScaleAddCols2_C() 728 scaletbl[0] = 65536 / (MIN1(minboxwidth) * boxheight); in ScaleAddCols2_16_C() 729 scaletbl[1] = 65536 / (MIN1(minboxwidth + 1) * boxheight); in ScaleAddCols2_16_C() 733 boxwidth = MIN1((x >> 16) - ix); in ScaleAddCols2_16_C() 761 int boxwidth = MIN1(dx >> 16); in ScaleAddCols1_C() 777 int boxwidth = MIN1(dx >> 16); in ScaleAddCols1_16_C() 861 boxheight = MIN1((y >> 16) - iy); in ScalePlaneBox() [all …]
|
/external/libaom/libaom/third_party/libyuv/source/ |
D | scale.cc | 635 #define MIN1(x) ((x) < 1 ? 1 : (x)) macro 664 scaletbl[0] = 65536 / (MIN1(minboxwidth) * boxheight); in ScaleAddCols2_C() 665 scaletbl[1] = 65536 / (MIN1(minboxwidth + 1) * boxheight); in ScaleAddCols2_C() 669 boxwidth = MIN1((x >> 16) - ix); in ScaleAddCols2_C() 681 scaletbl[0] = 65536 / (MIN1(minboxwidth) * boxheight); in ScaleAddCols2_16_C() 682 scaletbl[1] = 65536 / (MIN1(minboxwidth + 1) * boxheight); in ScaleAddCols2_16_C() 686 boxwidth = MIN1((x >> 16) - ix); in ScaleAddCols2_16_C() 704 int boxwidth = MIN1(dx >> 16); in ScaleAddCols1_C() 716 int boxwidth = MIN1(dx >> 16); in ScaleAddCols1_16_C() 788 boxheight = MIN1((y >> 16) - iy); in ScalePlaneBox() [all …]
|
/external/libyuv/files/source/ |
D | scale.cc | 736 #define MIN1(x) ((x) < 1 ? 1 : (x)) macro 768 scaletbl[0] = 65536 / (MIN1(minboxwidth) * boxheight); in ScaleAddCols2_C() 769 scaletbl[1] = 65536 / (MIN1(minboxwidth + 1) * boxheight); in ScaleAddCols2_C() 773 boxwidth = MIN1((x >> 16) - ix); in ScaleAddCols2_C() 790 scaletbl[0] = 65536 / (MIN1(minboxwidth) * boxheight); in ScaleAddCols2_16_C() 791 scaletbl[1] = 65536 / (MIN1(minboxwidth + 1) * boxheight); in ScaleAddCols2_16_C() 795 boxwidth = MIN1((x >> 16) - ix); in ScaleAddCols2_16_C() 822 int boxwidth = MIN1(dx >> 16); in ScaleAddCols1_C() 838 int boxwidth = MIN1(dx >> 16); in ScaleAddCols1_16_C() 930 boxheight = MIN1((y >> 16) - iy); in ScalePlaneBox() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SLPVectorizer/AMDGPU/ |
D | reduction.ll | 308 ; VI-NEXT: [[MIN1:%.*]] = select i1 [[CMP1]], i16 [[ELT1]], i16 [[ELT0]] 309 ; VI-NEXT: [[CMP2:%.*]] = icmp ult i16 [[ELT2]], [[MIN1]] 310 ; VI-NEXT: [[MIN2:%.*]] = select i1 [[CMP2]], i16 [[ELT2]], i16 [[MIN1]] 357 ; VI-NEXT: [[MIN1:%.*]] = select i1 [[CMP0]], i16 [[ELT1]], i16 [[ELT0]] 358 ; VI-NEXT: [[CMP1:%.*]] = icmp ult i16 [[ELT2]], [[MIN1]] 359 ; VI-NEXT: [[MIN2:%.*]] = select i1 [[CMP1]], i16 [[ELT2]], i16 [[MIN1]] 439 ; VI-NEXT: [[MIN1:%.*]] = select i1 [[CMP0]], i16 [[ELT1]], i16 [[ELT0]] 440 ; VI-NEXT: [[CMP1:%.*]] = icmp slt i16 [[ELT2]], [[MIN1]] 441 ; VI-NEXT: [[MIN2:%.*]] = select i1 [[CMP1]], i16 [[ELT2]], i16 [[MIN1]] 675 ; VI-NEXT: [[MIN1:%.*]] = select i1 [[CMP1]], half [[ELT1]], half [[ELT0]] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | clamp-to-minmax.ll | 508 ; CHECK-NEXT: [[MIN1:%.*]] = select i1 [[TMP1]], i32 [[X]], i32 255 509 ; CHECK-NEXT: [[TMP2:%.*]] = uitofp i32 [[MIN1]] to float 525 ; CHECK-NEXT: [[MIN1:%.*]] = select i1 [[TMP1]], i64 [[X]], i64 255 526 ; CHECK-NEXT: [[TMP2:%.*]] = uitofp i64 [[MIN1]] to float
|
D | minmax-fold.ll | 894 ; CHECK-NEXT: [[MIN1:%.*]] = select i1 [[CMP1_INV]], float 1.000000e+00, float [[X]] 898 ; CHECK-NEXT: [[R:%.*]] = select i1 [[CMP3]], float [[MIN1]], float [[MIN2]]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/ |
D | reduction.ll | 150 ; GFX9: v_pk_min_u16 [[MIN1:v[0-9]+]], v{{[0-9]+}}, v{{[0-9]+}}{{$}} 152 ; GFX9-NEXT: v_pk_min_u16 [[MIN3:v[0-9]+]], [[MIN2]], [[MIN1]]{{$}}
|