inst->parms.hdr.color_parms.present_flag) {
u8 *pbuf = ctx->config.buf + ctx->config.length;
+ pbuf += sprintf(pbuf, "HDRStaticInfo:%d;", 1);
pbuf += sprintf(pbuf, "mG.x:%d;",
ctx->config.parm.dec.hdr.color_parms.primaries[0][0]);
pbuf += sprintf(pbuf, "mG.y:%d;",
pbuf += sprintf(pbuf, "mW.y:%d;",
ctx->config.parm.dec.hdr.color_parms.white_point[1]);
pbuf += sprintf(pbuf, "mMaxDL:%d;",
- ctx->config.parm.dec.hdr.color_parms.luminance[0] / 1000);
+ ctx->config.parm.dec.hdr.color_parms.luminance[0] * 1000);
pbuf += sprintf(pbuf, "mMinDL:%d;",
ctx->config.parm.dec.hdr.color_parms.luminance[1]);
pbuf += sprintf(pbuf, "mMaxCLL:%d;",