gallium: Refactor out put_screen and get_screen

Submitted by Gurkirpal Singh on Aug. 12, 2017, 4:07 p.m.

Details

Reviewer None
Submitted Aug. 12, 2017, 4:07 p.m.
Last Updated Aug. 16, 2017, 9:26 p.m.
Revision 1

Cover Letter(s)

Revision 1
      Sending patches in separate thread since I can't see some patches
in reply to the original thread.

Gurkirpal Singh (4):
  st/omx_bellagio: Rename state tracker and option
  st/omx_tizonia: Add --enable-omx-tizonia flag and build files
  st/omx_tizonia: Add entrypoint
  st/omx_tizonia: Add H.264 decoder

 configure.ac                                       |   85 +-
 src/gallium/Makefile.am                            |    8 +-
 src/gallium/state_trackers/omx/Makefile.am         |   35 -
 src/gallium/state_trackers/omx/Makefile.sources    |   10 -
 src/gallium/state_trackers/omx/entrypoint.c        |  152 --
 src/gallium/state_trackers/omx/entrypoint.h        |   48 -
 src/gallium/state_trackers/omx/vid_dec.c           |  665 --------
 src/gallium/state_trackers/omx/vid_dec.h           |  148 --
 src/gallium/state_trackers/omx/vid_dec_h264.c      | 1032 ------------
 src/gallium/state_trackers/omx/vid_dec_h265.c      | 1013 ------------
 src/gallium/state_trackers/omx/vid_dec_mpeg12.c    |  383 -----
 src/gallium/state_trackers/omx/vid_enc.c           | 1278 ---------------
 src/gallium/state_trackers/omx/vid_enc.h           |   96 --
 .../state_trackers/omx_bellagio/Makefile.am        |   35 +
 .../state_trackers/omx_bellagio/Makefile.sources   |   10 +
 .../state_trackers/omx_bellagio/entrypoint.c       |  152 ++
 .../state_trackers/omx_bellagio/entrypoint.h       |   48 +
 src/gallium/state_trackers/omx_bellagio/vid_dec.c  |  665 ++++++++
 src/gallium/state_trackers/omx_bellagio/vid_dec.h  |  148 ++
 .../state_trackers/omx_bellagio/vid_dec_h264.c     | 1032 ++++++++++++
 .../state_trackers/omx_bellagio/vid_dec_h265.c     | 1013 ++++++++++++
 .../state_trackers/omx_bellagio/vid_dec_mpeg12.c   |  383 +++++
 src/gallium/state_trackers/omx_bellagio/vid_enc.c  | 1278 +++++++++++++++
 src/gallium/state_trackers/omx_bellagio/vid_enc.h  |   96 ++
 src/gallium/state_trackers/omx_tizonia/Makefile.am |   35 +
 .../state_trackers/omx_tizonia/Makefile.sources    |   12 +
 .../state_trackers/omx_tizonia/entrypoint.c        |  162 ++
 .../state_trackers/omx_tizonia/entrypoint.h        |   38 +
 src/gallium/state_trackers/omx_tizonia/h264d.c     |  173 ++
 src/gallium/state_trackers/omx_tizonia/h264d.h     |   57 +
 .../state_trackers/omx_tizonia/h264dinport.c       |  147 ++
 .../state_trackers/omx_tizonia/h264dinport.h       |   31 +
 .../state_trackers/omx_tizonia/h264dinport_decls.h |   48 +
 src/gallium/state_trackers/omx_tizonia/h264dprc.c  | 1711 ++++++++++++++++++++
 src/gallium/state_trackers/omx_tizonia/h264dprc.h  |   31 +
 .../state_trackers/omx_tizonia/h264dprc_decls.h    |  110 ++
 src/gallium/state_trackers/omx_tizonia/names.h     |   30 +
 src/gallium/targets/omx-bellagio/Makefile.am       |   75 +
 src/gallium/targets/omx-bellagio/omx.sym           |   11 +
 src/gallium/targets/omx-bellagio/target.c          |    2 +
 src/gallium/targets/omx-tizonia/Makefile.am        |   77 +
 src/gallium/targets/omx-tizonia/omx.sym            |   11 +
 src/gallium/targets/omx-tizonia/target.c           |    2 +
 src/gallium/targets/omx/Makefile.am                |   75 -
 src/gallium/targets/omx/omx.sym                    |   11 -
 src/gallium/targets/omx/target.c                   |    2 -
 46 files changed, 7692 insertions(+), 4972 deletions(-)
 delete mode 100644 src/gallium/state_trackers/omx/Makefile.am
 delete mode 100644 src/gallium/state_trackers/omx/Makefile.sources
 delete mode 100644 src/gallium/state_trackers/omx/entrypoint.c
 delete mode 100644 src/gallium/state_trackers/omx/entrypoint.h
 delete mode 100644 src/gallium/state_trackers/omx/vid_dec.c
 delete mode 100644 src/gallium/state_trackers/omx/vid_dec.h
 delete mode 100644 src/gallium/state_trackers/omx/vid_dec_h264.c
 delete mode 100644 src/gallium/state_trackers/omx/vid_dec_h265.c
 delete mode 100644 src/gallium/state_trackers/omx/vid_dec_mpeg12.c
 delete mode 100644 src/gallium/state_trackers/omx/vid_enc.c
 delete mode 100644 src/gallium/state_trackers/omx/vid_enc.h
 create mode 100644 src/gallium/state_trackers/omx_bellagio/Makefile.am
 create mode 100644 src/gallium/state_trackers/omx_bellagio/Makefile.sources
 create mode 100644 src/gallium/state_trackers/omx_bellagio/entrypoint.c
 create mode 100644 src/gallium/state_trackers/omx_bellagio/entrypoint.h
 create mode 100644 src/gallium/state_trackers/omx_bellagio/vid_dec.c
 create mode 100644 src/gallium/state_trackers/omx_bellagio/vid_dec.h
 create mode 100644 src/gallium/state_trackers/omx_bellagio/vid_dec_h264.c
 create mode 100644 src/gallium/state_trackers/omx_bellagio/vid_dec_h265.c
 create mode 100644 src/gallium/state_trackers/omx_bellagio/vid_dec_mpeg12.c
 create mode 100644 src/gallium/state_trackers/omx_bellagio/vid_enc.c
 create mode 100644 src/gallium/state_trackers/omx_bellagio/vid_enc.h
 create mode 100644 src/gallium/state_trackers/omx_tizonia/Makefile.am
 create mode 100644 src/gallium/state_trackers/omx_tizonia/Makefile.sources
 create mode 100644 src/gallium/state_trackers/omx_tizonia/entrypoint.c
 create mode 100644 src/gallium/state_trackers/omx_tizonia/entrypoint.h
 create mode 100644 src/gallium/state_trackers/omx_tizonia/h264d.c
 create mode 100644 src/gallium/state_trackers/omx_tizonia/h264d.h
 create mode 100644 src/gallium/state_trackers/omx_tizonia/h264dinport.c
 create mode 100644 src/gallium/state_trackers/omx_tizonia/h264dinport.h
 create mode 100644 src/gallium/state_trackers/omx_tizonia/h264dinport_decls.h
 create mode 100644 src/gallium/state_trackers/omx_tizonia/h264dprc.c
 create mode 100644 src/gallium/state_trackers/omx_tizonia/h264dprc.h
 create mode 100644 src/gallium/state_trackers/omx_tizonia/h264dprc_decls.h
 create mode 100644 src/gallium/state_trackers/omx_tizonia/names.h
 create mode 100644 src/gallium/targets/omx-bellagio/Makefile.am
 create mode 100644 src/gallium/targets/omx-bellagio/omx.sym
 create mode 100644 src/gallium/targets/omx-bellagio/target.c
 create mode 100644 src/gallium/targets/omx-tizonia/Makefile.am
 create mode 100644 src/gallium/targets/omx-tizonia/omx.sym
 create mode 100644 src/gallium/targets/omx-tizonia/target.c
 delete mode 100644 src/gallium/targets/omx/Makefile.am
 delete mode 100644 src/gallium/targets/omx/omx.sym
 delete mode 100644 src/gallium/targets/omx/target.c
    

Revisions