Skip to content

Commit

Permalink
Media - License Issue Fix (#990)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiritigowda committed Oct 27, 2022
1 parent 36ffcd3 commit 87afc85
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
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

0 comments on commit 87afc85

Please sign in to comment.