Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[caps] add ARL platform support #696

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 111 additions & 0 deletions lib/caps/ARL/iHD
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
###
### Copyright (C) 2024 Intel Corporation
###
### SPDX-License-Identifier: BSD-3-Clause
###

###
### kate: syntax python;
###

# https://github.com/intel/media-driver/blob/master/docs/media_features.md
caps = dict(
decode = dict(
avc = dict(maxres = res4k , fmts = ["NV12"]),
mpeg2 = dict(maxres = res2k , fmts = ["NV12"]),
jpeg = dict(maxres = res16k, fmts = ["NV12", "411P", "422H", "422V", "444P", "Y800", "IMC3", "BGRP", "400P", "YUY2", "UYVY", "ARGB"]),
hevc_8 = dict(
maxres = res16k,
fmts = ["NV12", "YUY2", "AYUV"],
features = dict(scc = True, msp = True),
),
hevc_10 = dict(maxres = res16k , fmts = ["P010", "Y210", "Y410"]),
hevc_12 = dict(maxres = res16k , fmts = ["P012", "Y212", "Y412"]),
vp8 = dict(maxres = res4k , fmts = ["NV12"]),
vp9_8 = dict(maxres = res16k , fmts = ["NV12", "AYUV"]),
vp9_10 = dict(maxres = res16k , fmts = ["P010", "Y410"]),
vp9_12 = dict(maxres = res16k , fmts = ["P012", "Y412"]),
av1_8 = dict(maxres = res16k , fmts = ["NV12"]),
av1_10 = dict(maxres = res16k , fmts = ["P010"]),
),
encode = dict(
avc = dict(maxres = res4k , fmts = ["NV12", "YUY2", "YUYV", "YVYU", "UYVY", "AYUV"]),
hevc_8 = dict(
maxres = res16k,
fmts = ["NV12", "YUY2", "AYUV"],
features = dict(scc = True),
),
hevc_10 = dict(maxres = res16k , fmts = ["P010", "Y210", "Y410"]),
vp9_8 = dict(maxres = res8k , fmts = ["NV12", "AYUV"]),
vp9_10 = dict(maxres = res8k , fmts = ["P010", "Y410"]),
av1_8 = dict(
maxres = res8k,
fmts = ["NV12"],
),
av1_10 = dict(
maxres = res8k,
fmts = ["P010"],
),
),
vdenc = dict(
jpeg = dict(maxres = res16k, fmts = ["NV12", "YUY2", "UYVY", "ABGR", "Y800"]),
),
vpp = dict(
# brightness, contrast, hue and saturation
procamp = dict(
ifmts = ["NV12", "P010", "YUY2", "Y210", "AYUV", "Y410"],
ofmts = ["NV12", "P010", "YUY2", "Y210", "AYUV", "Y410", "BGRA"],
),
# mirroring and rotation
transpose = dict(
ifmts = ["NV12", "YV12", "I420", "P010", "YUY2", "UYVY", "Y210", "AYUV", "Y410", "BGRA"],
ofmts = ["NV12", "YV12", "I420", "P010", "YUY2", "Y210", "AYUV", "Y410", "BGRA"],
),
crop = dict(
ifmts = ["NV12", "YV12", "I420", "P010", "YUY2", "UYVY", "AYUV", "Y410", "BGRA"],
ofmts = ["NV12", "YV12", "I420", "P010", "YUY2", "AYUV", "Y410", "BGRA"],
),
sharpen = dict(
ifmts = ["NV12", "P010", "YUY2", "UYVY", "AYUV", "Y410", "BGRA"],
ofmts = ["NV12", "P010", "YUY2", "AYUV", "Y410", "BGRA"],
),
deinterlace = dict(
bob = dict(
ifmts = ["NV12", "YV12", "P010", "YUY2"],
ofmts = ["NV12", "YV12", "P010", "YUY2"],
),
motion_adaptive = dict(
ifmts = ["NV12", "P010", "YUY2"],
ofmts = ["NV12", "P010", "YUY2"],
),
),
denoise = dict(
ifmts = ["NV12", "P010", "YUY2"],
ofmts = ["NV12", "P010", "YUY2"],
),
scale = dict(
ifmts = ["NV12", "YV12", "I420", "P010", "YUY2", "UYVY", "Y210", "AYUV", "Y410", "BGRA"],
ofmts = ["NV12", "YV12", "I420", "P010", "YUY2", "Y210", "AYUV", "Y410", "BGRA"],
),
# colorspace conversion
csc = dict(
ifmts = ["NV12", "YV12", "I420", "P010", "YUY2", "UYVY", "Y210", "AYUV", "Y410", "BGRA"],
ofmts = ["NV12", "YV12", "I420", "P010", "YUY2", "Y210", "AYUV", "Y410", "BGRA", "BGRX"],
),
blend = dict(
ifmts = ["NV12", "YV12", "I420", "P010", "YUY2", "UYVY", "Y210", "AYUV", "Y410", "BGRA"],
ofmts = ["NV12", "YV12", "I420", "P010", "YUY2", "Y210", "AYUV", "Y410", "BGRA", "BGRX"],
),
# tonemap
tonemap = dict(
h2s = dict(
ifmts = ["P010"],
ofmts = ["NV12", "P010"],
),
),
range = dict(
ifmts = ["NV12", "P010"],
ofmts = ["NV12", "P010"],
),
),
)
13 changes: 13 additions & 0 deletions lib/caps/ARL/info
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
###
### Copyright (C) 2024 Intel Corporation
###
### SPDX-License-Identifier: BSD-3-Clause
###

###
### kate: syntax python;
###

info = dict(
gpu = dict(gen = 13),
)