Added threaded upload of video texture and separated processing and RGBA packing into two passes