intel / intel/media-driver

[Bug]: AV1 doesn't expose VASurfaceAttribMinWidth

Open
#2,023 0 comments 0 reactions 2 assignees Claimed by @XinfengZhang View on GitHub
Dominant language
C
Stars
1.2k
Forks
383
Avg merge
8d 18h
Merged PRs (30d)
4

Description

### Which component impacted?

_No response_

### Is it regression? Good in old configuration?

None

### What happened?

This issue is LLM generated

decode_av1_basic_feature.cpp:198
```
// Frame Width/Frame Height, valid range is [15, 16383]
if (m_av1PicParams->m_frameWidthMinus1 < 15 || m_av1PicParams->m_frameHeightMinus1 < 15)
```

It does expose VASurfaceAttribMaxWidth, but not VASurfaceAttribMinWidth.

capstable_data_av1_decode_xe3_lpm_r0_specific.h:91
```
{VASurfaceAttribMaxWidth, VA_SURFACE_ATTRIB_GETTABLE, {VAGenericValueTypeInteger, {CODEC_16K_MAX_PIC_WIDTH}}},
{VASurfaceAttribMaxHeight, VA_SURFACE_ATTRIB_GETTABLE, {VAGenericValueTypeInteger, {CODEC_16K_MAX_PIC_HEIGHT}}},
```

### What's the usage scenario when you are seeing the problem?

Playback

### What impacted?

_No response_

### Debug Information

_No response_

### Do you want to contribute a patch to fix the issue?

None

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.