<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 15/09/17 23:36, Jason Ekstrand
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOFGe96vjV_3seL4Txvof0OJu2k7=4bL3gp=cHKsAiGrq2HabQ@mail.gmail.com">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"> struct
anv_format_plane {<br>
enum isl_format isl_format:16;<br>
struct isl_swizzle swizzle;<br>
+<br>
+ /* Whether this plane contains chroma channels */<br>
+ bool has_chroma;<br>
+<br>
+ /* For downscaling of YUV planes */<br>
+ uint8_t denominator_scales[2];<br>
+<br>
+ /* How to map sampled ycbcr planes to a single 4 component
element. */<br>
+ struct isl_swizzle ycbcr_swizzle;<br>
</blockquote>
<div><br>
</div>
<div>I'm getting a bit concerned about how bloated the format
table is getting. The old table had 184 entries each of which
was 32 bits. Now we're looking at more like 32 bytes per entry
and most of it isn't used for your average format. It probably
isn't a huge deal but it does seem a bit excessive. I'm not
quite sure what to do about it though.<br>
</div>
<div> </div>
</blockquote>
<p>Maybe some kind of linked list in the style of pNext in vulkan?<br>
</p>
</body>
</html>