<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 18/09/17 20:27, Jason Ekstrand
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOFGe97u4BDCqz7MN82mR-EM3suYFHV=zSLwLLzf9mmtcLdHhQ@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Sun, Sep 17, 2017 at 3:31 AM,
            Lionel Landwerlin <span dir="ltr"><<a
                href="mailto:lionel.g.landwerlin@intel.com"
                target="_blank" moz-do-not-send="true">lionel.g.landwerlin@intel.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"><span class="">
                  <div class="m_-3857981968888820288moz-cite-prefix">On
                    15/09/17 23:36, Jason Ekstrand wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <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>
                  </blockquote>
                </span></div>
            </blockquote>
            <div><br>
            </div>
            <div>How is this different from "swizzle" above?<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Sorry for the delay in responding.<br>
    The spec mandates to hand channels in the Cr-Y-Cb order when no
    conversion is applied.<br>
    With multiple planes you need to know which one is which. And the
    order might not match what the spec requires.<br>
    <br>
    <blockquote type="cite"
cite="mid:CAOFGe97u4BDCqz7MN82mR-EM3suYFHV=zSLwLLzf9mmtcLdHhQ@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"><span class="">
                  <blockquote type="cite">
                    <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>
                  </blockquote>
                </span></div>
            </blockquote>
            <div> </div>
            <div>I've come to the conclusion that I don't actually care
              about this today.  It's at most 6k which isn't that bad.<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>