Home
last modified time | relevance | path

Searched refs:sdr (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DYuvImage.java273 public boolean compressToJpegR(@NonNull YuvImage sdr, int quality, in compressToJpegR() argument
276 return compressToJpegR(sdr, quality, stream, emptyExif); in compressToJpegR()
305 public boolean compressToJpegR(@NonNull YuvImage sdr, int quality, in compressToJpegR() argument
307 if (sdr == null) { in compressToJpegR()
311 if (mData.length == 0 || sdr.getYuvData().length == 0) { in compressToJpegR()
315 if (mFormat != ImageFormat.YCBCR_P010 || sdr.getYuvFormat() != ImageFormat.YUV_420_888) { in compressToJpegR()
320 if (sdr.getWidth() != mWidth || sdr.getHeight() != mHeight) { in compressToJpegR()
333 !isSupportedJpegRColorSpace(false, sdr.getColorSpace().getId())) { in compressToJpegR()
340 sdr.getYuvData(), sdr.getColorSpace().getDataSpace(), in compressToJpegR()
343 mStrides, sdr.getStrides()); in compressToJpegR()
[all …]
/frameworks/base/libs/hwui/jni/
DYuvToJpegEncoder.cpp335 SkWStream* stream, void* hdr, int hdrColorSpace, void* sdr, int sdrColorSpace, in encode() argument
384 yuv420.data = sdr; in encode()
449 jbyte* sdr = env->GetByteArrayElements(inSdr, NULL); in YuvImage_compressToJpegR() local
458 if (encoder.encode(env, strm, hdr, hdrColorSpace, sdr, sdrColorSpace, in YuvImage_compressToJpegR()
465 env->ReleaseByteArrayElements(inSdr, sdr, 0); in YuvImage_compressToJpegR()
DYuvToJpegEncoder.h100 SkWStream* stream, void* hdr, int hdrColorSpace, void* sdr, int sdrColorSpace,
/frameworks/base/core/jni/
Dandroid_os_HwRemoteBinder.cpp398 sp<hardware::IBinder::DeathRecipient> sdr = dr.promote(); in JHwRemoteBinder_unlinkToDeath() local
399 HwBinderDeathRecipient* jdr = static_cast<HwBinderDeathRecipient*>(sdr.get()); in JHwRemoteBinder_unlinkToDeath()
Dcom_google_android_gles_jni_EGLImpl.cpp408 EGLSurface sdr = getSurface(_env, draw); in jni_eglMakeCurrent() local
411 return EglBoolToJBool(eglMakeCurrent(dpy, sdr, srd, ctx)); in jni_eglMakeCurrent()
Dandroid_util_Binder.cpp1480 sp<IBinder::DeathRecipient> sdr = dr.promote(); in android_os_BinderProxy_unlinkToDeath() local
1481 JavaDeathRecipient* jdr = static_cast<JavaDeathRecipient*>(sdr.get()); in android_os_BinderProxy_unlinkToDeath()