TDA4VE-Q1: v4l2 encode output

Part Number: TDA4VE-Q1

Hello, I would like to ask if you  can provide a code example, the function is as follows:

Using v4l2 as encoding function on tda4ve, input NV12 image of 1280*720, output by encoding H265 data of 1280*720