Home
last modified time | relevance | path

Searched +full:vcodec +full:- +full:lat (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/media/
Dmediatek,vcodec-subdev-decoder.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/media/mediatek,vcodec-subdev-decoder.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Yunfei Dong <yunfei.dong@mediatek.com>
20 +------------------------------------------------+-------------------------------------+
22 | input -> lat soc HW -> lat HW -> lat buffer --|--> lat buffer -> core HW -> output |
24 +------------||-------------||-------------------+---------------------||--------------+
25 || lat || | core workqueue <parent>
26 -------------||-------------||-------------------|---------------------||---------------
[all …]
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec_hw.c1 // SPDX-License-Identifier: GPL-2.0
24 .compatible = "mediatek,mtk-vcodec-lat",
28 .compatible = "mediatek,mtk-vcodec-core",
32 .compatible = "mediatek,mtk-vcodec-lat-soc",
41 struct platform_device *pdev = vdec_dev->plat_dev; in mtk_vdec_hw_prob_done()
50 of_id->compatible); in mtk_vdec_hw_prob_done()
56 hw_idx = (enum mtk_vdec_hw_id)(uintptr_t)of_id->data; in mtk_vdec_hw_prob_done()
57 if (!test_bit(hw_idx, vdec_dev->subdev_bitmap)) { in mtk_vdec_hw_prob_done()
58 dev_err(&pdev->dev, "vdec %d is not ready", hw_idx); in mtk_vdec_hw_prob_done()
59 return -EAGAIN; in mtk_vdec_hw_prob_done()
[all …]
Dvdec_msg_queue.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include <media/videobuf2-v4l2.h>
25 * struct vdec_msg_queue_ctx - represents a queue for buffers ready to be processed
27 * @ready_queue: list of ready lat buffer queues
28 * @ready_lock: spin lock to protect the lat buffer usage
35 /* protect lat buffer */
42 * struct vdec_lat_buf - lat buffer message used to store lat info for core decode
43 * @wdma_err_addr: wdma error address used for lat hardware
44 * @slice_bc_addr: slice bc address used for lat hardware
48 * @private_data: shared information used to lat and core hardware
[all …]
Dmtk_vcodec_drv.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include <media/v4l2-ctrls.h>
14 #include <media/v4l2-device.h>
15 #include <media/v4l2-ioctl.h>
16 #include <media/v4l2-mem2mem.h>
17 #include <media/videobuf2-core.h>
22 #define MTK_VCODEC_DEC_NAME "mtk-vcodec-dec"
23 #define MTK_VCODEC_ENC_NAME "mtk-vcodec-enc"
32 * enum mtk_hw_reg_idx - MTK hw register base index
56 * enum mtk_instance_type - The type of an MTK Vcodec instance.
[all …]