<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">Hi Neil,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">AFBC 1.0 does not support (ignoring common prefix
</span><span style="font-size: 11pt; font-family: "Courier New", monospace; line-height: normal;">AFBC_FORMAT_MOD_) BLOCK_SIZE_32x8</span><span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">,
</span><span style="font-size: 11pt; font-family: "Courier New", monospace; line-height: normal;">BLOCK_SIZE_64x4</span><span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">,
</span><span style="font-size: 11pt; font-family: "Courier New", monospace; line-height: normal;">BLOCK_SIZE_32x8_64x4</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 11pt; font-family: "Courier New", monospace; line-height: normal;">CBR</span><span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">,
</span><span style="font-size: 11pt; font-family: "Courier New", monospace; line-height: normal;">TILED</span><span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">, SC, DB and BCH  modifiers.</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">AFBC 1.2 does not support
</span><span style="font-size: 11pt; font-family: "Courier New", monospace; line-height: normal;">BLOCK_SIZE_64x4</span><span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">,
</span><span style="font-size: 11pt; font-family: "Courier New", monospace; line-height: normal;">BLOCK_SIZE_32x8_64x4</span><span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">, DB and BCH modifiers.</span><span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">Beyond that it's very hard to say. The AFBC version numbers refer to versions of the specification, but aren't very useful for describing the actual bitstream format.</span><span><br>
</span><span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">To determine which modifiers _are_ supported, you will really need to get technical documentation from the SoC vendor</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">Regards,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 11pt; line-height: normal; font-family: "Courier New", monospace;">Ayan Kumar Halder</span><br>
</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Neil Armstrong <narmstrong@baylibre.com><br>
<b>Sent:</b> Tuesday, February 26, 2019 2:15 PM<br>
<b>To:</b> Ayan Halder; Liviu Dudau<br>
<b>Cc:</b> DRI Development<br>
<b>Subject:</b> AFBC versions modifiers</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Hi Ayan,<br>
<br>
Could you help distinguish which are the AFBC modifiers for each version of AFBC ?<br>
<br>
The Amlogic SoCs embeds an AFBC 1.0 compatible decoder, then the newer SoCs embeds an AFBC 1.2 decoder,<br>
I assume the modifiers before the patch "drm/fourcc: Add modifier defininitions for AFBC 1.3" are<br>
valid for AFBC 1.2, but what is the subset for 1.0 and 1.1 ?<br>
<br>
Thanks,<br>
Neil<br>
<br>
-- <br>
Neil Armstrong<br>
Embedded Linux Software Engineer<br>
BayLibre - At the Heart of Embedded Linux<br>
<a href="http://www.baylibre.com">www.baylibre.com</a><br>
</div>
</span></font></div>
</body>
</html>