AshwanthSelvam / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Subsample using scale #291

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
change 411to420 to use Bilinear.
run valgrind.

suggest making all slope calculations use a common math function for slope.

Original issue reported on code.google.com by fbarch...@google.com on 4 Dec 2013 at 2:57

GoogleCodeExporter commented 9 years ago
Before - specialized and/or point sampled:
I420ToI444_Unaligned (883 ms)
I420ToI444_Invert (849 ms)
I420ToI444_Opt (827 ms)
I420ToI444_Any (826 ms)
I444ToI420_Invert (545 ms)
I444ToI420_Unaligned (541 ms)
I444ToI420_Opt (534 ms)
I444ToI420_Any (513 ms)
I420ToI420Mirror_Unaligned (498 ms)
I420ToI420Mirror_Opt (498 ms)
I420ToI420Mirror_Any (495 ms)
I420ToI420Mirror_Invert (488 ms)
I420ToI411_Invert (329 ms)
I400ToI400Mirror_Unaligned (329 ms)
I400ToI400Mirror_Opt (328 ms)
I420ToI411_Any (325 ms)
I400ToI400Mirror_Invert (323 ms)
I400ToI400Mirror_Any (323 ms)
I420ToI411_Unaligned (321 ms)
I420ToI411_Opt (320 ms)
I411ToI420_Invert (272 ms)
I411ToI420_Opt (267 ms)
I411ToI420_Any (260 ms)
I411ToI420_Unaligned (258 ms)
I444ToI444_Invert (229 ms)
I444ToI444_Any (200 ms)
I444ToI444_Opt (198 ms)
I444ToI444_Unaligned (185 ms)
I420ToI422_Any (176 ms)
I420ToI422_Invert (172 ms)
I400ToI400Mirror_Random (162 ms)
I420ToI422_Opt (161 ms)
I422ToI422_Invert (160 ms)
I420ToI422_Unaligned (160 ms)
I400ToI400_Random (160 ms)
I422ToI422_Any (134 ms)
I422ToI420_Any (132 ms)
I422ToI422_Opt (131 ms)
I422ToI420_Unaligned (127 ms)
I422ToI420_Invert (123 ms)
I422ToI422_Unaligned (121 ms)
I420ToI420_Invert (119 ms)
I422ToI420_Opt (115 ms)
I420ToI420_Any (102 ms)
I420ToI420_Opt (101 ms)
I420ToI420_Unaligned (95 ms)
I400ToI420_Invert (89 ms)
I400ToI420_Any (81 ms)
I400ToI420_Opt (80 ms)
I420ToI400_Invert (76 ms)
I420ToI400_Opt (71 ms)
I400ToI400_Invert (71 ms)
I420ToI400_Any (69 ms)
I400ToI420_Unaligned (68 ms)
I400ToI400_Opt (63 ms)
I400ToI400_Any (62 ms)
I420ToI400_Unaligned (53 ms)
I400ToI400_Unaligned (50 ms)
libyuvTest (15249 ms total)

Original comment by fbarch...@google.com on 4 Dec 2013 at 8:18

GoogleCodeExporter commented 9 years ago
Basic conversions use scale.  Future work to include mirroring, but low levels 
in scale should be hooked up to mirror functions before switching.

Original comment by fbarch...@google.com on 8 Dec 2013 at 7:14