]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] media: venus: adding core part and helper functions
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Thu, 15 Jun 2017 16:31:45 +0000 (13:31 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 11:53:39 +0000 (08:53 -0300)
commitaf2c3834c8ca7cc65d15592ac671933df8848115
tree3b1d6b57628a2b5014601dcf688df63d3c2751f6
parent097748eb6478607ba73089c9e7b3775bbb01466c
[media] media: venus: adding core part and helper functions

* core.c has implemented the platform driver methods, file
operations and v4l2 registration.

 * helpers.c has implemented common helper functions for:
   - buffer management

   - vb2_ops and functions for format propagation,

   - functions for allocating and freeing buffers for
   internal usage. The buffer parameters describing internal
   buffers depends on current format, resolution and codec.

   - functions for calculation of current load of the
   hardware. Depending on the count of instances and
   resolutions it selects the best clock rate for the video
   core.

 * firmware loader

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/qcom/venus/core.c [new file with mode: 0644]
drivers/media/platform/qcom/venus/core.h [new file with mode: 0644]
drivers/media/platform/qcom/venus/firmware.c [new file with mode: 0644]
drivers/media/platform/qcom/venus/firmware.h [new file with mode: 0644]
drivers/media/platform/qcom/venus/helpers.c [new file with mode: 0644]
drivers/media/platform/qcom/venus/helpers.h [new file with mode: 0644]