st/omx: initial OpenMAX H264 encoder v7

Graphics / Mesa 3D Graphics Library / Mesa - Christian König [amd.com] - 13 February 2014 04:11 UTC

v2 (chk): fix eos handling
v3 (leo): implement scaling configuration support
v4 (leo): fix bitrate bug
v5 (chk): add workaround for bug in Bellagio
v6 (chk): fix div by 0 if framerate isn't known, user separate pipe object for scale and transfer, always flush the transfer pipe before encoding
v7 (chk): make suggested changes, cleanup a bit more, only advertise encoder on supported hardware

0ef3ce4 st/omx: initial OpenMAX H264 encoder v7
src/gallium/state_trackers/omx/Makefile.am | 3 +-
src/gallium/state_trackers/omx/entrypoint.c | 11 +-
src/gallium/state_trackers/omx/vid_dec.c | 15 +-
src/gallium/state_trackers/omx/vid_enc.c | 868 +++++++++++++++++++++++++++
src/gallium/state_trackers/omx/vid_enc.h | 81 +++
5 files changed, 970 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share