strukturag / libde265

Open h.265 video codec implementation.
Other
1.7k stars 457 forks source link

Use the sps from the image #366

Open coldtobi opened 1 year ago

coldtobi commented 1 year ago

(as e.g mc_chroma is using the sps to determine picture properties, like pic_width_in_luma_samples and pic_height_in_luma_samples, I think this is more correct.

This PR is for discussion. (See #345.) It makes the failures go away, but that does not mean it's correct :)

The following poc will be stop failing if (only) this patch is applied:

The following are still failing if only this patch is applied, but they stop failing if #365 is applied as well, but will still fail with ONLY #365 applied (IOW, both are needed)

Edit: poc17-x and poc-18 is NOT fixed with that. Sorry for the confusion.