kolibrios/drivers/video/i965/shaders/h264/mc/export.inc
Sergey Semyonov (Serge) 84ab2d2d6b intel: update 2D driver & VA driver
git-svn-id: svn://kolibrios.org@3769 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-06 06:25:41 +00:00

346 lines
12 KiB
C++

#define INTRA_16x16_IP 0
#define INTRA_16x16_VERTICAL_IP 14
#define INTRA_16x16_HORIZONTAL_IP 32
#define INTRA_16x16_DC_IP 52
#define INTRA_16x16_PLANE_IP 98
#define End_intra_Pred_16x16_Y_IP 166
#define End_add_Error_16x16_Y_IP 204
#define load_Intra_Ref_Y_IP 220
#define decode_Chroma_Intra_IP 238
#define INTRA_CHROMA_DC_IP 260
#define INTRA_CHROMA_HORIZONTAL_IP 320
#define INTRA_CHROMA_VERTICAL_IP 332
#define INTRA_Chroma_PLANE_IP 342
#define End_of_intra_Pred_Chroma_IP 392
#define save_16x16_Y_IP 436
#define INTRA_8x8_IP 464
#define INTRA_8x8_BLK2_IP 568
#define intra_Pred_8x8_Y_IP 640
#define INTRA_8X8_VERTICAL_IP 672
#define INTRA_8X8_HORIZONTAL_IP 682
#define INTRA_8X8_DC_IP 692
#define INTRA_8X8_DIAG_DOWN_LEFT_IP 724
#define INTRA_8X8_DIAG_DOWN_RIGHT_IP 744
#define INTRA_8X8_VERT_RIGHT_IP 772
#define INTRA_8X8_HOR_DOWN_IP 808
#define INTRA_8X8_VERT_LEFT_IP 842
#define INTRA_8X8_HOR_UP_IP 862
#define save_8x8_Y_IP 886
#define INTRA_4x4_IP 928
#define intra_Pred_4x4_Y_4_IP 1062
#define ADD_ERROR_SB0_IP 1074
#define ADD_ERROR_SB1_IP 1088
#define ADD_ERROR_SB2_IP 1108
#define ADD_ERROR_SB3_IP 1124
#define intra_Pred_4x4_Y_IP 1130
#define INTRA_4X4_VERTICAL_IP 1130
#define INTRA_4X4_HORIZONTAL_IP 1134
#define INTRA_4X4_DC_IP 1138
#define INTRA_4X4_DIAG_DOWN_LEFT_IP 1160
#define INTRA_4X4_DIAG_DOWN_RIGHT_IP 1174
#define INTRA_4X4_VERT_RIGHT_IP 1192
#define INTRA_4X4_HOR_DOWN_IP 1218
#define INTRA_4X4_VERT_LEFT_IP 1246
#define INTRA_4X4_HOR_UP_IP 1260
#define save_4x4_Y_IP 1276
#define INTRA_PCM_IP 1320
#define FRAME_MB_IP 1384
#define INIT_MBPARA_FRM_IP 1390
#define NOT_8x8_MODE_FRM_IP 1426
#define CONVERT_MVS_FRM_IP 1436
#define INIT_ADDRESS_REGS_FRM_IP 1446
#define LOOP_SUBMB_FRM_IP 1454
#define LOOP_DIR_FRM_IP 1460
#define LOADREF_MVXZERO_FRM_IP 1510
#define EXIT_LOADREF_Y_16x13_FRM_IP 1524
#define Interpolate_Y_8x8_Func_FRM_IP 1544
#define Interpolate_Y_8x8_Func2_FRM_IP 1574
#define Interpolate_Y_H_8x8_FRM_IP 1708
#define Interpolate_Y_V_8x8_FRM_IP 1790
#define VFILTER_8x8_FRM_IP 1812
#define Interpolate_Y_I_8x8_FRM_IP 1860
#define Average_8x8_FRM_IP 1880
#define Return_Interpolate_Y_8x8_FRM_IP 1888
#define Exit_Interpolate_Y_8x8_FRM_IP 1890
#define Interpolate_C_4x4_Func_FRM_IP 1890
#define PROCESS4x4_FRM_IP 1928
#define LOOP_SUBMBPT_FRM_IP 1930
#define Interpolate_Y_H_4x4_FRM_IP 2066
#define Interpolate_Y_V_4x4_FRM_IP 2108
#define VFILTER_4x4_FRM_IP 2142
#define Interpolate_Y_I_4x4_FRM_IP 2148
#define Average_4x4_FRM_IP 2160
#define Return_Interpolate_Y_4x4_FRM_IP 2162
#define Exit_Interpolate_Y_4x4_FRM_IP 2174
#define ROUND_SHIFT_C_FRM_IP 2222
#define LOOP_DIR_CONTINUE_FRM_IP 2230
#define Weighted_Prediction_FRM_IP 2236
#define DefaultWeightedPred_UniPred_FRM_IP 2244
#define DefaultWeightedPred_BiPred_FRM_IP 2256
#define WeightedPred_FRM_IP 2264
#define WeightedPred_Explicit_FRM_IP 2282
#define WeightedPred_LOOP_FRM_IP 2322
#define Return_WeightedPred_FRM_IP 2382
#define EXIT_LOOP_FRM_IP 2424
#define FIELD_MB_IP 2496
#define INIT_MBPARA_FLD_IP 2502
#define NOT_8x8_MODE_FLD_IP 2538
#define CONVERT_MVS_FLD_IP 2548
#define INIT_ADDRESS_REGS_FLD_IP 2558
#define LOOP_SUBMB_FLD_IP 2568
#define LOOP_DIR_FLD_IP 2574
#define LOADREF_MVXZERO_FLD_IP 2644
#define EXIT_LOADREF_Y_16x13_FLD_IP 2658
#define Interpolate_Y_8x8_Func_FLD_IP 2680
#define Interpolate_Y_8x8_Func2_FLD_IP 2710
#define Interpolate_Y_H_8x8_FLD_IP 2844
#define Interpolate_Y_V_8x8_FLD_IP 2926
#define VFILTER_8x8_FLD_IP 2948
#define Interpolate_Y_I_8x8_FLD_IP 2996
#define Average_8x8_FLD_IP 3016
#define Return_Interpolate_Y_8x8_FLD_IP 3024
#define Exit_Interpolate_Y_8x8_FLD_IP 3026
#define Interpolate_C_4x4_Func_FLD_IP 3026
#define PROCESS4x4_FLD_IP 3064
#define LOOP_SUBMBPT_FLD_IP 3066
#define Interpolate_Y_H_4x4_FLD_IP 3204
#define Interpolate_Y_V_4x4_FLD_IP 3246
#define VFILTER_4x4_FLD_IP 3280
#define Interpolate_Y_I_4x4_FLD_IP 3286
#define Average_4x4_FLD_IP 3298
#define Return_Interpolate_Y_4x4_FLD_IP 3300
#define Exit_Interpolate_Y_4x4_FLD_IP 3312
#define ROUND_SHIFT_C_FLD_IP 3360
#define LOOP_DIR_CONTINUE_FLD_IP 3368
#define Weighted_Prediction_FLD_IP 3374
#define DefaultWeightedPred_UniPred_FLD_IP 3382
#define DefaultWeightedPred_BiPred_FLD_IP 3394
#define WeightedPred_FLD_IP 3402
#define WeightedPred_Explicit_FLD_IP 3420
#define WeightedPred_LOOP_FLD_IP 3460
#define Return_WeightedPred_FLD_IP 3520
#define EXIT_LOOP_FLD_IP 3562
#define MBAFF_MB_IP 3640
#define INIT_MBPARA_MBF_IP 3646
#define NOT_8x8_MODE_MBF_IP 3682
#define CONVERT_MVS_MBF_IP 3692
#define INIT_ADDRESS_REGS_MBF_IP 3702
#define LOOP_SUBMB_MBF_IP 3716
#define LOOP_DIR_MBF_IP 3722
#define LOADREF_MVXZERO_MBF_IP 3796
#define EXIT_LOADREF_Y_16x13_MBF_IP 3810
#define Interpolate_Y_8x8_Func_MBF_IP 3832
#define Interpolate_Y_8x8_Func2_MBF_IP 3862
#define Interpolate_Y_H_8x8_MBF_IP 3996
#define Interpolate_Y_V_8x8_MBF_IP 4078
#define VFILTER_8x8_MBF_IP 4100
#define Interpolate_Y_I_8x8_MBF_IP 4148
#define Average_8x8_MBF_IP 4168
#define Return_Interpolate_Y_8x8_MBF_IP 4176
#define Exit_Interpolate_Y_8x8_MBF_IP 4178
#define Interpolate_C_4x4_Func_MBF_IP 4178
#define PROCESS4x4_MBF_IP 4216
#define LOOP_SUBMBPT_MBF_IP 4218
#define Interpolate_Y_H_4x4_MBF_IP 4356
#define Interpolate_Y_V_4x4_MBF_IP 4398
#define VFILTER_4x4_MBF_IP 4432
#define Interpolate_Y_I_4x4_MBF_IP 4438
#define Average_4x4_MBF_IP 4450
#define Return_Interpolate_Y_4x4_MBF_IP 4452
#define Exit_Interpolate_Y_4x4_MBF_IP 4464
#define ROUND_SHIFT_C_MBF_IP 4512
#define LOOP_DIR_CONTINUE_MBF_IP 4520
#define Weighted_Prediction_MBF_IP 4526
#define DefaultWeightedPred_UniPred_MBF_IP 4534
#define DefaultWeightedPred_BiPred_MBF_IP 4546
#define WeightedPred_MBF_IP 4554
#define WeightedPred_Explicit_MBF_IP 4572
#define WeightedPred_LOOP_MBF_IP 4612
#define Return_WeightedPred_MBF_IP 4672
#define EXIT_LOOP_MBF_IP 4714
#define SETHWSCOREBOARD_IP 4792
#define SetHWScoreboard_Loop_IP 4806
#define Parse_8_Loop_0_IP 4852
#define Parse_8_Loop_2_IP 4876
#define Parse_8_Loop_4_IP 4900
#define Parse_8_Loop_6_IP 4924
#define Parse_8_Loop_8_IP 4948
#define Parse_8_Loop_10_IP 4972
#define Parse_8_Loop_12_IP 4996
#define Parse_8_Loop_14_IP 5020
#define SetHWScoreboard_Remainder_IP 5062
#define SetHWScoreboard_Remainder_Loop_IP 5090
#define Output_Remainder_Intra_IP 5116
#define SetHWScoreboard_Done_IP 5128
#define SETHWSCOREBOARD_MBAFF_IP 5136
#define SetHWScoreboard_MBAFF_Loop_IP 5148
#define SET_SB_MBAFF_INTRA_0_IP 5208
#define SET_SB_MBAFF_0_IP 5230
#define NEXT_MB_MBAFF_0_IP 5238
#define SET_SB_MBAFF_INTRA_2_IP 5276
#define SET_SB_MBAFF_2_IP 5298
#define NEXT_MB_MBAFF_2_IP 5306
#define SET_SB_MBAFF_INTRA_4_IP 5344
#define SET_SB_MBAFF_4_IP 5366
#define NEXT_MB_MBAFF_4_IP 5374
#define SET_SB_MBAFF_INTRA_6_IP 5412
#define SET_SB_MBAFF_6_IP 5434
#define NEXT_MB_MBAFF_6_IP 5442
#define SET_SB_MBAFF_INTRA_8_IP 5480
#define SET_SB_MBAFF_8_IP 5502
#define NEXT_MB_MBAFF_8_IP 5510
#define SET_SB_MBAFF_INTRA_10_IP 5548
#define SET_SB_MBAFF_10_IP 5570
#define NEXT_MB_MBAFF_10_IP 5578
#define SET_SB_MBAFF_INTRA_12_IP 5616
#define SET_SB_MBAFF_12_IP 5638
#define NEXT_MB_MBAFF_12_IP 5646
#define SET_SB_MBAFF_INTRA_14_IP 5684
#define SET_SB_MBAFF_14_IP 5706
#define NEXT_MB_MBAFF_14_IP 5714
#define SetHWScoreboard_MBAFF_Remainder_IP 5756
#define SetHWScoreboard_MBAFF_Remainder_Loop_IP 5784
#define SET_SB_MBAFF_REM_INTRA_IP 5822
#define SET_SB_MBAFF_REM_IP 5846
#define Output_MBAFF_Remainder_Intra_IP 5856
#define SetHWScoreboard_MBAFF_Done_IP 5868
#define BSDRESET_IP 5870
#define DCRESETDUMMY_IP 5872
#define AVC_ILDB_ROOT_Y_ILDB_FRAME_IP 5880
#define SLEEP_ENTRY_Y_ILDB_FRAME_IP 5976
#define POST_SLEEP_Y_ILDB_FRAME_IP 5980
#define NEXT_MB_Y_ILDB_FRAME_IP 6010
#define ALL_SPAWNED_Y_ILDB_FRAME_IP 6034
#define ALL_DONE_Y_ILDB_FRAME_IP 6044
#define WAIT_FOR_UV_ILDB_FRAME_IP 6044
#define AVC_ILDB_CHILD_Y_ILDB_FRAME_IP 6056
#define WRITE_URB_Y_ILDB_FRAME_IP 6436
#define POST_ILDB_Y_ILDB_FRAME_IP 6444
#define READ_FOR_URB_Y_ILDB_FRAME_IP 6458
#define FILTER_Y_IP 6494
#define Y_ELSE3_IP 6560
#define Y_ENDIF3_IP 6574
#define Y_ELSE4_IP 6604
#define Y_ENDIF4_IP 6618
#define Y_ELSE2_IP 6618
#define Y_ENDIF6_IP 6684
#define Y_ENDIF7_IP 6706
#define Y_ENDIF2_IP 6710
#define Y_ENDIF1_IP 6710
#define AVC_ILDB_ROOT_UV_ILDB_FRAME_IP 6720
#define SLEEP_ENTRY_UV_ILDB_FRAME_IP 6798
#define POST_SLEEP_UV_ILDB_FRAME_IP 6802
#define NEXT_MB_UV_ILDB_FRAME_IP 6834
#define ALL_SPAWNED_UV_ILDB_FRAME_IP 6858
#define ALL_DONE_UV_ILDB_FRAME_IP 6882
#define AVC_ILDB_CHILD_UV_ILDB_FRAME_IP 6888
#define BYPASS_EXT_LEFT_EDGE_UV_ILDB_FRAME_IP 7008
#define BYPASS_EXT_TOP_EDGE_UV_ILDB_FRAME_IP 7126
#define WRITE_URB_UV_ILDB_FRAME_IP 7194
#define POST_ILDB_UV_ILDB_FRAME_IP 7202
#define READ_FOR_URB_UV_ILDB_FRAME_IP 7216
#define FILTER_UV_IP 7246
#define UV_ELSE2_IP 7282
#define UV_ENDIF2_IP 7314
#define UV_ENDIF1_IP 7314
#define AVC_ILDB_ROOT_Y_ILDB_FIELD_IP 7320
#define SLEEP_ENTRY_Y_ILDB_FIELD_IP 7416
#define POST_SLEEP_Y_ILDB_FIELD_IP 7420
#define NEXT_MB_Y_ILDB_FIELD_IP 7450
#define ALL_SPAWNED_Y_ILDB_FIELD_IP 7474
#define ALL_DONE_Y_ILDB_FIELD_IP 7484
#define WAIT_FOR_UV_ILDB_FIELD_IP 7484
#define AVC_ILDB_CHILD_Y_ILDB_FIELD_IP 7496
#define WRITE_URB_Y_ILDB_FIELD_IP 7896
#define POST_ILDB_Y_ILDB_FIELD_IP 7904
#define READ_FOR_URB_Y_ILDB_FIELD_IP 7918
#define ELSE_Y_4x16T_ILDB_FIELD_IP 7934
#define ENDIF_Y_4x16T_ILDB_FIELD_IP 7942
#define AVC_ILDB_ROOT_UV_ILDB_FIELD_IP 7976
#define SLEEP_ENTRY_UV_ILDB_FIELD_IP 8054
#define POST_SLEEP_UV_ILDB_FIELD_IP 8058
#define NEXT_MB_UV_ILDB_FIELD_IP 8090
#define ALL_SPAWNED_UV_ILDB_FIELD_IP 8114
#define ALL_DONE_UV_ILDB_FIELD_IP 8138
#define AVC_ILDB_CHILD_UV_ILDB_FIELD_IP 8144
#define BYPASS_EXT_LEFT_EDGE_UV_ILDB_FIELD_IP 8272
#define BYPASS_EXT_TOP_EDGE_UV_ILDB_FIELD_IP 8394
#define WRITE_URB_UV_ILDB_FIELD_IP 8470
#define POST_ILDB_UV_ILDB_FIELD_IP 8478
#define READ_FOR_URB_UV_ILDB_FIELD_IP 8492
#define ELSE_Y_2x8T_ILDB_FIELD_IP 8508
#define ENDIF_Y_2x8T_ILDB_FIELD_IP 8516
#define AVC_ILDB_ROOT_Y_ILDB_MBAFF_IP 8544
#define SLEEP_ENTRY_Y_ILDB_MBAFF_IP 8642
#define POST_SLEEP_Y_ILDB_MBAFF_IP 8646
#define NEXT_MB_Y_ILDB_MBAFF_IP 8676
#define ALL_SPAWNED_Y_ILDB_MBAFF_IP 8700
#define ALL_DONE_Y_ILDB_MBAFF_IP 8710
#define WAIT_FOR_UV_ILDB_MBAFF_IP 8710
#define AVC_ILDB_CHILD_Y_ILDB_MBAFF_IP 8720
#define RE_ENTRY_IP 8742
#define ELSE_Y_16x16T_ILDB_MBAFF_IP 8782
#define ENDIF_Y_16x16T_ILDB_MBAFF_IP 8792
#define ELSE_Y_4x16T_IP 8808
#define ENDIF_Y_4x16T_IP 8818
#define BYPASS_V1_Y_IP 8966
#define BYPASS_V2_Y_IP 8980
#define BYPASS_V3_Y_IP 8994
#define ELSE_Y_16x4T_IP 9024
#define ENDIF_Y_16x4T_IP 9034
#define NOT_DUAL_FIELD_IP 9060
#define ELSE_Y_16x4_IP 9060
#define ENDIF_Y_16x4_IP 9072
#define DUAL_FIELD_Y_IP 9168
#define H0_Y_DONE_IP 9236
#define ELSE_Y_16x16_IP 9310
#define ENDIF_Y_16x16_IP 9320
#define ELSE_Y_16x4_SAVE_IP 9342
#define ENDIF_Y_16x4_SAVE_IP 9354
#define SKIP_ILDB_IP 9356
#define POST_ILDB_IP 9364
#define FILTER_Y_MBAFF_IP 9378
#define MBAFF_Y_ELSE3_IP 9444
#define MBAFF_Y_ENDIF3_IP 9458
#define MBAFF_Y_ELSE4_IP 9488
#define MBAFF_Y_ENDIF4_IP 9502
#define MBAFF_Y_ELSE2_IP 9502
#define MBAFF_Y_ENDIF6_IP 9566
#define MBAFF_Y_ENDIF7_IP 9588
#define MBAFF_Y_ENDIF2_IP 9592
#define MBAFF_Y_ENDIF1_IP 9592
#define AVC_ILDB_ROOT_UV_ILDB_MBAFF_IP 9600
#define SLEEP_ENTRY_UV_ILDB_MBAFF_IP 9678
#define POST_SLEEP_UV_ILDB_MBAFF_IP 9682
#define NEXT_MB_UV_ILDB_MBAFF_IP 9714
#define ALL_SPAWNED_UV_ILDB_MBAFF_IP 9738
#define ALL_DONE_UV_ILDB_MBAFF_IP 9762
#define AVC_ILDB_CHILD_UV_ILDB_MBAFF_IP 9768
#define RE_ENTRY_UV_ILDB_MBAFF_IP 9794
#define ELSE_UV_8X8T_ILDB_MBAFF_IP 9836
#define ENDIF_UV_8X8T_ILDB_MBAFF_IP 9846
#define ELSE_Y_2x8T_ILDB_MBAFF_IP 9864
#define ENDIF_Y_2x8T_ILDB_MBAFF_IP 9874
#define V0_U_NEXT1_IP 9934
#define V0_U_NEXT2_IP 9954
#define V0_U_NEXT3_IP 9964
#define BYPASS_V0_UV_IP 10018
#define ELSE_UV_8X2T_IP 10082
#define ENDIF_UV_8X2T_IP 10092
#define NOT_DUAL_FIELD_UV_IP 10120
#define ELSE_UV_8X2_IP 10120
#define ENDIF_UV_8X2_IP 10132
#define DUAL_FIELD_UV_IP 10208
#define H0_UV_DONE_IP 10300
#define ELSE_UV_8X8_IP 10360
#define ENDIF_UV_8X8_IP 10370
#define ELSE_UV_8X2_SAVE_IP 10394
#define ENDIF_UV_8X2_SAVE_IP 10406
#define SKIP_ILDB_UV_ILDB_MBAFF_IP 10408
#define POST_ILDB_UV_ILDB_MBAFF_IP 10416
#define FILTER_UV_MBAFF_IP 10430
#define MBAFF_UV_ELSE2_IP 10466
#define MBAFF_UV_ENDIF2_IP 10496
#define MBAFF_UV_ENDIF1_IP 10496
#define AllAVC_END_IP 10500