video: driver: add fence support
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>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

부모
4b2e594b7b
커밋
ef829ce44f
21
driver/vidc/inc/msm_vidc_fence.h
Normal file
21
driver/vidc/inc/msm_vidc_fence.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/* 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__
|
Reference in New Issue
Block a user