Skip to content

Commit

Permalink
Fix cts DecodeGlAccuracyTest fail
Browse files Browse the repository at this point in the history
Previously the dataspace data for YUV is hardcoded. Since gralloc4 can
retrieve the dataspace data now, we just set a default value and
try to get real value from gralloc4.

Tracked-On: OAM-121985
Signed-off-by: ZhuChenyanX <[email protected]>
  • Loading branch information
ZhuChenyanX authored and chenyanxzhu committed Jul 4, 2024
1 parent 812efb7 commit 5b30709
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/util/u_gralloc/u_gralloc_imapper4_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ mapper4_get_buffer_color_info(struct u_gralloc *gralloc,
out->sample_range = __DRI_YUV_NARROW_RANGE;
out->horizontal_siting = __DRI_YUV_CHROMA_SITING_0;
out->vertical_siting = __DRI_YUV_CHROMA_SITING_0;

return 0;
}

/* optional attributes */
Expand Down

0 comments on commit 5b30709

Please sign in to comment.