Skip to content

Commit

Permalink
svt: fix bpp in hdr images (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Oct 18, 2023
1 parent feb3cee commit f4f185b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libheif/plugins/encoder_svt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ struct heif_error svt_encode_image(void* encoder_raw, const struct heif_image* i
}

const heif_chroma chroma = heif_image_get_chroma_format(image);
int bitdepth_y = heif_image_get_bits_per_pixel(image, heif_channel_Y);
int bitdepth_y = heif_image_get_bits_per_pixel_range(image, heif_channel_Y);

uint8_t yShift = 0;
EbColorFormat color_format = EB_YUV420;
Expand Down

0 comments on commit f4f185b

Please sign in to comment.