differentiate frame size and surface/image size

getFrameWith and getWidth may make calller confused. Actually  width is useless no matter we set FrameWidth or not. Could we just  add one resize function in vaapisurface? it only it modify width & height?