Skip to content

Commit

Permalink
[Encode] Change new encode mode from 64 to 41
Browse files Browse the repository at this point in the history
Change new encode mode from 64 to 41 to avoid perf tag conflicts with AVC.
Perf tag is calculated by mode & 0xf, AVC mode is 32 and new encode mode was 64, both yielding 0 as perf tags.
  • Loading branch information
walter-bai authored and intel-mediadev committed Sep 24, 2024
1 parent 9787ee0 commit 63066e5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions media_common/agnostic/common/codec/shared/codec_def_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,8 @@ enum CODECHAL_MODE
CODECHAL_ENCODE_MODE_HEVC = 38,
CODECHAL_ENCODE_MODE_VP9 = 39,
CODECHAL_ENCODE_MODE_AV1 = 40,
CODECHAL_ENCODE_MODE_END = 41,

CODECHAL_Rsvd = 64,
CODECHAL_Rsvd = 41,
CODECHAL_ENCODE_MODE_END = 42,

CODECHAL_UNSUPPORTED_MODE = 96
};
Expand Down

0 comments on commit 63066e5

Please sign in to comment.