openh264 icon indicating copy to clipboard operation
openh264 copied to clipboard

Detect stride size

Open octalflow opened this issue 12 years ago • 2 comments

I want to create a texture before DecodeFrame2.

How to know decoder's pitch/stride size before DecodeFrame2 ?

thanks.

octalflow avatar Mar 22 '14 10:03 octalflow

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.

huili2 avatar Mar 27 '14 06:03 huili2

thank you for your comment.

octalflow avatar Mar 28 '14 04:03 octalflow