At the same time it fixes the typo in comments.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
*/
// Modual name: Inter_bframe_haswell.asm
//
-// Make intra predition estimation for Inter frame for B-frame
+// Make inter predition estimation for Inter frame for B-frame
//
//
/*
* __START
*/
-__INTRA_START:
+__INTER_START:
mov (16) tmp_reg0.0<1>:UD 0x0:UD {align1};
mov (16) tmp_reg2.0<1>:UD 0x0:UD {align1};
mov (16) tmp_reg4.0<1>:UD 0x0:UD {align1} ;
mov (8) mb_msg0.0<1>:ud 0:ud {align1};
and.z.f0.0 (1) null:uw input_mb_intra_ub<0,1,0>:ub INTRA_PRED_AVAIL_FLAG_B:uw {align1};
/* MB B doesn't exist. Zero MV. mba_flag is zero */
-/* If MB B doesn't exist, neight of MB C nor D exists */
+/* If MB B doesn't exist, neither MB C nor D exists */
(f0.0) mov (2) mbb_result.20<1>:w -1:w {align1};
(f0.0) mov (2) mbc_result.20<1>:w -1:w {align1};
(f0.0) jmpi (1) mb_mvp_start;
mb_mvp_start:
/*TODO: Add the skip prediction */
-/* Check whether both MB and C are invailable */
+/* Check whether both MB B and C are inavailable */
add (1) tmp_reg0.0<1>:d mbb_result.0<0,1,0>:d mbc_result.0<0,1,0>:d {align1};
cmp.z.f0.0 (1) null:d tmp_reg0.0<0,1,0>:d 0:d {align1};
(-f0.0) jmpi (1) mb_median_start;
cmp.z.f0.0 (1) null:d mbb_result.22<1>:w 0:w {align1};
(f0.0) add (1) tmp_reg0.0<1>:w tmp_reg0.0<1>:w 1:w {align1};
(f0.0) mov (1) tmp_reg0.4<1>:ud mbb_result.8<0,1,0>:ud {align1};
-cmp.z.f0.0 (1) null:d mbc_result.20<1>:w 0:w {align1};
+cmp.z.f0.0 (1) null:d mbc_result.22<1>:w 0:w {align1};
(f0.0) add (1) tmp_reg0.0<1>:w tmp_reg0.0<1>:w 1:w {align1};
(f0.0) mov (1) tmp_reg0.4<1>:ud mbc_result.8<0,1,0>:ud {align1};
cmp.e.f0.0 (1) null:d tmp_reg0.0<1>:w 1:w {align1};
{ 0x01000010, 0x20003da4, 0x00200b16, 0x00000000 },
{ 0x00010040, 0x24003dad, 0x00200400, 0x00010001 },
{ 0x00010001, 0x24040021, 0x00000b08, 0x00000000 },
- { 0x01000010, 0x20003da4, 0x00200b34, 0x00000000 },
+ { 0x01000010, 0x20003da4, 0x00200b36, 0x00000000 },
{ 0x00010040, 0x24003dad, 0x00200400, 0x00010001 },
{ 0x00010001, 0x24040021, 0x00000b28, 0x00000000 },
{ 0x01000010, 0x20003da4, 0x00200400, 0x00010001 },
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
-// Modual name: IntraFrame.asm
+// Modual name: Inter_frame_haswell.asm
//
-// Make intra predition estimation for Intra frame
+// Make inter predition estimation for Inter-frame on Haswell
//
//
/*
* __START
*/
-__INTRA_START:
+__INTER_START:
mov (16) tmp_reg0.0<1>:UD 0x0:UD {align1};
mov (16) tmp_reg2.0<1>:UD 0x0:UD {align1};
mov (16) tmp_reg4.0<1>:UD 0x0:UD {align1} ;
mov (8) mb_msg0.0<1>:ud 0:ud {align1};
and.z.f0.0 (1) null:uw input_mb_intra_ub<0,1,0>:ub INTRA_PRED_AVAIL_FLAG_B:uw {align1};
/* MB B doesn't exist. Zero MV. mba_flag is zero */
-/* If MB B doesn't exist, neight of MB C nor D exists */
+/* If MB B doesn't exist, neither MB C nor D exists */
(f0.0) mov (2) mbb_result.20<1>:w -1:w {align1};
(f0.0) mov (2) mbc_result.20<1>:w -1:w {align1};
(f0.0) jmpi (1) mb_mvp_start;
/* Forward MV */
mov (2) mbc_result.4<1>:ud mb_mv3.24<2,2,1>:ud {align1};
-mov (1) mbc_result.18<1>:w MB_PRED_FLAG {align1};
+mov (1) mbc_result.16<1>:w MB_PRED_FLAG {align1};
mb_mvp_start:
/*TODO: Add the skip prediction */
-/* Check whether both MB and C are invailable */
+/* Check whether both MB B and C are inavailable */
add (1) tmp_reg0.0<1>:d mbb_result.0<0,1,0>:d mbc_result.0<0,1,0>:d {align1};
cmp.z.f0.0 (1) null:d tmp_reg0.0<0,1,0>:d 0:d {align1};
(-f0.0) jmpi (1) mb_median_start;
{ 0x00000040, 0x2b480c21, 0x00000b48, 0x00000003 },
{ 0x0a800031, 0x2ba01cb1, 0x00000b40, 0x02480403 },
{ 0x00200001, 0x2b240021, 0x00450c18, 0x00000000 },
- { 0x00000001, 0x2b3201ed, 0x00000000, 0x00010001 },
+ { 0x00000001, 0x2b3001ed, 0x00000000, 0x00010001 },
{ 0x00000040, 0x240014a5, 0x00000b00, 0x00000b20 },
{ 0x01000010, 0x20001ca4, 0x00000400, 0x00000000 },
{ 0x00110020, 0x34001c00, 0x00001400, 0x00000080 },
{ 0x00000040, 0x2b480c21, 0x00000b48, 0x00000003 },
{ 0x0a800031, 0x2ba01cb1, 0x00000b40, 0x02480403 },
{ 0x00200001, 0x2b240021, 0x00450c18, 0x00000000 },
- { 0x00000001, 0x2b3201ed, 0x00000000, 0x00010001 },
+ { 0x00000001, 0x2b3001ed, 0x00000000, 0x00010001 },
{ 0x00000040, 0x240014a5, 0x00000b00, 0x00000b20 },
{ 0x01000010, 0x20001ca4, 0x00000400, 0x00000000 },
{ 0x00110020, 0x34001c00, 0x00001400, 0x00000080 },