Closed Bug 1831038 Opened 2 years ago Closed 2 years ago

[Linux/VA-API] Load accelerated formats from vaapi test and don't probe unsupported formats on RDD process

Categories

(Core :: Audio/Video: Playback, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

We know which formats are accelerated from vaapitest so we don't need to probe them again in RDD process.

  • Add H264_HW_DECODE / AV1_HW_DECODE features to track H264/AV1 decoding state on Linux.
  • Add UseH264HwDecode / UseAV1HwDecode gfx variables to route decode state to RDD process.
  • Init H264_HW_DECODE / AV1_HW_DECODE features on Linux only and skip all HW decoding features init if VA-API is not supported.
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/6e6af58dbf24 Add FEATURE_H264_HW_DECODE / FEATURE_AV1_HW_DECODE to track HW decode state on Linux r=alwu https://hg.mozilla.org/integration/autoland/rev/b251cdbff2c2 [Linux] Init FEATURE_*_HW_DECODE features according to VA-API test results r=emilio https://hg.mozilla.org/integration/autoland/rev/66bf60da3f97 [Linux] Don't probe VA-API for unsupported formats r=alwu
Regressions: 1836021
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: