intel / intel/libva-utils

overlay issue for vppblending

Open
#237 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
241
Forks
172
PR merge metrics
No merged PRs in 30d

Description

Hi @FurongZhang ,

I developed a patch that can let vppblending use the 1st input surface as the output for 2 inputs overlay case:
https://github.com/feiwan1/libva-utils/commit/5c7c0da5f5f06ea3992c6b7ecf7fdc78e56ebe0b

But the output looks incorrect and the 1st input image looks like cleaned even when set output_background_color as 0.
$ vppblending test.cfg (need to rename attach txt to cfg)
[test.txt](https://github.com/intel/libva-utils/files/6445483/test.txt)

Output yuv file:
![Screenshot from 2021-05-08 16-05-04](https://user-images.githubusercontent.com/25519094/117531845-37b0c480-b017-11eb-9538-1ec5fcd5fe73.png)

Expected result:
![Screenshot from 2021-05-08 16-09-16](https://user-images.githubusercontent.com/25519094/117531970-bdcd0b00-b017-11eb-9bf0-85a22e4737bc.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.