mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-01 12:22:09 +00:00
avcodec/h264_sei: add namespace prefix to frame packingarrangement enum values
Missed in 6eb102a616
.
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
6eb102a616
commit
9669c05baf
@ -469,37 +469,37 @@ const char *ff_h264_sei_stereo_mode(const H264SEIFramePacking *h)
|
||||
{
|
||||
if (h->frame_packing_arrangement_cancel_flag == 0) {
|
||||
switch (h->frame_packing_arrangement_type) {
|
||||
case SEI_FPA_TYPE_CHECKERBOARD:
|
||||
case H264_SEI_FPA_TYPE_CHECKERBOARD:
|
||||
if (h->content_interpretation_type == 2)
|
||||
return "checkerboard_rl";
|
||||
else
|
||||
return "checkerboard_lr";
|
||||
case SEI_FPA_TYPE_INTERLEAVE_COLUMN:
|
||||
case H264_SEI_FPA_TYPE_INTERLEAVE_COLUMN:
|
||||
if (h->content_interpretation_type == 2)
|
||||
return "col_interleaved_rl";
|
||||
else
|
||||
return "col_interleaved_lr";
|
||||
case SEI_FPA_TYPE_INTERLEAVE_ROW:
|
||||
case H264_SEI_FPA_TYPE_INTERLEAVE_ROW:
|
||||
if (h->content_interpretation_type == 2)
|
||||
return "row_interleaved_rl";
|
||||
else
|
||||
return "row_interleaved_lr";
|
||||
case SEI_FPA_TYPE_SIDE_BY_SIDE:
|
||||
case H264_SEI_FPA_TYPE_SIDE_BY_SIDE:
|
||||
if (h->content_interpretation_type == 2)
|
||||
return "right_left";
|
||||
else
|
||||
return "left_right";
|
||||
case SEI_FPA_TYPE_TOP_BOTTOM:
|
||||
case H264_SEI_FPA_TYPE_TOP_BOTTOM:
|
||||
if (h->content_interpretation_type == 2)
|
||||
return "bottom_top";
|
||||
else
|
||||
return "top_bottom";
|
||||
case SEI_FPA_TYPE_INTERLEAVE_TEMPORAL:
|
||||
case H264_SEI_FPA_TYPE_INTERLEAVE_TEMPORAL:
|
||||
if (h->content_interpretation_type == 2)
|
||||
return "block_rl";
|
||||
else
|
||||
return "block_lr";
|
||||
case SEI_FPA_TYPE_2D:
|
||||
case H264_SEI_FPA_TYPE_2D:
|
||||
default:
|
||||
return "mono";
|
||||
}
|
||||
|
@ -56,14 +56,14 @@ typedef enum {
|
||||
* frame_packing_arrangement types
|
||||
*/
|
||||
typedef enum {
|
||||
SEI_FPA_TYPE_CHECKERBOARD = 0,
|
||||
SEI_FPA_TYPE_INTERLEAVE_COLUMN = 1,
|
||||
SEI_FPA_TYPE_INTERLEAVE_ROW = 2,
|
||||
SEI_FPA_TYPE_SIDE_BY_SIDE = 3,
|
||||
SEI_FPA_TYPE_TOP_BOTTOM = 4,
|
||||
SEI_FPA_TYPE_INTERLEAVE_TEMPORAL = 5,
|
||||
SEI_FPA_TYPE_2D = 6,
|
||||
} SEI_FpaType;
|
||||
H264_SEI_FPA_TYPE_CHECKERBOARD = 0,
|
||||
H264_SEI_FPA_TYPE_INTERLEAVE_COLUMN = 1,
|
||||
H264_SEI_FPA_TYPE_INTERLEAVE_ROW = 2,
|
||||
H264_SEI_FPA_TYPE_SIDE_BY_SIDE = 3,
|
||||
H264_SEI_FPA_TYPE_TOP_BOTTOM = 4,
|
||||
H264_SEI_FPA_TYPE_INTERLEAVE_TEMPORAL = 5,
|
||||
H264_SEI_FPA_TYPE_2D = 6,
|
||||
} H264_SEI_FpaType;
|
||||
|
||||
typedef struct H264SEIPictureTiming {
|
||||
int present;
|
||||
@ -121,7 +121,7 @@ typedef struct H264SEIFramePacking {
|
||||
int present;
|
||||
int frame_packing_arrangement_id;
|
||||
int frame_packing_arrangement_cancel_flag; ///< is previous arrangement canceled, -1 if never received
|
||||
SEI_FpaType frame_packing_arrangement_type;
|
||||
H264_SEI_FpaType frame_packing_arrangement_type;
|
||||
int frame_packing_arrangement_repetition_period;
|
||||
int content_interpretation_type;
|
||||
int quincunx_sampling_flag;
|
||||
|
Loading…
Reference in New Issue
Block a user