Home
last modified time | relevance | path

Searched refs:MultHi (Results 1 – 5 of 5) sorted by relevance

/external/webp/src/dsp/
Dyuv_mips32.c31 temp1 = MultHi(v[0], 26149); \
32 temp3 = MultHi(v[0], 13320); \
33 temp2 = MultHi(u[0], 6419); \
34 temp4 = MultHi(u[0], 33050); \
35 temp0 = MultHi(y[0], 19077); \
43 temp0 = MultHi(y[1], 19077); \
61 temp1 = MultHi(v[0], 26149); \
62 temp3 = MultHi(v[0], 13320); \
63 temp2 = MultHi(u[0], 6419); \
64 temp4 = MultHi(u[0], 33050); \
[all …]
Dyuv.h59 static WEBP_INLINE int MultHi(int v, int coeff) { // _mm_mulhi_epu16 emulation in MultHi() function
68 return VP8Clip8(MultHi(y, 19077) + MultHi(v, 26149) - 14234); in VP8YUVToR()
72 return VP8Clip8(MultHi(y, 19077) - MultHi(u, 6419) - MultHi(v, 13320) + 8708); in VP8YUVToG()
76 return VP8Clip8(MultHi(y, 19077) + MultHi(u, 33050) - 17685); in VP8YUVToB()
Dupsampling_msa.c248 const int y1 = MultHi(y, 19077); in YuvToRgb()
249 const int r1 = y1 + MultHi(v, 26149) - 14234; in YuvToRgb()
250 const int g1 = y1 - MultHi(u, 6419) - MultHi(v, 13320) + 8708; in YuvToRgb()
251 const int b1 = y1 + MultHi(u, 33050) - 17685; in YuvToRgb()
258 const int y1 = MultHi(y, 19077); in YuvToBgr()
259 const int r1 = y1 + MultHi(v, 26149) - 14234; in YuvToBgr()
260 const int g1 = y1 - MultHi(u, 6419) - MultHi(v, 13320) + 8708; in YuvToBgr()
261 const int b1 = y1 + MultHi(u, 33050) - 17685; in YuvToBgr()
269 const int y1 = MultHi(y, 19077); in YuvToRgb565()
270 const int r1 = y1 + MultHi(v, 26149) - 14234; in YuvToRgb565()
[all …]
Dupsampling_mips_dsp_r2.c23 const int t1 = MultHi(Y, 19077); \
24 const int t2 = MultHi(V, 13320); \
25 R = MultHi(V, 26149); \
26 G = MultHi(U, 6419); \
27 B = MultHi(U, 33050); \
/external/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp400 SDValue MultHi = ADDENode->getOperand(0); in selectMADD() local
402 SDNode *MultNode = MultHi.getNode(); in selectMADD()
403 unsigned MultOpc = MultHi.getOpcode(); in selectMADD()
415 if (MultHi.getResNo() != 1 || MultLo.getResNo() != 0) in selectMADD()
425 if (!MultHi.hasOneUse() || !MultLo.hasOneUse()) in selectMADD()
472 SDValue MultHi = SUBENode->getOperand(1); in selectMSUB() local
474 SDNode *MultNode = MultHi.getNode(); in selectMSUB()
475 unsigned MultOpc = MultHi.getOpcode(); in selectMSUB()
487 if (MultHi.getResNo() != 1 || MultLo.getResNo() != 0) in selectMSUB()
497 if (!MultHi.hasOneUse() || !MultLo.hasOneUse()) in selectMSUB()