renderscript Questions
2
Solved
Lots of questions have been made about camera2 api and RAW image format, but searching online I have still not found the answer (that's why I am here btw).
I am trying to do some real-time image pr...
Sforza asked 20/6, 2017 at 12:17
20
Solved
Currently in an Android application that I'm developing I'm looping through the pixels of an image to blur it. This takes about 30 seconds on a 640x480 image.
While browsing apps in the Android M...
Reduplicative asked 14/1, 2010 at 22:14
4
My Problem is: I've set up a camera in Android and receive the preview data by using an onPreviewFrame-listener which passes me an byte[] array containing the image data in the default android YUV-...
Cloudcapped asked 22/11, 2012 at 9:22
1
I'm getting the following crash from renderscript on android:
100% of the crashes are on android 11 and 96% of the crashes are on Samsung devices. I removed all instances of renderscript, but this...
Gumbotil asked 10/8, 2021 at 14:3
8
Solved
Since I've migrated to androidx I can't make Renderscript run. I'm getting following exception:
2018-10-12 16:27:58.328 27195-27195/pl.qus.xenoamp2 A/zygote64:
java_vm_ext.cc:504] JNI DETECTED ...
Tanberg asked 12/10, 2018 at 14:35
0
I have recently stumbled upon this stackoverflow post
Rotating YUV image data for Portrait Mode Using RenderScript
I am trying to do the same thing, to rotate the image, crop it and convert it to a...
Kunkel asked 5/5, 2021 at 14:20
2
What I've tried so far:
Convert every frame into bitmap, blur it with library and put it into ImageView which is in front of camera preview. Obviously was too slow - something like 1 fps.
The...
Snowberry asked 20/10, 2017 at 14:48
1
for a video image processing project, I have to rotate the incoming YUV image data so that the data is not shown horizontally but vertically.
I used this project which gave me a tremendous insight ...
Nonpartisan asked 4/9, 2019 at 18:50
2
Solved
I've updated to MacOS Catalina. This morning while I was working on my Android project, it suddenly started giving the following exception: "ERROR: Cause: error=86, Bad CPU type in executable".
I...
Niello asked 14/10, 2019 at 8:42
2
Solved
I am using Blurry when I do ProGuard it gives me:
Error loading RS jni library: java.lang.UnsatisfiedLinkError:
android.support.v8.renderscript.l: Error loading RS jni library: java.lang.Unsatis...
Overscrupulous asked 5/2, 2016 at 9:57
0
Context
I have an Android app that takes a picture, blurs the picture, removes the blur based on a mask and applies a final layer (not relevant). The last 2 steps, removing the blur based on a mas...
Us asked 2/10, 2019 at 15:25
1
Based on the discussion I had at Camera2 api Imageformat.yuv_420_888 results on rotated image, I wanted to know how to adjust the lookup done via rsGetElementAt_uchar methods so that the YUV data i...
Miniaturist asked 30/8, 2019 at 10:20
1
Solved
I'm planning to migrate from ABI split to App Bundle feature. Currently I'm using this code:
def versionCodesAbi = ['x86': 1, 'x86_64': 2, 'armeabi-v7a': 3, 'arm64-v8a': 4]
splits {
abi {
enab...
Ratcliffe asked 11/2, 2019 at 9:12
8
Solved
For plattform independence (desktop, cloud, mobile, ...) it would be great to use OpenCL for GPGPU development when speed does matter. I know Google pushes RenderScript as an alternative, but it se...
Oeo asked 25/1, 2012 at 15:33
1
Solved
I'm using Android DS-Photo-Editor-SDK v1.5 ("ds-photo-editor-sdk-v6.aar") and androidx in my project.
I get the following error when opening the editor filters:
2018-10-26 19:36:27.949 16826-16898...
Hards asked 26/10, 2018 at 17:42
5
Solved
I have byte[] yuvByteArray (540x360 image captured from Camera.PreviewCallback.onPreviewFrame method and dumped into assets/yuv.bin file). I want to convert byte[] yuv to byte[] rgba array, using t...
Vulgarize asked 3/12, 2013 at 18:25
2
Solved
I'm working with the Camera2 API and I'm using Renderscript to perform some image processing. Everything works as expected on a range of devices(Nexus 5/5x, Pixel, Pixel 2, S8+, Note 8) except for ...
Bertold asked 3/4, 2018 at 9:59
1
Solved
We are using renderscript for audio dsp processing. It is simple and improves performance significantly for our use-case. But we run into an annoying issue with USAGE_SHARED on devices that have cu...
Siloam asked 27/5, 2018 at 4:20
0
I'm using renderscript for audio dsp processing. It works well until I decided to bump up renderscriptTargetApi version from 19 to 24 in an attempt to make use of newer renderscript APIs in a backw...
Wizen asked 31/5, 2018 at 15:11
3
Recently, I found render script is a better choice for image processing on Android. The performance is wonderful. But there are not many documents on it. I am wondering if I can merge multiple phot...
Notebook asked 26/12, 2013 at 11:13
1
I'm trying to use Android's RenderScript to render a semi-transparent circle behind an image, but things go very wrong when returning a value from the RenderScript kernel.
This is my kernel:
#pra...
Accipiter asked 30/8, 2017 at 7:10
1
Latest Android SDK (R22) has removed android.renderscript.RSSurfaceView and android.renderscript.RenderScriptGL classes. How can we use RenderScript dirrectly on SurfaceView or regular Android View...
Nyctalopia asked 11/10, 2013 at 10:8
1
Solved
I write below code to convert NV12 yuv to RGB but the color is not correct.
yuv2rgb.rs
#pragma version(1)
#pragma rs java_package_name(com.example.myexam)
#pragma rs_fp_relaxed
rs_allocation gYUV...
Nirvana asked 26/4, 2017 at 18:39
1
In render script, I am using bound pointers to iterate over a large image.
The problem is in the array access performance.
...
for(int i=0; i < channels; i++) {
sum += (input[i*input_size]) *...
Berate asked 6/11, 2016 at 18:2
1
I am trying to develop a camera app that does some video processing before recording the video. I have decided to use Rendrscript for the processing since it provides many of the operations that I ...
Dekameter asked 28/1, 2015 at 6:25
1 Next >
© 2022 - 2025 — McMap. All rights reserved.