hevc

What is pic_width_in_luma_samples in HEVC?


What does pic_width_in_luma_samples mean in H265 format?

User manual say pic_width_in_luma_samples specifies the width of each decoded picture in units of luma samples. pic_width_in_luma_samples shall not be equal to 0 and shall be an integer multiple of MinCbSizeY.

but what are luma samples? how to get pixel width from luma samples?


Solution

  • Referring to HEVC guide: to save bandwidth in HEVC, width is expressed in multiples of 16; so:

    videoWidth = ( pic_width_in_luma_sample + 1) * 16;