Ticket #2381 (closed patch: fixed)
Opened 7 years ago
Last modified 3 years ago
Add support for CoreVideo when displaying on Mac OS X
|Reported by:||awk@…||Owned by:||nigel|
|Component:||Ports - OSX||Version:||head|
Although at the moment it shows no particular performance advantage over the QuickTime? approach (since QT uses ostensibly the same code path to do the actual drawing) this code should offer more future enhancements. For example CoreImage? filters can now be run on the video stream and the OSD display could in the future be composited onto the display in RGB space rather than the YUV conversion that is currently performed to draw the OSD 'in line' with the video image.
This patch seems to work well for me - even in it's currently limited state however it needs additional work to implement PIP support. I'm also planning on updating the current 'usleep/busy wait' timing method to use the CoreVideo? display link mechanism to provide notifications as to when to draw the next frame.
I can't yet see any evidence of anyone else implementing YUV420(YCbCr420) -> YUV422(YCbCr422) CoreImage? filters or a CoreImage? deinterlace filter but it's certainly possible such items could appear in the future. Doing the colorspace conversion entirely on the card would definately yield some further performance improvements.
Note that videoout_corevideo doesn't implement any of the 'cute' features of videoout_quartz such as video in the dock or in a transparent window - those settings are ignored.
comment:1 Changed 7 years ago by pdbailey@…
comment:2 Changed 7 years ago by awk@…
comment:3 Changed 7 years ago by awk@…
comment:4 Changed 7 years ago by nigel
comment:5 Changed 7 years ago by pdbailey@…
comment:6 Changed 7 years ago by awk@…
comment:7 Changed 7 years ago by anonymous
comment:8 Changed 7 years ago by danielk
- Owner changed from ijr to nigel
comment:9 Changed 4 years ago by Dibblah
- Status changed from new to assigned
comment:10 Changed 4 years ago by stuartm
- Component changed from mythtv to Ports - OSX
comment:11 Changed 3 years ago by anonymous
comment:12 Changed 3 years ago by markk
comment:13 Changed 3 years ago by stuarta
- Status changed from assigned to closed
- Resolution set to fixed