Im am refering to the documentation of nvenc https://docs.nvidia.com/video-technologies/video-codec-sdk/12.1/nvenc-video-encoder-api-prog-guide/index.html#creating-resources-required-to-hold-inputoutput-data
, the chapter about setting up input buffers to nvenc. I understand that in order to call nvEncCreateInputBuffer()
one has to set up a structure of type NV_ENC_CREATE_INPUT_BUFFER
, and in that structure one has to set the width
field. Now what padding has to be used for that width? Maybe this is specific to the codec used, but I did not find any info on that? Padding to 32 definitely does not work, 64 seems to work, but is there any documented value?