Revision 2cab6401 libpostproc/postprocess_altivec_template.c

View differences:

libpostproc/postprocess_altivec_template.c
110 110
    (vector signed short)vec_mergeh((vector signed char)zero,           \
111 111
                                    (vector signed char)v_srcA##i)
112 112

  
113
    // special casing the aligned case is worthwhile, as all call from
114
    // the (transposed) horizontable deblocks will be aligned, i naddition
115
    // to the naturraly aligned vertical deblocks.
113
    /* Special-casing the aligned case is worthwhile, as all calls from
114
     * the (transposed) horizontable deblocks will be aligned, in addition
115
     * to the naturally aligned vertical deblocks. */
116 116
    if (properStride && srcAlign) {
117 117
      LOAD_LINE_ALIGNED(0);
118 118
      LOAD_LINE_ALIGNED(1);
......
230 230
    (vector signed short)vec_mergeh((vector signed char)zero,           \
231 231
                                    (vector signed char)vbT##i)
232 232

  
233
    // special casing the aligned case is worthwhile, as all call from
234
    // the (transposed) horizontable deblocks will be aligned, in addition
235
    // to the naturraly aligned vertical deblocks.
233
    /* Special-casing the aligned case is worthwhile, as all calls from
234
     * the (transposed) horizontable deblocks will be aligned, in addition
235
     * to the naturally aligned vertical deblocks. */
236 236
    if (properStride && srcAlign) {
237 237
      LOAD_LINE_ALIGNED(0);
238 238
      LOAD_LINE_ALIGNED(1);
......
348 348
    vec_perm(vf##i, vbT##i, permHH);                            \
349 349
  vec_st(vg##i, i * stride, src2)
350 350

  
351
  // special casing the aligned case is worthwhile, as all call from
352
  // the (transposed) horizontable deblocks will be aligned, in addition
353
  // to the naturraly aligned vertical deblocks.
351
  /* Special-casing the aligned case is worthwhile, as all calls from
352
   * the (transposed) horizontable deblocks will be aligned, in addition
353
   * to the naturally aligned vertical deblocks. */
354 354
  if (properStride && srcAlign) {
355 355
    PACK_AND_STORE_ALIGNED(1);
356 356
    PACK_AND_STORE_ALIGNED(2);

Also available in: Unified diff