mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Using the Rust yuv crate, eagerly convert from YUV to RGBA on the CPU when a GPU context is unavailable. Time spent converting an 8-bit YUV frame with this crate is better than libyuv on ARM by about 20%, and on x86 with AVX2, it achieves similar numbers to libyuv.
24 lines
433 B
TOML
24 lines
433 B
TOML
language = "C++"
|
|
header = """/*
|
|
* Copyright (c) 2026-present, the Ladybird developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/"""
|
|
pragma_once = true
|
|
include_version = true
|
|
line_length = 120
|
|
tab_width = 4
|
|
no_includes = true
|
|
sys_includes = ["stdint.h", "stddef.h"]
|
|
usize_is_size_t = true
|
|
namespaces = ["Gfx", "FFI"]
|
|
|
|
[parse]
|
|
parse_deps = false
|
|
|
|
[parse.expand]
|
|
all_features = false
|
|
|
|
[export.mangle]
|
|
rename_types = "PascalCase"
|