Skip to content

Commit

Permalink
caps: remove unsupported vpp methods for vaon12
Browse files Browse the repository at this point in the history
Add a os check to remove only transpose and keep rotation and mirroring.

Signed-off-by: Tong Wu <[email protected]>
  • Loading branch information
tong1wu authored and uartie committed Mar 1, 2024
1 parent 8dd65ab commit 2361799
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
18 changes: 0 additions & 18 deletions lib/caps/DG2/vaon12
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,10 @@ caps = dict(
hevc_10 = dict(maxres = res16k , fmts = ["P010"]),
),
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", "P010", "YUY2", "UYVY", "Y210", "AYUV", "Y410", "BGRA"],
ofmts = ["NV12", "P010", "YUY2", "Y210", "AYUV", "Y410", "BGRA"],
),
crop = dict(
ifmts = ["NV12", "P010", "YUY2", "UYVY", "AYUV", "Y410", "BGRA"],
ofmts = ["NV12", "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"],
Expand All @@ -61,10 +47,6 @@ caps = dict(
ofmts = ["NV12", "P010", "YUY2"],
),
),
denoise = dict(
ifmts = ["NV12", "P010", "YUY2"],
ofmts = ["NV12", "P010", "YUY2"],
),
scale = dict(
ifmts = ["NV12", "P010", "YUY2", "UYVY", "Y210", "AYUV", "Y410", "BGRA"],
ofmts = ["NV12", "P010", "YUY2", "Y210", "AYUV", "Y410", "BGRA"],
Expand Down
19 changes: 0 additions & 19 deletions lib/caps/RKL/vaon12
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,10 @@ caps = dict(
),
),
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", "P010", "YUY2", "UYVY", "Y210", "AYUV", "Y410", "BGRA"],
ofmts = ["NV12", "P010", "YUY2", "Y210", "AYUV", "Y410", "BGRA"],
),
crop = dict(
ifmts = ["NV12", "P010", "YUY2", "UYVY", "AYUV", "Y410", "BGRA"],
ofmts = ["NV12", "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"],
Expand All @@ -65,11 +51,6 @@ caps = dict(
ofmts = ["NV12", "P010", "YUY2"],
),
),
denoise = dict(
ifmts = ["NV12", "P010", "YUY2"],
ofmts = ["NV12", "P010", "YUY2"],
chroma = True,
),
scale = dict(
ifmts = ["NV12", "P010", "YUY2", "UYVY", "Y210", "AYUV", "Y410", "BGRA"],
ofmts = ["NV12", "P010", "YUY2", "Y210", "AYUV", "Y410", "BGRA"],
Expand Down

0 comments on commit 2361799

Please sign in to comment.