Initialize subscribe params for colorspace using OUTPUT
port params and use right mapper function
Change-Id: Ie6be50c1de20e351bad0fc4b015bcc4d72d1711b
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
Use qti dma mapping header file to use qti
specific dma attributes.
Change-Id: If755c0df22a59af764d2b55a236dfe18bc265f54
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Allow only HP layer encoding type until fw fatal error
is resolved
Change-Id: Id35e78bbb5feaab0c9d4ad94c94d5b7e47733b69
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
Add resume function call to power on the device before
unloading the firmware.
Change-Id: Ic2e4e74d01f9e5e61353a0ff07955ebd1358efc4
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Set dynamic flag for CODEC_CONFIG cap to allow dynamic setting.
Change-Id: Ie49b60508b0633b34b38e4c17b8e214e7e4159a5
Signed-off-by: Mihir Ganu <mganu@codeaurora.org>
read input width and height and update
output resolution based on client set
color format.
Change-Id: I5605eb875ca679c671d083ca691b046769279ce5
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
Added V4L2_PIX_FMT_HEIC codec type to support image decode
and encode session.
Change-Id: I1adc3eeacaef5622222122b464ffd43b877638e8
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
Added V4L2_PIX_FMT_HEIC codec type to support image encode
and decode session.
Change-Id: I41fef70de36e853a694afe5fca7a365e46a1b034
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
subscribe for picture type property on output
port for decoder.
Change-Id: I4354f47777ca51a257f8ab85e9cb85faddad0099
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
- Add support for a new non-secure pix context bank.
- Remove usage of deprecated 'buffer-types' in context banks.
Change-Id: I3a21eb8ce1d9aff277568d54aadb54193ad0ce75
Signed-off-by: Mihir Ganu <mganu@codeaurora.org>
update hfi command header file to include
release done flag and related hfi buffer flag
changes. add functionality to release and
unmap buffer if this flag is sent by fw.
Change-Id: I03fdd7776fcd6ac5e8a147c7dff2dfb6a15250e9
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
- add DPB tag list capability in database
- subscribe in metadata mode for the dpb tag list
property if enabled
Change-Id: Id4b9b7392b7b26cccf0860d578b8a0cb8d798d04
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
update input port sizeimage for a decode session
during set control of bitsream size overwrite
control.
Change-Id: I4cb7d6c8d416f187e1ac557d3b423acfdbcb7a60
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
Allow output settings (reqest buffers, set format etc) in
MSM_VIDC_DRAIN_START_INPUT state because output port is
streamed off already.
Change-Id: Ia00451a4cc85f3fe05820721235661bfe2d3de04
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Add support to set HFI_PROP_NAL_LENGTH_FIELD property to
video firmware.
Change-Id: I20db36bad394fe0b5163a156199340836af3f740
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
With best fit configuration, the probability of getting
a mapping for video buffer increases even when the system
is fragmented.
Change-Id: I8689447ce1341fd1189b543eb9fb6a2e03edcc94
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
Add support to set default fps to video fw.
Change-Id: I5074b5379c8bca273e098a3375f2c949b0656ae8
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
Initialize subscribe parameters before input port settings
change event from firmware to avoid uninitialized subscribe
params usage in video driver.
Change-Id: I39a1e6646a845836a406193ace7a5fb71edee192
Depends-On: I07c7c8b4faaccc896249b2da84148ec05c2047da
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
As per HFI_PROP_CODED_FRAMES details, 0x0 is field interlace,
0x1 is progressive and 0x2 is adaptive frame field bitstream.
Treat 0x1 as progressive and both 0x0 and 0x2 as interlace in
driver.
Change-Id: I07c7c8b4faaccc896249b2da84148ec05c2047da
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>