added resizeWidth and resizeHeight field to the struct CaptureEnv
fully supported the cif streaming within the capture thread