modify InputRawBuffer method of SvcEncoder