Add API call to retrieve current frame size

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>