Home
last modified time | relevance | path

Searched full:vdec (Results 1 – 25 of 88) sorted by relevance

1234

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/
H A Damlogic,gx-vdec.yaml5 $id: "http://devicetree.org/schemas/media/amlogic,gx-vdec.yaml#"
20 - ESPARSER is a bitstream parser that outputs to a VIFIFO. Further VDEC blocks
25 Both VDEC_1 and VDEC_HEVC share the "vdec" IRQ and as such cannot run
33 - amlogic,gxbb-vdec # GXBB (S905)
34 - amlogic,gxl-vdec # GXL (S905X, S905D)
35 - amlogic,gxm-vdec # GXM (S912)
36 - const: amlogic,gx-vdec
38 - amlogic,g12a-vdec # G12A (S905X2, S905D2)
39 - amlogic,sm1-vdec # SM1 (S905X3, S905D3)
46 - const: vdec
[all …]
H A Drockchip,vdec.yaml4 $id: http://devicetree.org/schemas/media/rockchip,vdec.yaml#
7 title: Rockchip Video Decoder (VDec) Device Tree Bindings
18 const: rockchip,rk3399-vdec
62 vdec: video-codec@ff660000 {
63 compatible = "rockchip,rk3399-vdec";
/OK3568_Linux_fs/kernel/drivers/staging/media/meson/vdec/
H A Dvdec_platform.c8 #include "vdec.h"
25 .firmware_path = "meson/vdec/gxbb_h264.bin",
37 .firmware_path = "meson/vdec/gxl_mpeg12.bin",
48 .firmware_path = "meson/vdec/gxl_mpeg12.bin",
63 .firmware_path = "meson/vdec/gxl_vp9.bin",
75 .firmware_path = "meson/vdec/gxl_h264.bin",
87 .firmware_path = "meson/vdec/gxl_mpeg12.bin",
98 .firmware_path = "meson/vdec/gxl_mpeg12.bin",
113 .firmware_path = "meson/vdec/gxm_h264.bin",
125 .firmware_path = "meson/vdec/gxl_mpeg12.bin",
[all …]
H A DMakefile4 meson-vdec-objs = esparser.o vdec.o vdec_helpers.o vdec_platform.o
5 meson-vdec-objs += vdec_1.o vdec_hevc.o
6 meson-vdec-objs += codec_mpeg12.o codec_h264.o codec_hevc_common.o codec_vp9.o
8 obj-$(CONFIG_VIDEO_MESON_VDEC) += meson-vdec.o
H A Dvdec.h95 * struct amvdec_ops - vdec operations
97 * @start: mandatory call when the vdec needs to initialize
98 * @stop: mandatory call when the vdec needs to stop
99 * @conf_esparser: mandatory call to let the vdec configure the ESPARSER
102 * @use_offsets: mandatory call. Returns 1 if the VDEC supports vififo offsets
152 * @vdec_ops: the VDEC operations that support this format
182 * @core: reference to the vdec core struct
188 * @fmt_out: vdec pixel format for the OUTPUT queue
216 * @last_irq_jiffies: tracks last time the vdec triggered an IRQ
H A Desparser.h12 #include "vdec.h"
20 * @core vdec core struct
H A Dvdec.c23 #include "vdec.h"
459 strscpy(cap->driver, "meson-vdec", sizeof(cap->driver)); in vdec_querycap()
461 strscpy(cap->bus_info, "platform:meson-vdec", sizeof(cap->bus_info)); in vdec_querycap()
978 { .compatible = "amlogic,gxbb-vdec",
980 { .compatible = "amlogic,gxm-vdec",
982 { .compatible = "amlogic,gxl-vdec",
984 { .compatible = "amlogic,g12a-vdec",
986 { .compatible = "amlogic,sm1-vdec",
1061 irq = platform_get_irq_byname(pdev, "vdec"); in vdec_probe()
1067 "vdec", core); in vdec_probe()
[all …]
H A Dcodec_vp9.h9 #include "vdec.h"
H A Dvdec_hevc.h9 #include "vdec.h"
H A Dcodec_mpeg12.h10 #include "vdec.h"
H A Dcodec_h264.h10 #include "vdec.h"
H A Dvdec_1.h10 #include "vdec.h"
H A Dvdec_1.c175 /* Configure the vdec clk to the maximum available */ in vdec_1_start()
196 /* enable VDEC Memories */ in vdec_1_start()
/OK3568_Linux_fs/kernel/drivers/clk/mediatek/
H A DMakefile16 obj-$(CONFIG_COMMON_CLK_MT6779_VDECSYS) += clk-mt6779-vdec.o
23 obj-$(CONFIG_COMMON_CLK_MT6797_VDECSYS) += clk-mt6797-vdec.o
33 obj-$(CONFIG_COMMON_CLK_MT2701_VDECSYS) += clk-mt2701-vdec.o
40 obj-$(CONFIG_COMMON_CLK_MT2712_VDECSYS) += clk-mt2712-vdec.o
55 obj-$(CONFIG_COMMON_CLK_MT8167_VDECSYS) += clk-mt8167-vdec.o
68 obj-$(CONFIG_COMMON_CLK_MT8183_VDECSYS) += clk-mt8183-vdec.o
/OK3568_Linux_fs/kernel/drivers/media/platform/mtk-vcodec/
H A DMakefile7 mtk-vcodec-dec-y := vdec/vdec_h264_if.o \
8 vdec/vdec_vp8_if.o \
9 vdec/vdec_vp9_if.o \
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/soc/mediatek/
H A Dscpsys.txt37 Required clocks for MT2712: "mm", "mfg", "venc", "jpgdec", "audio", "vdec"
42 Required clocks for MT6797: "mm", "mfg", "vdec"
48 - vdec-supply: Power supply for the vdec power domain
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dmcp77.c208 const int vdec = cstate->domain[nv_clk_src_vdec]; in mcp77_clk_calc() local
262 out = calc_P(core, vdec, &divs); in mcp77_clk_calc()
263 clock = calc_P(500000, vdec, &P1); in mcp77_clk_calc()
264 if(abs(vdec - out) <= abs(vdec - clock)) { in mcp77_clk_calc()
291 nvkm_debug(subdev, "vdec: 500MHz\n"); in mcp77_clk_calc()
293 nvkm_debug(subdev, "vdec: core\n"); in mcp77_clk_calc()
409 { nv_clk_src_vdec , 0xff, 0, "vdec", 1000 },
H A Dnv50.c376 const int vdec = cstate->domain[nv_clk_src_vdec]; in nv50_clk_calc() local
393 /* vdec: avoid modifying xpll until we know exactly how the other in nv50_clk_calc()
397 if (vdec) { in nv50_clk_calc()
399 freq = calc_div(core, vdec, &P1); in nv50_clk_calc()
406 out = calc_div(out, vdec, &P2); in nv50_clk_calc()
409 if (abs(vdec - freq) <= abs(vdec - out)) { in nv50_clk_calc()
443 /* vdec/dom6: switch to "safe" clocks temporarily, update dividers in nv50_clk_calc()
/OK3568_Linux_fs/kernel/drivers/staging/media/rkvdec/
H A DMakefile1 obj-$(CONFIG_VIDEO_ROCKCHIP_VDEC) += rockchip-vdec.o
3 rockchip-vdec-y += rkvdec.o rkvdec-h264.o
H A DKconfig16 will be called rockchip-vdec.
/OK3568_Linux_fs/external/rockit/mpi/example/mod/
H A Dtest_mpi_vdec.cpp203 RK_LOGE("vdec %d SetModParam failed! errcode %x", ctx->u32ChnIndex, s32Ret); in mpi_create_vdec()
221 RK_LOGE("create %d vdec failed! ", ctx->u32ChnIndex); in mpi_create_vdec()
275 RK_LOGE("attatc vdec mb pool %d failed! ", ctx->u32ChnIndex); in mpi_create_vdec()
701 "vdec channel index. default(0).", NULL, 0, 0), in main()
703 "vdec channel count. default(1).", NULL, 0, 0), in main()
705 "vdec decode mode. range(0:StreamMode, 1:FrameMode). default(0)", NULL, 0, 0), in main()
707 "vdec decode output buffer count, default(8)", NULL, 0, 0), in main()
709 "vdec compress mode, default(0); 0: NONE, 1: AFBC_16X16", NULL, 0, 0), in main()
H A Dtest_mpi_all.cpp112 RK_LOGE("create %d vdec failed! ", ctx->u32ChnIndex); in mpi_create_vdec()
657 // bind vdec[0] to vo [0, 0] [1, 0] in unit_test_mpi_all()
658 // bind vdec[1] to vo [0, 1] [1, 1] in unit_test_mpi_all()
739 //bind venc 0 to vdec 1 in unit_test_mpi_all()
882 //unbind venc 0 to vdec 1 in unit_test_mpi_all()
949 RK_PRINT("vdec width : %d\n", ctx->u32SrcWidth); in mpi_all_test_show_options()
950 RK_PRINT("vdec height : %d\n", ctx->u32SrcHeight); in mpi_all_test_show_options()
951 RK_PRINT("vdec codecId : %d\n", ctx->enCodecId); in mpi_all_test_show_options()
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxm.dtsi194 &vdec {
195 compatible = "amlogic,gxm-vdec", "amlogic,gx-vdec";
/OK3568_Linux_fs/kernel/drivers/video/fbdev/matrox/
H A Dmatroxfb_maven.c884 int vdec; in maven_compute_timming() local
899 vdec = f1; in maven_compute_timming()
901 vdec = m->vlines * 32768 / mt->VTotal; in maven_compute_timming()
904 vdec = 0x8000; in maven_compute_timming()
905 if (vdec > 0x8000) in maven_compute_timming()
906 vdec = 0x8000; in maven_compute_timming()
907 vlen = (vslen + umargin + mt->VDisplay) * vdec; in maven_compute_timming()
913 vdec--; in maven_compute_timming()
914 m->regs[0x91] = vdec; in maven_compute_timming()
915 m->regs[0x92] = vdec >> 8; in maven_compute_timming()
/OK3568_Linux_fs/kernel/drivers/media/pci/saa7146/
H A Dhexium_gemini.c184 static int hexium_set_standard(struct hexium *hexium, struct hexium_data *vdec) in hexium_set_standard() argument
191 while (vdec[i].adr != -1) { in hexium_set_standard()
192 data.byte = vdec[i].byte; in hexium_set_standard()
193 …if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x6c, 0, I2C_SMBUS_WRITE, vdec[i].adr, I2C_SMBUS_BYT… in hexium_set_standard()

1234