hardware/intel/common/libva
修订版 | 6f69256f8ccc9a73c0b196ab77ac69ab1f4f33c2 (tree) |
---|---|
时间 | 2017-09-27 13:48:16 |
作者 | Mark Thompson <sw@jkqx...> |
Commiter | Xiang, Haihao |
Deprecate H.264 baseline profile and FMO support
This is not now and never will be supported by any hardware, nor is
it supported by any current software.
Signed-off-by: Mark Thompson <sw@jkqxz.net>
@@ -334,7 +334,7 @@ typedef enum | ||
334 | 334 | VAProfileMPEG4Simple = 2, |
335 | 335 | VAProfileMPEG4AdvancedSimple = 3, |
336 | 336 | VAProfileMPEG4Main = 4, |
337 | - VAProfileH264Baseline = 5, | |
337 | + VAProfileH264Baseline va_deprecated_enum = 5, | |
338 | 338 | VAProfileH264Main = 6, |
339 | 339 | VAProfileH264High = 7, |
340 | 340 | VAProfileVC1Simple = 8, |
@@ -2055,9 +2055,10 @@ typedef struct _VAPictureParameterBufferH264 | ||
2055 | 2055 | } bits; |
2056 | 2056 | unsigned int value; |
2057 | 2057 | } seq_fields; |
2058 | - unsigned char num_slice_groups_minus1; | |
2059 | - unsigned char slice_group_map_type; | |
2060 | - unsigned short slice_group_change_rate_minus1; | |
2058 | + // FMO is not supported. | |
2059 | + va_deprecated unsigned char num_slice_groups_minus1; | |
2060 | + va_deprecated unsigned char slice_group_map_type; | |
2061 | + va_deprecated unsigned short slice_group_change_rate_minus1; | |
2061 | 2062 | signed char pic_init_qp_minus26; |
2062 | 2063 | signed char pic_init_qs_minus26; |
2063 | 2064 | signed char chroma_qp_index_offset; |
@@ -2089,16 +2090,6 @@ typedef struct _VAIQMatrixBufferH264 | ||
2089 | 2090 | unsigned char ScalingList8x8[2][64]; |
2090 | 2091 | } VAIQMatrixBufferH264; |
2091 | 2092 | |
2092 | -/** | |
2093 | - * H.264 Slice Group Map Buffer | |
2094 | - * When VAPictureParameterBufferH264::num_slice_group_minus1 is not equal to 0, | |
2095 | - * A slice group map buffer should be sent for each picture if required. The buffer | |
2096 | - * is sent only when there is a change in the mapping values. | |
2097 | - * The slice group map buffer map "map units" to slice groups as specified in | |
2098 | - * section 8.2.2 of the H.264 spec. The buffer will contain one byte for each macroblock | |
2099 | - * in raster scan order | |
2100 | - */ | |
2101 | - | |
2102 | 2093 | /** H.264 Slice Parameter Buffer */ |
2103 | 2094 | typedef struct _VASliceParameterBufferH264 |
2104 | 2095 | { |
@@ -2670,9 +2670,6 @@ static void va_TraceVAPictureParameterBufferH264( | ||
2670 | 2670 | va_TraceMsg(trace_ctx, "\tmb_adaptive_frame_field_flag = %d\n", p->seq_fields.bits.mb_adaptive_frame_field_flag); |
2671 | 2671 | va_TraceMsg(trace_ctx, "\tdirect_8x8_inference_flag = %d\n", p->seq_fields.bits.direct_8x8_inference_flag); |
2672 | 2672 | va_TraceMsg(trace_ctx, "\tMinLumaBiPredSize8x8 = %d\n", p->seq_fields.bits.MinLumaBiPredSize8x8); |
2673 | - va_TraceMsg(trace_ctx, "\tnum_slice_groups_minus1 = %d\n", p->num_slice_groups_minus1); | |
2674 | - va_TraceMsg(trace_ctx, "\tslice_group_map_type = %d\n", p->slice_group_map_type); | |
2675 | - va_TraceMsg(trace_ctx, "\tslice_group_change_rate_minus1 = %d\n", p->slice_group_change_rate_minus1); | |
2676 | 2673 | va_TraceMsg(trace_ctx, "\tpic_init_qp_minus26 = %d\n", p->pic_init_qp_minus26); |
2677 | 2674 | va_TraceMsg(trace_ctx, "\tpic_init_qs_minus26 = %d\n", p->pic_init_qs_minus26); |
2678 | 2675 | va_TraceMsg(trace_ctx, "\tchroma_qp_index_offset = %d\n", p->chroma_qp_index_offset); |