
Add fence support for decoder output buffers for the consumer to use it to improve latency. Change-Id: I7384b4a9793248988a2d2d546a535f26636d5bb3 Signed-off-by: Maheshwar Ajja <quic_majja@quicinc.com>
22 lines
651 B
C
22 lines
651 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __H_MSM_VIDC_FENCE_H__
|
|
#define __H_MSM_VIDC_FENCE_H__
|
|
|
|
#include "msm_vidc_inst.h"
|
|
#include "msm_vidc_buffer.h"
|
|
|
|
int msm_vidc_fence_create(struct msm_vidc_inst *inst,
|
|
struct msm_vidc_buffer *buf);
|
|
int msm_vidc_fence_signal(struct msm_vidc_inst *inst,
|
|
struct msm_vidc_buffer *buf);
|
|
void msm_vidc_fence_destroy(struct msm_vidc_inst *inst,
|
|
struct msm_vidc_buffer *buf);
|
|
int msm_vidc_fence_init(struct msm_vidc_inst *inst);
|
|
void msm_vidc_fence_deinit(struct msm_vidc_inst *inst);
|
|
|
|
#endif // __H_MSM_VIDC_FENCE_H__
|