Imagination PowerVR SDK Blog

Pixel interpolation in SGX540 (Pandaboard or like platform)


#1

Hello,



I would like to do pixel interpolation on a given image with SGX540. I have Pandaboard Ubuntu or Android both setup with everything working regarding SGX540. Note that I don’t have any screen output on the device and I want to do pixel interpolation millions of times on a single image.

My questions are:

  • what’s the best way to import a fixed image into PVR (without the need to render anything on screen as there is not screen output). Any resource I could leverage?
  • then, how can I do pixel interpolation on the image?



    Any help would be appreciated!

#2

Hi,


what's the best way to import a fixed image into PVR

Do you mean you want to store a raw image your application has generated in a PVR texture container?

then, how can I do pixel interpolation on the image?

For any image convolution, I would recommend using OpenGL ES 2.0 GLSL ES fragment shaders on full screen quads.