Both bitmap and IplImage can be converted to a bytearray. Both of them support the bytearray interconversion. Then you can use Bitmap.copyPixelsFromBuffer or copyPixelsToBuffer accompanied with IplImage.getByteBuffer().
The thing to keep in mind is, Bitmap is 4 channeled and so should be the IPL-Image.