# Copyright (C) 2025 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # proto-file: third_party/android/mediapc_requirements/requirements.proto # proto-message: Requirement id: "5.1/H-1-14" name: "AV1 Hardware Decoder" description: "AV1 hardware decoder\n- Film grain effect" test_configs: { key: "" value: { description: "Default test config" proto_field_number: 28 } } measurements: { key: "av1_decoder_requirement_boolean" value: { description: "Is AV1 hardware decoder supported." measurement_type: MEASUREMENT_TYPE_BOOL comparison: COMPARISON_EQUAL proto_field_number: 3 } } measurements: { key: "av1_frames_without_film_grain" value: { description: "Number of frames without film grain effect." measurement_type: MEASUREMENT_TYPE_INT comparison: COMPARISON_EQUAL proto_field_number: 4 } } specs { key: 33 value { mpc: MEDIA_PERFORMANCE_CLASS_13 specification: "MUST support AV1 hardware decoder Main 10, Level 4.1." required_values: { key: "av1_decoder_requirement_boolean" value { bool_value: true } } } } specs { key: 34 value { mpc: MEDIA_PERFORMANCE_CLASS_14 specification: "MUST support AV1 hardware decoder Main 10, Level 4.1 and film grain." required_values: { key: "av1_decoder_requirement_boolean" value { bool_value: true } } } } specs { key: 35 value { mpc: MEDIA_PERFORMANCE_CLASS_15 specification: "MUST support AV1 hardware decoder Main 10, Level 4.1 with film grain effect over GPU composition." required_values: { key: "av1_decoder_requirement_boolean" value { bool_value: true } } required_values: { key: "av1_frames_without_film_grain" value { int_value: 0 } } } } specs { key: 37 value { mpc: MEDIA_PERFORMANCE_CLASS_17 specification: "MUST support AV1 hardware decoder Main 10, Level 4.1 with film grain effect over GPU composition." required_values: { key: "av1_decoder_requirement_boolean" value { bool_value: true } } required_values: { key: "av1_frames_without_film_grain" value { int_value: 0 } } } }