runt18 / libyuv

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

I420 Interpolation #526

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Can libyuv do I420 interpolation? I see that it can do ARGB interpolation, but 
I don't see anything for I420. It would just re-use the InterpolateRow() that 
ARGBInterpolate uses.

Original issue reported on code.google.com by fbarch...@chromium.org on 25 Nov 2015 at 7:15

GoogleCodeExporter commented 8 years ago
The following revision refers to this bug:
  https://chromium.googlesource.com/libyuv/libyuv.git/+/b6f37bd8ec7b5e5dc676b03c44fc37cb14462d9d

commit b6f37bd8ec7b5e5dc676b03c44fc37cb14462d9d
Author: Frank Barchard <fbarchard@google.com>
Date: Thu Nov 26 00:11:42 2015

Interpolate plane initial implementation.

YUV version of interpolation between two images.

R=dhrosa@google.com, harryjin@google.com
BUG=libyuv:526

Review URL: https://codereview.chromium.org/1479593002 .

[modify] 
http://crrev.com/b6f37bd8ec7b5e5dc676b03c44fc37cb14462d9d/README.chromium
[modify] 
http://crrev.com/b6f37bd8ec7b5e5dc676b03c44fc37cb14462d9d/include/libyuv/planar_
functions.h
[modify] 
http://crrev.com/b6f37bd8ec7b5e5dc676b03c44fc37cb14462d9d/include/libyuv/version
.h
[modify] 
http://crrev.com/b6f37bd8ec7b5e5dc676b03c44fc37cb14462d9d/source/planar_function
s.cc
[modify] 
http://crrev.com/b6f37bd8ec7b5e5dc676b03c44fc37cb14462d9d/unit_test/planar_test.
cc

Original comment by bugdroid1@chromium.org on 26 Nov 2015 at 12:11

GoogleCodeExporter commented 8 years ago
LIBYUV_WIDTH=1280 LIBYUV_HEIGHT=720 LIBYUV_REPEAT=1000 
out/Release/libyuv_unittest --gtest_filter=*Interpolate* | sed 
's/\(.*(\)\([0-9]*\)\( ms)\)/\2 - \1\2\3/g' | sort -rn | grep ms

171 - [       OK ] LibYUVPlanarTest.TestARGBInterpolate (171 ms)
54 - [       OK ] LibYUVPlanarTest.TestInterpolatePlane (54 ms)

Original comment by fbarch...@google.com on 1 Dec 2015 at 3:26