@@ -615,6 +615,17 @@ int ff_mjpeg_decode_sof(MJpegDecodeContext *s)
s->avctx->color_range = s->cs_itu601 ? AVCOL_RANGE_MPEG : AVCOL_RANGE_JPEG;
}
break;
+ case 0x11311100:
+ if (s->bits > 8)
+ goto unk_pixfmt;
+ if (s->component_id[0] == 'R' - 1 && s->component_id[1] == 'G' - 1 && s->component_id[2] == 'B' - 1) {
+ s->avctx->pix_fmt = AV_PIX_FMT_GBRP;
+ } else {
+ goto unk_pixfmt;
+ }
+ s->avctx->color_range = s->cs_itu601 ? AVCOL_RANGE_MPEG : AVCOL_RANGE_JPEG;
+ s->upscale_h[1] = s->upscale_h[2] = 2;
+ break;
case 0x31111100:
if (s->bits > 8)
goto unk_pixfmt;