The stange thing is that when I changed the frame size to 640 (width) by 480 (height) or 1280 (width) by 720 (height), the function return value is MFX_ERR_NONE (0). I want to know if there is any limitation on image size? Can we use any image size as long as it can be divided by 16? Thanks.
That's true. But the expected behavior of Media SDK is to fall back to software implementation for scenarios unsupported by hardware, so something is definitely wrong here if an error code is returned (must be a warning). We will check on the latest SandyBridge driver. If you are using a specific version please let us know.