# Compile the test using the Makefile provided. The command is printed so that
# it can be modified for temporary tests if needed.
# The Q6VERSION should be set if different than V62.
make

# The test is simulated using the following command:
make sim

# The test with timing can be simulated as follows:
make sim_timing
# The cycles/pixel are relative to the Luma plane and not the Chroma plane.

# Other sim options can be manually added by copying the command and
# appending to the end of it.
    
# The output will not match the golden exactly. There are 2 rows of pixels on each boundary that will be incorrect
# after the downscale, after the upscale these 2 pixels will cause at most 14 pixels in all to be off around each boundary.
# There are 2 bytes/pixel in the Chroma plane for each column so we expect 28 bytes to be mismatched at the columns
# and 14 at the rows.
# To check this, the following script can be run:
python ../../../compare_images.py 1280 360 output/720p/output.uv golden/720p/blended.uv --ignore_col_boundary 28 --ignore_row_boundary 14 

