• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/common/libva


Commit MetaInfo

修订版6f69256f8ccc9a73c0b196ab77ac69ab1f4f33c2 (tree)
时间2017-09-27 13:48:16
作者Mark Thompson <sw@jkqx...>
CommiterXiang, Haihao

Log Message

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>

更改概述

差异

--- a/va/va.h
+++ b/va/va.h
@@ -334,7 +334,7 @@ typedef enum
334334 VAProfileMPEG4Simple = 2,
335335 VAProfileMPEG4AdvancedSimple = 3,
336336 VAProfileMPEG4Main = 4,
337- VAProfileH264Baseline = 5,
337+ VAProfileH264Baseline va_deprecated_enum = 5,
338338 VAProfileH264Main = 6,
339339 VAProfileH264High = 7,
340340 VAProfileVC1Simple = 8,
@@ -2055,9 +2055,10 @@ typedef struct _VAPictureParameterBufferH264
20552055 } bits;
20562056 unsigned int value;
20572057 } 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;
20612062 signed char pic_init_qp_minus26;
20622063 signed char pic_init_qs_minus26;
20632064 signed char chroma_qp_index_offset;
@@ -2089,16 +2090,6 @@ typedef struct _VAIQMatrixBufferH264
20892090 unsigned char ScalingList8x8[2][64];
20902091 } VAIQMatrixBufferH264;
20912092
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-
21022093 /** H.264 Slice Parameter Buffer */
21032094 typedef struct _VASliceParameterBufferH264
21042095 {
--- a/va/va_trace.c
+++ b/va/va_trace.c
@@ -2670,9 +2670,6 @@ static void va_TraceVAPictureParameterBufferH264(
26702670 va_TraceMsg(trace_ctx, "\tmb_adaptive_frame_field_flag = %d\n", p->seq_fields.bits.mb_adaptive_frame_field_flag);
26712671 va_TraceMsg(trace_ctx, "\tdirect_8x8_inference_flag = %d\n", p->seq_fields.bits.direct_8x8_inference_flag);
26722672 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);
26762673 va_TraceMsg(trace_ctx, "\tpic_init_qp_minus26 = %d\n", p->pic_init_qp_minus26);
26772674 va_TraceMsg(trace_ctx, "\tpic_init_qs_minus26 = %d\n", p->pic_init_qs_minus26);
26782675 va_TraceMsg(trace_ctx, "\tchroma_qp_index_offset = %d\n", p->chroma_qp_index_offset);