video: driver: add change to support slice mode decode
Added new capabilty changes to support slice based decoding. This feature basically enables to decode the given input in terms of slices and deliver single output to the higher layers when all slices decoded in a frame. When HW receives the slices then it will start decoding the slices, instead of waiting for all the slices belongs to same frame. So this will help to achieve lower decode latency. Change-Id: Id107b34baba6d7b4a88238e232e8bf4a0fd6e58e Signed-off-by: Gaviraju Doddabettahalli Bettegowda <quic_gdoddabe@quicinc.com>
This commit is contained in:

committed by
Darshana Patil

parent
a8091c92b9
commit
9789b56a49
@@ -116,7 +116,6 @@ static const struct msm_vidc_cap_name cap_name_arr[] = {
|
||||
{FENCE_ID, "FENCE_ID" },
|
||||
{FENCE_FD, "FENCE_FD" },
|
||||
{TS_REORDER, "TS_REORDER" },
|
||||
{SLICE_INTERFACE, "SLICE_INTERFACE" },
|
||||
{HFLIP, "HFLIP" },
|
||||
{VFLIP, "VFLIP" },
|
||||
{ROTATION, "ROTATION" },
|
||||
@@ -229,6 +228,7 @@ static const struct msm_vidc_cap_name cap_name_arr[] = {
|
||||
{OUTPUT_BUF_HOST_MAX_COUNT, "OUTPUT_BUF_HOST_MAX_COUNT" },
|
||||
{DELIVERY_MODE, "DELIVERY_MODE" },
|
||||
{VUI_TIMING_INFO, "VUI_TIMING_INFO" },
|
||||
{SLICE_DECODE, "SLICE_DECODE" },
|
||||
{INST_CAP_MAX, "INST_CAP_MAX" },
|
||||
};
|
||||
|
||||
@@ -1453,7 +1453,6 @@ bool msm_vidc_allow_metadata_subscription(struct msm_vidc_inst *inst, u32 cap_id
|
||||
case META_SEI_MASTERING_DISP:
|
||||
case META_SEI_CLL:
|
||||
case META_HDR10PLUS:
|
||||
case META_PICTURE_TYPE:
|
||||
if (!is_meta_rx_inp_enabled(inst, META_OUTBUF_FENCE)) {
|
||||
i_vpr_h(inst,
|
||||
"%s: cap: %24s not allowed as output buffer fence is disabled\n",
|
||||
|
Reference in New Issue
Block a user