Searched refs:dstFmt (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/awt/org/apache/harmony/awt/gl/color/
H A DColorConverter.java181 NativeImageFormat dstFmt = NativeImageFormat.createNativeImageFormat(dst);
183 if (srcFmt != null && dstFmt != null) {
184 t.translateColors(srcFmt, dstFmt);
211 NativeImageFormat dstFmt = createImageFormat(t, dst, srcFmt.getNumCols(), false);
213 t.translateColors(srcFmt, dstFmt);
215 return (short[]) dstFmt.getChannelData();
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java291 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, Element dstFmt, boolean genMips) argument
297 int id = rs.nAllocationCreateFromBitmap(dstFmt.mID, genMips, b);
320 static Allocation createFromBitmapBoxed(RenderScript rs, Bitmap b, Element dstFmt, boolean genMips) argument
324 int id = rs.nAllocationCreateFromBitmapBoxed(dstFmt.mID, genMips, b);
331 static public Allocation createFromBitmapResource(RenderScript rs, Resources res, int id, Element dstFmt, boolean genMips) argument
341 int allocationId = rs.nAllocationCreateFromAssetStream(dstFmt.mID, genMips,
363 static public Allocation createFromBitmapResourceBoxed(RenderScript rs, Resources res, int id, Element dstFmt, boolean genMips) argument
367 return createFromBitmapBoxed(rs, b, dstFmt, genMips);
H A DRenderScript.java100 native int nAllocationCreateFromBitmap(int dstFmt, boolean genMips, Bitmap bmp); argument
102 native int nAllocationCreateFromBitmapBoxed(int dstFmt, boolean genMips, Bitmap bmp); argument
103 native int nAllocationCreateFromAssetStream(int dstFmt, boolean genMips, int assetStream); argument
/frameworks/base/libs/rs/
H A Drs.spec109 param RsElement dstFmt
119 param RsElement dstFmt
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp483 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, jint dstFmt, jboolean genMips, jobject jbitmap) argument
497 jint id = (jint)rsAllocationCreateFromBitmap(con, w, h, (RsElement)dstFmt, e, genMips, ptr);
525 nAllocationCreateFromAssetStream(JNIEnv *_env, jobject _this, jint dstFmt, jboolean genMips, jint native_asset) argument
543 jint id = (jint)rsAllocationCreateFromBitmap(con, w, h, (RsElement)dstFmt, e, genMips, ptr);
551 nAllocationCreateFromBitmapBoxed(JNIEnv *_env, jobject _this, jint dstFmt, jboolean genMips, jobject jbitmap) argument
566 jint id = (jint)rsAllocationCreateFromBitmapBoxed(con, w, h, (RsElement)dstFmt, e, genMips, ptr);

Completed in 86 milliseconds