camera will call the callback to let upper layer to deal with preview/still image/video image.
code:
CameraService::Client::dataCallback
the dataCallback use msgType to get the type of dataPtr.
this is differ from donut.
the c->dataCallback is filled by application.