Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files30
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- vdec/
- venc/
- Makefile
- mtk_vcodec_dec.c
- mtk_vcodec_dec.h
- mtk_vcodec_dec_drv.c
- mtk_vcodec_dec_pm.c
- mtk_vcodec_dec_pm.h
- mtk_vcodec_drv.h
- mtk_vcodec_enc.c
- mtk_vcodec_enc.h
- mtk_vcodec_enc_drv.c
- mtk_vcodec_enc_pm.c
- mtk_vcodec_enc_pm.h
- mtk_vcodec_intr.c
- mtk_vcodec_intr.h
- mtk_vcodec_util.c
- mtk_vcodec_util.h
- vdec_drv_base.h
- vdec_drv_if.c
- vdec_drv_if.h
- vdec_ipi_msg.h
- vdec_vpu_if.c
- vdec_vpu_if.h
- venc_drv_base.h
- venc_drv_if.c
- venc_drv_if.h
- venc_ipi_msg.h
- venc_vpu_if.c
- venc_vpu_if.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/media/platform/mtk-vcodec/venc_drv_base.h
Text · 1,759 bytes/*
* Copyright (c) 2016 MediaTek Inc.
* Author: Daniel Hsiao <[email protected]>
* Jungchang Tsao <[email protected]>
* Tiffany Lin <[email protected]>
*
* This program is free software; you can redistribute it and/or
* modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _VENC_DRV_BASE_
#define _VENC_DRV_BASE_
#include "mtk_vcodec_drv.h"
#include "venc_drv_if.h"
struct venc_common_if {
/**
* (*init)() - initialize driver
* @ctx: [in] mtk v4l2 context
* @handle: [out] driver handle
*/
int (*init)(struct mtk_vcodec_ctx *ctx, unsigned long *handle);
/**
* (*encode)() - trigger encode
* @handle: [in] driver handle
* @opt: [in] encode option
* @frm_buf: [in] frame buffer to store input frame
* @bs_buf: [in] bitstream buffer to store output bitstream
* @result: [out] encode result
*/
int (*encode)(unsigned long handle, enum venc_start_opt opt,
struct venc_frm_buf *frm_buf,
struct mtk_vcodec_mem *bs_buf,
struct venc_done_result *result);
/**
* (*set_param)() - set driver's parameter
* @handle: [in] driver handle
* @type: [in] parameter type
* @in: [in] buffer to store the parameter
*/
int (*set_param)(unsigned long handle, enum venc_set_param_type type,
struct venc_enc_param *in);
/**
* (*deinit)() - deinitialize driver.
* @handle: [in] driver handle
*/
int (*deinit)(unsigned long handle);
};
#endif