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

Media - License Issue Fix #990

Merged
merged 1 commit into from
Oct 25, 2022
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
Binary file removed data/videos/test.mp4
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/amd_media_tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
runvx -affinity:GPU -frames:0,eof file gdf/decoder.gdf
```

**NOTE:** Make sure to edit `gdf/decoder.gdf` and add the full path to `${FULL_PATH}/MIVisionX/tests/amd_media_tests/gdf/data/test.mp4`
**NOTE:** Make sure to edit `gdf/decoder.gdf` and add the full path to `${FULL_PATH}/MIVisionX/data/videos/AMD_driving_virtual_20.mp4`

**Sample expected output:**
```
INFO: reading 1920x1080 into slice#0 from $(FULL_PATH)/MIVisionX/tests/amd_media_tests/test.mp4
INFO: reading 1920x1080 into slice#0 from XXXXXXXXX/MIVisionX/data/videos/AMD_driving_virtual_20.mp4
csv,HEADER ,STATUS, COUNT,cur-ms,avg-ms,min-ms,clenqueue-ms,clwait-ms,clwrite-ms,clread-ms
csv,OVERALL, PASS, 0, , 0.00, 0.00, 0.00, 0.00, 0.00, 0.00 (median 0.000)
> total elapsed time: 0.00 sec<br>
Expand Down
Binary file removed tests/amd_media_tests/gdf/data/test.mp4
Binary file not shown.
1 change: 0 additions & 1 deletion tests/amd_media_tests/gdf/data/test.yuv

This file was deleted.

2 changes: 1 addition & 1 deletion tests/amd_media_tests/gdf/decoder.gdf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import vx_amd_media

# read input sequences
data vid1 = scalar:STRING,"1,${FULL_PATH}/MIVisionX/data/videos/test.mp4:0"
data vid1 = scalar:STRING,"1,${ADD_FULL_PATH_TO}/MIVisionX/data/videos/AMD_driving_virtual_20.mp4:0"
data nvimg = image:1920,1080,NV12:write,decoder_output.yuv
data loop = scalar:INT32,0
data gpu_out = scalar:INT32,0
Expand Down
2 changes: 1 addition & 1 deletion tests/amd_media_tests/gdf/encoder.gdf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import vx_amd_media

# read input sequences
data yuvimg = image:1280,720,NV12:read,data/test.yuv
data yuvimg = image:1280,720,NV12:read,/ADD/PATH/TO/Image.yuv
data vid1 = scalar:STRING,"encoder_output.264,4,30,0,15"
data aux_output = array:UINT8,256
data gpu_mode = scalar:BOOL,FALSE
Expand Down