Home
last modified time | relevance | path

Searched refs:g2 (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DImageUtils.java219 Graphics2D g2 = scaled.createGraphics(); in scale() local
220 g2.setComposite(AlphaComposite.Src); in scale()
221 g2.setColor(new Color(0, true)); in scale()
222 g2.fillRect(0, 0, destWidth, destHeight); in scale()
224 g2.drawImage(source, 0, 0, null); in scale()
226 setRenderingHints(g2); in scale()
227 g2.drawImage(source, 0, 0, destWidth, destHeight, 0, 0, sourceWidth, sourceHeight, in scale()
230 g2.dispose(); in scale()
269 Graphics2D g2 = scaled.createGraphics(); in scale() local
270 setRenderingHints(g2); in scale()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dquantize.c335 Word32 g2 = (g << 1) + 1; in calcSfbDist() local
344 if(g2 < 0 && g >= 0) in calcSfbDist()
346 g2 = -g2; in calcSfbDist()
359 distSingle = (saShft * saShft) >> g2; in calcSfbDist()
365 distSingle = (diff * diff) >> g2; in calcSfbDist()
371 distSingle = (diff * diff) >> g2; in calcSfbDist()
377 distSingle = (diff * diff) >> g2; in calcSfbDist()
408 distSingle = L_shl((saShft * saShft), g2); in calcSfbDist()
414 distSingle = L_shl((diff * diff), g2); in calcSfbDist()
420 distSingle = L_shl((diff * diff), g2); in calcSfbDist()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
DarmVCM4P10_TransformResidual4x4_s.s113 g2 RN 12 label
310 … SHADD16 g2, trCol10,constZero ;// (f1>>1) constZero is a register holding 0
312 SSUB16 g2, g2, trCol30
315 SADD16 colOp10, g1, g2
316 SSUB16 colOp20, g1, g2
323 … SHADD16 g2, trCol12,constZero ;// (f1>>1) constZero is a register holding 0
325 SSUB16 g2, g2, trCol32
328 SADD16 colOp12, g1, g2
329 SSUB16 colOp22, g1, g2
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp172 signed g2 = (tmp2 + v_g + u_g) / 256; in convertCbYCrY() local
182 | ((kAdjustedClip[g2] >> 2) << 5) in convertCbYCrY()
260 signed g2 = (tmp2 + v_g + u_g) / 256; in convertYUV420Planar() local
270 | ((kAdjustedClip[g2] >> 2) << 5) in convertYUV420Planar()
333 signed g2 = (tmp2 + v_g + u_g) / 256; in convertQCOMYUV420SemiPlanar() local
343 | ((kAdjustedClip[g2] >> 2) << 5) in convertQCOMYUV420SemiPlanar()
407 signed g2 = (tmp2 + v_g + u_g) / 256; in convertYUV420SemiPlanar() local
417 | ((kAdjustedClip[g2] >> 2) << 5) in convertYUV420SemiPlanar()
477 signed g2 = (tmp2 + v_g + u_g) / 256; in convertTIYUV420PackedSemiPlanar() local
487 | ((kAdjustedClip[g2] >> 2) << 5) in convertTIYUV420PackedSemiPlanar()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
DarmVCM4P10_FwdTransformResidual4x4.c82 int g2 = f1 + f2; in armVCM4P10_FwdTransformResidual4x4() local
84 int h0 = g0 + g2; in armVCM4P10_FwdTransformResidual4x4()
86 int h2 = g0 - g2; in armVCM4P10_FwdTransformResidual4x4()
DarmVCM4P10_TransformResidual4x4.c83 int g2 = (f1>>1) - f3; in armVCM4P10_TransformResidual4x4() local
86 int h1 = g1 + g2; in armVCM4P10_TransformResidual4x4()
87 int h2 = g1 - g2; in armVCM4P10_TransformResidual4x4()
/frameworks/native/opengl/libagl/
Ddxt.cpp251 int r2, g2, b2, r3, g3, b3, a3; in decodeDXT1() local
260 g2 = avg23(g0, g1); in decodeDXT1()
269 g2 = (g0 + g1) >> 1; in decodeDXT1()
275 c[2] = (r2 << 11) | ((g2 >> 1) << 6) | in decodeDXT1()
280 c[2] = (r2 << 11) | (g2 << 5) | b2; in decodeDXT1()
374 int g2 = avg23(g0, g1); in decodeDXT3() local
383 c[2] = rgb565SepTo888(r2, g2, b2); in decodeDXT3()
531 int g2 = avg23(g0, g1); in decodeDXT5() local
540 c[2] = rgb565SepTo888(r2, g2, b2); in decodeDXT5()
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp203 int r1, r2, g1, g2, b1, b2; in etc1_decode_block() local
212 g2 = convertDiff(gBase, high >> 16); in etc1_decode_block()
220 g2 = convert4To8(high >> 16); in etc1_decode_block()
230 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped); in etc1_decode_block()
379 int r1, g1, b1, r2, g2, b2; // 8 bit base colors for sub-blocks in etc_encodeBaseColors() local
401 g2 = convert5To8(g51 + dg); in etc_encodeBaseColors()
419 g2 = convert4To8(g42); in etc_encodeBaseColors()
428 pBaseColors[4] = g2; in etc_encodeBaseColors()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DShadowPainter.java85 Graphics2D g2 = image.createGraphics(); in createDropShadow() local
86 g2.drawImage(image, shadowSize, shadowSize, null); in createDropShadow()
168 g2.drawImage(source, null, 0, 0); in createDropShadow()
169 g2.dispose(); in createDropShadow()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp378 __m128 pf, g0, g1, g2, g3, gx, p0, p1; in rsdIntrinsicBlurHFU1_K() local
398 g2 = _mm_shuffle_ps(gx, gx, _MM_SHUFFLE(2, 2, 2, 2)); in rsdIntrinsicBlurHFU1_K()
399 pf = _mm_add_ps(pf, _mm_mul_ps(g2, _mm_alignr_epi8(p1, p0, 8))); in rsdIntrinsicBlurHFU1_K()
/frameworks/base/media/tests/contents/media_api/music/
Dtest_amr_ietf.amr288 D�g2h����Q8��Aj�܏�p<�t�z�B
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...