Skip to content

Commit

Permalink
Enhance the jobs defination
Browse files Browse the repository at this point in the history
  • Loading branch information
baconYao committed May 1, 2024
1 parent 09f57f1 commit 88fa256
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Readme for Video Codec Jobs

This readme provides an overview of the different video codec tests available in this project
This readme provides an overview of the different video codec scenarios

## Usage

Expand All @@ -12,6 +12,6 @@ Before starting the testing, please read the [OQ013 - Video Codec Testing Docume

#### Goal

The purpose of this scenario is to use MD5 checksum comparison to ensure that Gstreamer Video-related decoders, under different combinations (decoder plugin, resolution, and color space), produce MD5 checksums that match those of the Golden Sample.
The purpose of this scenario is to use MD5 checksum comparison to ensure that Gstreamer Video-related decoders, under different combinations (decoder plugin, resolution, and color space), produce MD5 checksums that match those of the Golden Sample.

Please reference [v4l2_video_decoder_md5_checksum_comparison](https://docs.google.com/document/d/1yuAdse3u64QZGCL2VQ4_PpuPIC0i1yXqHxKI6660WFg/edit#heading=h.rh805u3vq3ig) to learn the detail.
Please reference [v4l2_video_decoder_md5_checksum_comparison](https://docs.google.com/document/d/1yuAdse3u64QZGCL2VQ4_PpuPIC0i1yXqHxKI6660WFg/edit#heading=h.rh805u3vq3ig) to learn the detail.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
id: ce-oem-video-codec/resource-gst_v4l2_video_decoder_md5_checksum_comparison
_summary: Generates mappings for gst_v4l2_video_decoder_md5_checksum_comparison
_description:
Generate resource for gst_v4l2_video_decoder_md5_checksum_comparison scenario.
id: video_codec_resource
_summary: Generates mappings for all Vedio Codec Scenarios
_description: Generate resource for all Video Codec scenarios.
estimated_duration: 0.02
category_id: video-codec
plugin: resource
Expand All @@ -11,18 +10,18 @@ command:

unit: template
template-engine: jinja2
template-resource: ce-oem-video-codec/resource-gst_v4l2_video_decoder_md5_checksum_comparison
template-resource: video_codec_resource
template-filter: video_codec_resource.scenario == "gst_v4l2_video_decoder_md5_checksum_comparison"
template-unit: job
template-id: ce-oem-video-codec/gst_v4l2_video_decoder_md5_checksum_comparison
id: ce-oem-video-codec/gst_v4l2_video_decoder_md5_checksum_comparison-{{ decoder_plugin }}-{{ width }}x{{ height }}-{{ color_space }}
id: ce-oem-video-codec/{{ scenario }}-{{ decoder_plugin }}-{{ width }}x{{ height }}-{{ color_space }}
_summary: MD5 checksum comparison {{ width }}x{{ height }}-{{ decoder_plugin }}-{{ color_space }}
_description: Compare the MD5 checksum to golden reference by decoding the {{ width }}x{{ height }}-{{ decoder_plugin }}-{{ color_space }} video via gstreamer
plugin: shell
category_id: video-codec
estimated_duration: 1s
imports: from com.canonical.plainbox import manifest
requires: manifest.has_video_codec == 'True'
flags: also-after-suspend
environ: GST_LAUNCH_BIN
command:
gst_v4l2_video_decoder_md5_checksum_comparison.py -dp {{decoder_plugin}} -cs {{color_space}} -gp {{golden_sample_file}} -gmp {{golden_md5_checkum_file}}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ unit: test plan
_name: Video Codec auto tests
_description: Automated tests for Video Codec in before suspend and post suspend stage
bootstrap_include:
ce-oem-video-codec/resource-gst_v4l2_video_decoder_md5_checksum_comparison
video_codec_resource
include:
ce-oem-video-codec/gst_v4l2_video_decoder_md5_checksum_comparison

0 comments on commit 88fa256

Please sign in to comment.