mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 22:40:34 +01:00
vulkan/video: add h264 nal enum
This will be used later for header encoding. Reviewed-by: Hyunjun Ko <zzoon@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25874>
This commit is contained in:
parent
8dd97080d8
commit
fee258de27
1 changed files with 24 additions and 0 deletions
|
|
@ -1274,4 +1274,28 @@ vk_video_find_h265_enc_std_pps(const struct vk_video_session_parameters *params,
|
|||
{
|
||||
return find_h265_enc_std_pps(params, id);
|
||||
}
|
||||
|
||||
enum H264NALUType
|
||||
{
|
||||
H264_NAL_UNSPECIFIED = 0,
|
||||
H264_NAL_SLICE = 1,
|
||||
H264_NAL_SLICEDATA_A = 2,
|
||||
H264_NAL_SLICEDATA_B = 3,
|
||||
H264_NAL_SLICEDATA_C = 4,
|
||||
H264_NAL_IDR = 5,
|
||||
H264_NAL_SEI = 6,
|
||||
H264_NAL_SPS = 7,
|
||||
H264_NAL_PPS = 8,
|
||||
H264_NAL_ACCESS_UNIT_DEMILITER = 9,
|
||||
H264_NAL_END_OF_SEQUENCE = 10,
|
||||
H264_NAL_END_OF_STREAM = 11,
|
||||
H264_NAL_FILLER_DATA = 12,
|
||||
H264_NAL_SPS_EXTENSION = 13,
|
||||
H264_NAL_PREFIX = 14,
|
||||
/* 15...18 RESERVED */
|
||||
H264_NAL_AUXILIARY_SLICE = 19,
|
||||
/* 20...23 RESERVED */
|
||||
/* 24...31 UNSPECIFIED */
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue