mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
feat: offscreen rendering support rgbaf16 hdr output format. (#48265)
* feat: offscreen rendering support rgbaf16 * docs: update doc * docs: update doc.
This commit is contained in:
@@ -28,6 +28,8 @@ std::string OsrVideoPixelFormatToString(media::VideoPixelFormat format) {
|
||||
return "bgra";
|
||||
case media::PIXEL_FORMAT_ABGR:
|
||||
return "rgba";
|
||||
case media::PIXEL_FORMAT_RGBAF16:
|
||||
return "rgbaf16";
|
||||
default:
|
||||
NOTREACHED();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user