Home
last modified time | relevance | path

Searched refs:dma_fd (Results 1 - 25 of 29) sorted by relevance

12

/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
H A Dcommon.c47 buf->dma_fd = dma_buf_fd(buf->dbuf, O_CLOEXEC); in rkcif_alloc_buffer()
48 if (buf->dma_fd < 0) { in rkcif_alloc_buffer()
50 ret = buf->dma_fd; in rkcif_alloc_buffer()
H A Ddev.h179 int dma_fd; member
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
H A Dcommon.c47 buf->dma_fd = dma_buf_fd(buf->dbuf, O_CLOEXEC); in rkcif_alloc_buffer()
48 if (buf->dma_fd < 0) { in rkcif_alloc_buffer()
50 ret = buf->dma_fd; in rkcif_alloc_buffer()
H A Ddev.h190 int dma_fd; member
/device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core/src/node/
H A Drk_codec_node.cpp318 int dma_fd = buffer->GetFileDescriptor(); in Yuv420ToRGBA8888() local
344 dst.fd = dma_fd; in Yuv420ToRGBA8888()
392 int dma_fd = buffer->GetFileDescriptor(); in Yuv420ToH264() local
409 ret = hal_mpp_encode(halCtx_, dma_fd, (unsigned char *)buffer->GetVirAddress(), &buf_size); in Yuv420ToH264()
423 ret = hal_mpp_encode(halCtx_, dma_fd, (unsigned char *)buffer->GetVirAddress(), &buf_size); in Yuv420ToH264()
/device/soc/rockchip/common/hardware/mpp/include/
H A Dmpi_enc_utils.h82 int hal_mpp_encode(void *ctx, int dma_fd, unsigned char *buf, size_t *buf_size);
/device/soc/rockchip/rk3399/hardware/mpp/include/
H A Dmpi_enc_utils.h82 int hal_mpp_encode(void *ctx, int dma_fd, unsigned char *buf, size_t *buf_size);
/device/soc/rockchip/rk3568/hardware/mpp/include/
H A Dmpi_enc_utils.h82 int hal_mpp_encode(void *ctx, int dma_fd, unsigned char *buf, size_t *buf_size);
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A Dcommon.c157 buf->dma_fd = dma_buf_fd(buf->dbuf, O_CLOEXEC); in rkisp_alloc_buffer()
158 if (buf->dma_fd < 0) { in rkisp_alloc_buffer()
160 ret = buf->dma_fd; in rkisp_alloc_buffer()
H A Dcommon.h118 int dma_fd; member
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
H A Dcommon.c154 buf->dma_fd = dma_buf_fd(buf->dbuf, O_CLOEXEC); in rkisp_alloc_buffer()
155 if (buf->dma_fd < 0) { in rkisp_alloc_buffer()
157 ret = buf->dma_fd; in rkisp_alloc_buffer()
H A Dcommon.h128 int dma_fd; member
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
H A Dparams_v20.c46 if (arg->buf_fd == params_vdev->buf_fec[i].dma_fd) { in fec_config()
105 if (params->fec_cfg.buf_fd == vdev->buf_fec[i].dma_fd) { in fec_data_abandon()
H A Dcommon.h84 int dma_fd; member
H A Dcommon.c105 buf->dma_fd = dma_buf_fd(buf->dbuf, O_CLOEXEC); in rkispp_allow_buffer()
106 if (buf->dma_fd < 0) { in rkispp_allow_buffer()
108 ret = buf->dma_fd; in rkispp_allow_buffer()
H A Dparams.c153 params->buf_fec[i].dma_fd, &params->buf_fec[i].dma_addr, fec_data->meshxf_oft, fec_data->meshyf_oft, in rkispp_param_init_fecbuf()
328 fecbuf->buf_fd[i] = params_vdev->buf_fec[i].dma_fd; in rkispp_params_get_fecbuf_inf()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
H A Dparams_v20.c49 if (arg->buf_fd == params_vdev->buf_fec[i].dma_fd) in fec_config()
107 if (params->fec_cfg.buf_fd == vdev->buf_fec[i].dma_fd) { in fec_data_abandon()
H A Dcommon.h84 int dma_fd; member
H A Dcommon.c102 buf->dma_fd = dma_buf_fd(buf->dbuf, O_CLOEXEC); in rkispp_allow_buffer()
103 if (buf->dma_fd < 0) { in rkispp_allow_buffer()
105 ret = buf->dma_fd; in rkispp_allow_buffer()
H A Dparams.c158 __func__, i, params->buf_fec[i].dma_fd, &params->buf_fec[i].dma_addr, in rkispp_param_init_fecbuf()
346 fecbuf->buf_fd[i] = params_vdev->buf_fec[i].dma_fd; in rkispp_params_get_fecbuf_inf()
/device/soc/rockchip/rk3588/hardware/mpp/include/
H A Dmpi_enc_utils.h112 int hal_mpp_encode(void *ctxs, int dma_fd, unsigned char *buf, size_t *buf_size);
/device/soc/rockchip/rk3399/hardware/mpp/src/
H A Dmpi_enc_utils.c719 int hal_mpp_encode(void *ctx, int dma_fd, unsigned char *buf, size_t *buf_size) in hal_mpp_encode() argument
743 info.fd = dma_fd; in hal_mpp_encode()
/device/soc/rockchip/rk3568/hardware/mpp/src/
H A Dmpi_enc_utils.c711 int hal_mpp_encode(void *ctx, int dma_fd, unsigned char *buf, size_t *buf_size) in hal_mpp_encode() argument
735 info.fd = dma_fd; in hal_mpp_encode()
/device/soc/rockchip/rk3588/hardware/mpp/src/
H A Dmpi_enc_utils.c458 int hal_mpp_encode(void *ctxs, int dma_fd, unsigned char *buf, size_t *buf_size) in hal_mpp_encode() argument
479 inf.fd = dma_fd; in hal_mpp_encode()
/device/soc/rockchip/common/hardware/mpp/src/
H A Dmpi_enc_utils.c696 int hal_mpp_encode(void *ctx, int dma_fd, unsigned char *buf, size_t *buf_size) in hal_mpp_encode() argument
720 info.fd = dma_fd; in hal_mpp_encode()

Completed in 17 milliseconds

12