Lines Matching defs:top
133 u32 top;
390 top-most edge of a macroblock. Macroblock types are checked
420 top-most edge of a macroblock. Macroblock types are checked
563 mb pointer to macroblock data structure of the top-left
1149 /* top edges */
1154 bS[0].top = bS[1].top = bS[2].top = bS[3].top = 4;
1159 bS[0].top = EdgeBoundaryStrength(mb, mb->mbB, 0, 10);
1160 bS[1].top = EdgeBoundaryStrength(mb, mb->mbB, 1, 11);
1161 bS[2].top = EdgeBoundaryStrength(mb, mb->mbB, 4, 14);
1162 bS[3].top = EdgeBoundaryStrength(mb, mb->mbB, 5, 15);
1163 if (bS[0].top || bS[1].top || bS[2].top || bS[3].top)
1169 bS[0].top = bS[1].top = bS[2].top = bS[3].top = 0;
1199 bS[4].top = bS[5].top = bS[6].top = bS[7].top =
1200 bS[8].top = bS[9].top = bS[10].top = bS[11].top =
1201 bS[12].top = bS[13].top = bS[14].top = bS[15].top = 3;
1215 bS[4].top = mb->totalCoeff[2] || mb->totalCoeff[0] ? 2 : 0;
1216 bS[5].top = mb->totalCoeff[3] || mb->totalCoeff[1] ? 2 : 0;
1217 bS[6].top = mb->totalCoeff[6] || mb->totalCoeff[4] ? 2 : 0;
1218 bS[7].top = mb->totalCoeff[7] || mb->totalCoeff[5] ? 2 : 0;
1219 bS[8].top = mb->totalCoeff[8] || mb->totalCoeff[2] ? 2 : 0;
1220 bS[9].top = mb->totalCoeff[9] || mb->totalCoeff[3] ? 2 : 0;
1221 bS[10].top = mb->totalCoeff[12] || mb->totalCoeff[6] ? 2 : 0;
1222 bS[11].top = mb->totalCoeff[13] || mb->totalCoeff[7] ? 2 : 0;
1223 bS[12].top = mb->totalCoeff[10] || mb->totalCoeff[8] ? 2 : 0;
1224 bS[13].top = mb->totalCoeff[11] || mb->totalCoeff[9] ? 2 : 0;
1225 bS[14].top = mb->totalCoeff[14] || mb->totalCoeff[12] ? 2 : 0;
1226 bS[15].top = mb->totalCoeff[15] || mb->totalCoeff[13] ? 2 : 0;
1242 * only for the middle horizontal edge, for the other top edges it is
1247 bS[4].top = mb->totalCoeff[2] || mb->totalCoeff[0] ? 2 : 0;
1248 bS[5].top = mb->totalCoeff[3] || mb->totalCoeff[1] ? 2 : 0;
1249 bS[6].top = mb->totalCoeff[6] || mb->totalCoeff[4] ? 2 : 0;
1250 bS[7].top = mb->totalCoeff[7] || mb->totalCoeff[5] ? 2 : 0;
1251 bS[12].top = mb->totalCoeff[10] || mb->totalCoeff[8] ? 2 : 0;
1252 bS[13].top = mb->totalCoeff[11] || mb->totalCoeff[9] ? 2 : 0;
1253 bS[14].top = mb->totalCoeff[14] || mb->totalCoeff[12] ? 2 : 0;
1254 bS[15].top = mb->totalCoeff[15] || mb->totalCoeff[13] ? 2 : 0;
1255 bS[8].top = InnerBoundaryStrength(mb, 8, 2);
1256 bS[9].top = InnerBoundaryStrength(mb, 9, 3);
1257 bS[10].top = InnerBoundaryStrength(mb, 12, 6);
1258 bS[11].top = InnerBoundaryStrength(mb, 13, 7);
1276 * same applies to all internal top edges. */
1279 bS[4].top = mb->totalCoeff[2] || mb->totalCoeff[0] ? 2 : 0;
1280 bS[5].top = mb->totalCoeff[3] || mb->totalCoeff[1] ? 2 : 0;
1281 bS[6].top = mb->totalCoeff[6] || mb->totalCoeff[4] ? 2 : 0;
1282 bS[7].top = mb->totalCoeff[7] || mb->totalCoeff[5] ? 2 : 0;
1283 bS[8].top = mb->totalCoeff[8] || mb->totalCoeff[2] ? 2 : 0;
1284 bS[9].top = mb->totalCoeff[9] || mb->totalCoeff[3] ? 2 : 0;
1285 bS[10].top = mb->totalCoeff[12] || mb->totalCoeff[6] ? 2 : 0;
1286 bS[11].top = mb->totalCoeff[13] || mb->totalCoeff[7] ? 2 : 0;
1287 bS[12].top = mb->totalCoeff[10] || mb->totalCoeff[8] ? 2 : 0;
1288 bS[13].top = mb->totalCoeff[11] || mb->totalCoeff[9] ? 2 : 0;
1289 bS[14].top = mb->totalCoeff[14] || mb->totalCoeff[12] ? 2 : 0;
1290 bS[15].top = mb->totalCoeff[15] || mb->totalCoeff[13] ? 2 : 0;
1307 bS[4].top =
1309 bS[5].top =
1311 bS[6].top =
1313 bS[7].top =
1315 bS[8].top =
1317 bS[9].top =
1319 bS[10].top =
1321 bS[11].top =
1323 bS[12].top =
1325 bS[13].top =
1327 bS[14].top =
1329 bS[15].top =
1358 (bS[4].top || bS[5].top || bS[6].top || bS[7].top ||
1359 bS[8].top || bS[9].top || bS[10].top || bS[11].top ||
1360 bS[12].top || bS[13].top || bS[14].top || bS[15].top ||
1377 Compute alpha, beta and tc0 thresholds for inner, left and top
1456 Compute alpha, beta and tc0 thresholds for inner, left and top
1585 * each edge separately. offset variable indicates top macroblock edge
1587 if (tmp[0].top == tmp[1].top && tmp[1].top == tmp[2].top &&
1588 tmp[2].top == tmp[3].top)
1590 if(tmp[0].top)
1591 FilterHorLuma(ptr, tmp[0].top, thresholds + offset, (i32)width);
1595 if(tmp[0].top)
1596 FilterHorLumaEdge(ptr, tmp[0].top, thresholds+offset,
1598 if(tmp[1].top)
1599 FilterHorLumaEdge(ptr+4, tmp[1].top, thresholds+offset,
1601 if(tmp[2].top)
1602 FilterHorLumaEdge(ptr+8, tmp[2].top, thresholds+offset,
1604 if(tmp[3].top)
1605 FilterHorLumaEdge(ptr+12, tmp[3].top, thresholds+offset,
1686 * for each edge separately. offset variable indicates top macroblock
1688 if (tmp[0].top == tmp[1].top && tmp[1].top == tmp[2].top &&
1689 tmp[2].top == tmp[3].top)
1691 if(tmp[0].top)
1693 FilterHorChroma(dataCb, tmp[0].top, thresholds+offset,
1695 FilterHorChroma(dataCr, tmp[0].top, thresholds+offset,
1701 if (tmp[0].top)
1703 FilterHorChromaEdge(dataCb, tmp[0].top, thresholds+offset,
1705 FilterHorChromaEdge(dataCr, tmp[0].top, thresholds+offset,
1708 if (tmp[1].top)
1710 FilterHorChromaEdge(dataCb+2, tmp[1].top, thresholds+offset,
1712 FilterHorChromaEdge(dataCr+2, tmp[1].top, thresholds+offset,
1715 if (tmp[2].top)
1717 FilterHorChromaEdge(dataCb+4, tmp[2].top, thresholds+offset,
1719 FilterHorChromaEdge(dataCr+4, tmp[2].top, thresholds+offset,
1722 if (tmp[3].top)
1724 FilterHorChromaEdge(dataCb+6, tmp[3].top, thresholds+offset,
1726 FilterHorChromaEdge(dataCr+6, tmp[3].top, thresholds+offset,
1754 mb pointer to macroblock data structure of the top-left
1901 /* top edges */
2021 * only for the middle horizontal edge, for the other top edges it is
2073 * same applies to all internal top edges. */
2170 Compute alpha, beta and tc0 thresholds for inner, left and top
2300 Compute alpha, beta and tc0 thresholds for inner, left and top