You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition I had to copy the declarations of struct AVZcEnv and struct ZcOldCtxVals from rpi_zc.c. av_rpi_zc_get_buffer2 is declared in rpi_zc.h, but it has no implementation. The implementation is called zc_get_buffer2 in rpi_zc.c, but it is not exported. So my hack seems the only way to use rpi_zc. In a previous version of the hevc patch, av_rpi_zc_init that required no parameters, was available.
I managed to use hevc hardware support via rpi_zc in my application by adding the following to my get_format2:
In addition I had to copy the declarations of struct AVZcEnv and struct ZcOldCtxVals from rpi_zc.c. av_rpi_zc_get_buffer2 is declared in rpi_zc.h, but it has no implementation. The implementation is called zc_get_buffer2 in rpi_zc.c, but it is not exported. So my hack seems the only way to use rpi_zc. In a previous version of the hevc patch, av_rpi_zc_init that required no parameters, was available.