Skip to content

Commit cd0711a

Browse files
committed
uref_pic_flow_format: fix some format descriptions
1 parent 4798c26 commit cd0711a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/upipe/uref_pic_flow_formats.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,14 +386,14 @@ UREF_PIC_FLOW_FORMAT(monowhite, 1, { 1, 1, 1, "Y1", 1 });
386386
* From libavutil/pixfmt.h:
387387
* packed RGB 8:8:8, 32bpp, RGBXRGBX... X=unused/undefined
388388
*/
389-
UREF_PIC_FLOW_FORMAT(rgb0, 1, { 1, 1, 1, "r8g8b808", 32 });
389+
UREF_PIC_FLOW_FORMAT(rgb0, 1, { 1, 1, 4, "r8g8b808", 32 });
390390

391391
/** @This is the description of the 0rgb format.
392392
*
393393
* from libavutil/pixfmt.h:
394394
* packed RGB 8:8:8, 32bpp, XRGBXRGB... X=unused/undefined
395395
*/
396-
UREF_PIC_FLOW_FORMAT(0rgb, 1, { 1, 1, 1, "08r8g8b8", 32 });
396+
UREF_PIC_FLOW_FORMAT(0rgb, 1, { 1, 1, 4, "08r8g8b8", 32 });
397397

398398
/** This is the description of the rgb565 format. */
399399
UREF_PIC_FLOW_FORMAT(rgb565, 1, { 1, 1, 2, "r5g6b5", 16 });
@@ -402,7 +402,7 @@ UREF_PIC_FLOW_FORMAT(rgb565, 1, { 1, 1, 2, "r5g6b5", 16 });
402402
UREF_PIC_FLOW_FORMAT(rgb24, 1, { 1, 1, 3, "r8g8b8", 24 });
403403

404404
/** @This is the description of the bgr format. */
405-
UREF_PIC_FLOW_FORMAT(bgr24, 1, { 1, 1, 3, "b8g8e8", 24 });
405+
UREF_PIC_FLOW_FORMAT(bgr24, 1, { 1, 1, 3, "b8g8r8", 24 });
406406

407407
/** @This is the description of the argb format. */
408408
UREF_PIC_FLOW_FORMAT(argb, 1, { 1, 1, 4, "a8r8g8b8", 32 });

0 commit comments

Comments
 (0)