DescriptionMove conversion from YUV420 to YV12 in WebMediaPlayerMs
Hardware encoding of video frames in cast streaming requires the memory
to be packed and using YUV420 format. However the format is YV12 because
it is converted in MediaStreamVideoTrack.
The reason for the conversion was because rendering of video frames
expected YV12 instead of YUV420. This change moves the format conversion
to WebMediaPlayerMs which is specific to rendering of the video frame.
This way cast streaming will receive YUV420 frames and <video> with
camera source will render correctly.
I tested this with:
1. Aura with regular accelerated compositing
2. --disable-gpu --enable-software-compositing
BUG=355763, 341452
Patch Set 1 #Patch Set 2 : comments #
Total comments: 2
Messages
Total messages: 4 (0 generated)
|