st/omx: avoid using dynamic vid_(enc|dec)_base and avc_(name|role)

Graphics / Mesa 3D Graphics Library / Mesa - Emil Velikov [gmail.com] - 26 June 2014 08:05 UTC

Strictly speaking we should not have done this in the first place, as all of the above should be static across the system.

Currently this may cause some minor issues, which will be resolved in the following patches, by providing a single library for the OMX api.

Cleanup a few unneeded strcpy cases while we're around.

Note: Make sure to rebuild the .omxregister file, by executing $ omxregister-bellagio

If you have more than one omx library (libomx-radeonsi, libomx-r600), make sure to temporary move the unused one. By the end of the series there will be only one library that will be used for all hardware -r600, radeonsi and nouveau.

Cc: Leo Liu Cc: Christian König

c35cf34 st/omx: avoid using dynamic vid_(enc|dec)_base and avc_(name|role)
src/gallium/state_trackers/omx/vid_dec.c | 69 +++++-------------------------
src/gallium/state_trackers/omx/vid_dec.h | 6 +--
src/gallium/state_trackers/omx/vid_enc.c | 33 ++------------
src/gallium/state_trackers/omx/vid_enc.h | 4 +-
4 files changed, 18 insertions(+), 94 deletions(-)

Upstream: cgit.freedesktop.org


  • Share