GNOME Bugzilla – Bug 786078
compositor / videoaggregator: some performance improvements
Last modified: 2017-08-10 11:58:54 UTC
This makes the heuristic for picking the target format a bit less naive, and also spares us conversion altogether for simple cases, by picking a colorimetry.
Created attachment 357312 [details] [review] compositor: improve conversion debugging
Created attachment 357313 [details] [review] videoaggregator: improve find_best_format heuristic. The goal here is to minimize the work needed to bring all images to a common format. A better criteria than the number of pads with a given format is the number of pixels with a given format.
Created attachment 357314 [details] [review] videoaggregator: use colorimetry from find_best_format. This increases the chances that we won't need to do any conversion for a given pad.
Review of attachment 357313 [details] [review]: Sounds good.
Review of attachment 357312 [details] [review]: lgtm
Attachment 357312 [details] pushed as 29c4ecb - compositor: improve conversion debugging Attachment 357313 [details] pushed as 388b7ee - videoaggregator: improve find_best_format heuristic. Attachment 357314 [details] pushed as ca8d5f2 - videoaggregator: use colorimetry from find_best_format.