openh264
openh264 copied to clipboard
Detect stride size
I want to create a texture before DecodeFrame2.
How to know decoder's pitch/stride size before DecodeFrame2 ?
thanks.
actually decoder would not know the stride size of the bitstream before parsing. the size shall be coded into SPS syntax. Decoder just analyses the input bitstream and tries its best to de-compress the data.
thank you for your comment.