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

[VP]add VP sample code for procAmp(HSBC) and sharpness usage. #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
5 changes: 4 additions & 1 deletion videoprocess/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

bin_PROGRAMS = vavpp vppscaling_csc vppdenoise vppsharpness vppchromasitting
bin_PROGRAMS = vavpp vppscaling_csc vppdenoise vppsharpness vppchromasitting vppprocAmp_sharpness

AM_CPPFLAGS = \
-Wall \
Expand Down Expand Up @@ -49,6 +49,9 @@ vppsharpness_LDADD = $(TEST_LIBS)
vppchromasitting_SOURCES = vppchromasitting.cpp
vppchromasitting_LDADD = $(TEST_LIBS)

vppprocAmp_sharpness_SOURCES = vppprocAmp_sharpness.cpp
vppprocAmp_sharpness_LDADD = $(TEST_LIBS)

valgrind:(bin_PROGRAMS)
for a in(bin_PROGRAMS); do \
valgrind --leak-check=full --show-reachable=yes .libs/$$a; \
Expand Down
40 changes: 40 additions & 0 deletions videoprocess/process_procAmp_sharpness.cfg.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Configuration information for video process test case.
# This application will firstly load yuv frames(NV12/YV12/I420,YUY2) to one type of surface(NV12,YUY2)
# you require. After video processing, the processed content (NV12,YUY2 surface)
# will be stored to frames(NV12/YV12/I420/YUY2 format in file).
# Supported features include: procAmp(HSBC-Hue,Saturation,Brightness, Contrast) and sharpness. Each
# time this app will suppport two kind of processing

#1.Source (NV12/YV12/I420/YUY2) file information
SRC_FILE_NAME: ./../../../../../share/Content/flowersky_352x288.nv12
SRC_FRAME_WIDTH: 352
SRC_FRAME_HEIGHT: 288
#NV12/YUY2 format
SRC_FRAME_FORMAT: NV12

#Note NV12/YV12/I420,YUY2 format
SRC_FILE_FORMAT: NV12

#2.Destination (NV12/YV12/I420,YUY2) file information
DST_FILE_NAME: ./flowersky_352x288_writer352x288.nv12

#Note NV12/YV12/I420/YUY2 format
DST_FILE_FORMAT: NV12

#3.How many frames to be processed
FRAME_SUM: 2

4. Color balance parameters
#(-180.0 ~ 180.0, default 0.0, step:0.1)
COLOR_BALANCE_HUE: -180
#(0.0 ~ 10.0, default 1.0, step:0.01)
COLOR_BALANCE_SATURATION: 1.0
#(-100 ~ 100, default 0.0, step:0.1)
COLOR_BALANCE_BRIGHTNESS: 0.0
#(0.0 ~ 10.0, default 1.0, step:0.01)
COLOR_BALANCE_CONTRAST: 1.0

#5. Sharpening parameters
# (0 ~ 64, default 44)
SHARPENING_INTENSITY: 44

Loading