Hi, I'm porting libx264 to renderscript as an exercise to see how much trouble it is to take a sizeable chunk of c code that is developed for GNU Linux and make it into renderscript. This code is fairly limited in accesses to outside world so should be able to make it run on a DSP or the CPU.
But now to my problem: I get this error message: error: multidimensional arrays cannot be exported: 'x264_cabac_transition' cabac.rsh The line looks like this: extern const uint8_t x264_cabac_transition[128][2]; Is it not allowed to have multi-dimensional arrays in Renderscript (since single dimension works)? I also get similar errors error: structures containing pointers cannot be exported: 'x264_weight_t' mc.rsh When I have pointers in structures, is that not either allowed? If this is true, does a list with all C constructs that is not supported in Renderscript exist? By the way does any way of using dynamic memory allocation inside Renderscript exist, that is for memory that is not going to be visible for the Java world? /Harald -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

