Skip to content

Commit

Permalink
fixup! Resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanchez87 committed Jul 22, 2024
1 parent 269acdb commit 42996d5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
13 changes: 2 additions & 11 deletions scripts/gen_jct_vc.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/usr/bin/env python3

# Fluster - testing framework for decoders conformance
# Copyright (C) 2020, Fluendo, S.A.
# Copyright (C) 2020-2024, Fluendo, S.A.
# Author: Pablo Marcos Oltra <[email protected]>, Fluendo, S.A.
# Author: Andoni Morales Alastruey <[email protected]>, Fluendo, S.A.
# Author: Ruben Sanchez Sanchez <[email protected]>, Fluendo, S.A.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public License
Expand Down Expand Up @@ -35,7 +36,6 @@
# pylint: enable=wrong-import-position

BASE_URL = "https://www.itu.int/"
H266_URL = BASE_URL + "wftp3/av-arch/jvet-site/bitstream_exchange/VVC/draft_conformance/"
H265_URL = BASE_URL + "wftp3/av-arch/jctvc-site/bitstream_exchange/draft_conformance/"
BITSTREAM_EXTS = (
".bin",
Expand Down Expand Up @@ -287,12 +287,3 @@ def _fill_checksum_h265(self, test_vector, dest_dir):
True
)
generator.generate(not args.skip_download, args.jobs)

generator = JCTVCGenerator(
'draft6',
'JVET-VVC_draft6',
Codec.H266,
'JVET VVC draft6',
H266_URL
)
generator.generate(not args.skip_download, args.jobs)
10 changes: 1 addition & 9 deletions scripts/gen_jvet.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,6 @@ def generate(self, download, jobs):
hparser.feed(data)

for url in hparser.links[1:]:
# The first item in the AVCv1 list is a readme file
if "00readme_H" in url:
continue
elif "replaced" in url:
# This is in HEVC-SHVC, we don't want that.
continue
file_url = os.path.basename(url)
name = os.path.splitext(file_url)[0]
file_input = f"{name}.bin"
Expand Down Expand Up @@ -139,9 +133,7 @@ def generate(self, download, jobs):
if not test_vector.input_file:
raise Exception(f"Bitstream file not found in {dest_dir}")
test_vector.source_checksum = utils.file_checksum(dest_path)
if "main10" in test_vector.name.lower():
test_vector.output_format = OutputFormat.YUV420P10LE
elif self.use_ffprobe:
if self.use_ffprobe:
ffprobe = utils.normalize_binary_cmd('ffprobe')
command = [ffprobe, '-v', 'error', '-select_streams', 'v:0',
'-show_entries', 'stream=pix_fmt', '-of',
Expand Down
2 changes: 1 addition & 1 deletion scripts/gen_jvt.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3

# Fluster - testing framework for decoders conformance
# Copyright (C) 2024, Fluendo, S.A.
# Copyright (C) 2020-2024, Fluendo, S.A.
# Author: Ruben Sanchez Sanchez <[email protected]>, Fluendo, S.A.
#
# This library is free software; you can redistribute it and/or
Expand Down

0 comments on commit 42996d5

Please sign in to comment.