Flag = 1, fieldModeInFrameFilteringFlag = fieldMbInFrameFlag, and (xEk, yEk) = (8, k) with k=0..15 as the inputs and S'L as the output. iii. When transform_size_8x8_flag is equal to 0, the process specified in clause 8.7.1 is invoked with chromaEdgeFlag =0, verticalEdgeFlag=1, fieldModeInFrameFilteringFlag = fieldMbInFrameFlag, and (xEk, yEk) = (12, with k = 0..15 as the inputs and S'L as the output. C. When filterTopMbEdgeFlag is equal to 1, the filtering of the top horizontal luma edge is specified as follows: If MbaffFrameFlag is equal to 1, (CurrMbAddr % 2) is equal to 0, CurrMbAddr is greater than or equal to 2 * PicWidthInMbs, the macroblock CurrMbAddr is a frame macroblock, and the macroblock (CurrMbAddr PicWidthInMbs + is a field macroblock, the following ordered steps are specified: i. The process specified in clause 8.7.1 is invoked with chromaEdgeFlag = 0, verticalEdgeFlag = 0, fieldModeInFrameFilteringFlag = 1, and (xEk, yEk) = (k, 0) with k = 0..15 as the inputs and S'L as the output. ii. The process specified in clause 8.7.1 is invoked with chromaEdgeFlag = 0, verticalEdgeFlag = 0, fieldModeInFrameFilteringFlag = 1, and yEk) = (k, 1) with 0..15 as the inputs and S'L as the output. Otherwise, the process specified in clause 8.7.1 is invoked with chromaEdgeFlag = 0, verticalEdgeFlag = 0, fieldModeInFrameFilteringFlag = fieldMbInFrameFlag, and (xEk, yEk) = (k, 0) with k =0..15 as the inputs and S'L as the output. d. When filterInternalEdgesFlag is equal to 1, the filtering of the internal horizontal luma edges is specified by the following ordered steps: When transform_size_8x8_flag is equal to 0, the process specified in clause 8.7.1 is invoked with chromaEdgeFlag verticalEdgeFlag = fieldModeInFrameFilteringFlag = fieldMbInFrameFlag, and (xEk, yEx)=(k,4)with k = 0..15 as the inputs and S'L as the output. ii. The process specified in clause 8.7.1 is invoked with chromaEdgeFlag = 0, verticalEdgeFlag = 0, fieldModeInFrameFilteringFlag = fieldMbInFrameFlag, and (xEk, yEk) with k =0..15 as the inputs and S