Skip to content

Commit

Permalink
gpujpeg_color_space_get_name: print limited range
Browse files Browse the repository at this point in the history
Print limited range explicitly - namely for for BT.601 where BT.601
full-range is standard for JFIF.
  • Loading branch information
MartinPulec committed Sep 30, 2024
1 parent 230b0d0 commit 1343cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gpujpeg_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1888,11 +1888,11 @@ gpujpeg_color_space_get_name(enum gpujpeg_color_space color_space)
case GPUJPEG_YUV:
return "YUV";
case GPUJPEG_YCBCR_BT601:
return "YCbCr BT.601";
return "YCbCr BT.601 (limtted range)";
case GPUJPEG_YCBCR_BT601_256LVLS:
return "YCbCr BT.601 256 Levels (YCbCr JPEG)";
case GPUJPEG_YCBCR_BT709:
return "YCbCr BT.709";
return "YCbCr BT.709 (limited range)";
}
if ( color_space == GPUJPEG_CS_DEFAULT ) {
return "(default CS)";
Expand Down

0 comments on commit 1343cc5

Please sign in to comment.