mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
vl: Decode to XRGB, not ARGB.
This commit is contained in:
parent
6414952efe
commit
511cb3fbf9
3 changed files with 5 additions and 2 deletions
|
|
@ -45,5 +45,5 @@ nvfx_video_create(struct pipe_screen *screen, enum pipe_video_profile profile,
|
|||
VL_MPEG12_MC_RENDERER_BUFFER_PICTURE,
|
||||
VL_MPEG12_MC_RENDERER_EMPTY_BLOCK_XFER_ONE,
|
||||
true,
|
||||
PIPE_FORMAT_VUYA);
|
||||
PIPE_FORMAT_VUYX);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -402,7 +402,7 @@ sp_video_create(struct pipe_screen *screen, enum pipe_video_profile profile,
|
|||
VL_MPEG12_MC_RENDERER_BUFFER_PICTURE,
|
||||
VL_MPEG12_MC_RENDERER_EMPTY_BLOCK_XFER_ONE,
|
||||
true,
|
||||
PIPE_FORMAT_AYUV);
|
||||
PIPE_FORMAT_XYUV);
|
||||
}
|
||||
|
||||
struct pipe_video_context *
|
||||
|
|
|
|||
|
|
@ -195,6 +195,8 @@ enum pipe_format {
|
|||
PIPE_FORMAT_NV21 = 140,
|
||||
PIPE_FORMAT_AYUV = PIPE_FORMAT_A8R8G8B8_UNORM,
|
||||
PIPE_FORMAT_VUYA = PIPE_FORMAT_B8G8R8A8_UNORM,
|
||||
PIPE_FORMAT_XYUV = PIPE_FORMAT_X8R8G8B8_UNORM,
|
||||
PIPE_FORMAT_VUYX = PIPE_FORMAT_B8G8R8X8_UNORM,
|
||||
PIPE_FORMAT_IA44 = 141,
|
||||
PIPE_FORMAT_AI44 = 142,
|
||||
|
||||
|
|
@ -207,6 +209,7 @@ enum pipe_video_chroma_format
|
|||
PIPE_VIDEO_CHROMA_FORMAT_422,
|
||||
PIPE_VIDEO_CHROMA_FORMAT_444
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue