Freescale / libimxvpuapi

i.MX VPU API Library
GNU Lesser General Public License v2.1
88 stars 54 forks source link

Implement imx_vpu_api_enc_get_skipped_frame_info() and imx_vpu_api_enc_get_encoded_frame_ext() stubs for all encoders #62

Open tq-schifferm opened 2 months ago

tq-schifferm commented 2 months ago

The imx_vpu_api_enc_get_skipped_frame_info and imx_vpu_api_enc_get_encoded_frame_ext must be available during linking of current gstreamer-imx. Make these symbols available for all encoders.

For imx_vpu_api_enc_get_skipped_frame_info(), a stub implementation is added that always returns IMX_VPU_API_ENC_RETURN_CODE_INVALID_CALL (and the stub for imx6-coda is fixed to have a return value at all to avoid a compiler warning).

imx_vpu_api_enc_get_encoded_frame_ext() was only missing for imx8m-hantro dummy_encoder.

Fixes https://github.com/Freescale/gstreamer-imx/issues/328