init rafdatapointer