refer to libyuv https://github.com/lemenkov/libyuv/blob/7e936044d154b9fe159a67f9562e10b1ef1cb590/source/convert_argb.cc#L1079
| 77 | //! refer to libyuv |
| 78 | //! https://github.com/lemenkov/libyuv/blob/7e936044d154b9fe159a67f9562e10b1ef1cb590/source/convert_argb.cc#L1079 |
| 79 | void naive( |
| 80 | const uint8_t* src_y, int src_stride_y, const uint8_t* src_uv, |
| 81 | int src_stride_uv, uint8_t* dst_argb, int dst_stride_argb, int width, |
| 82 | int height) { |
| 83 | rep(y, height) { |
| 84 | naive_row(src_y, src_uv, dst_argb, width); |
| 85 | dst_argb += dst_stride_argb; |
| 86 | src_y += src_stride_y; |
| 87 | if (y & 1) { |
| 88 | src_uv += src_stride_uv; |
| 89 | } |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | //! check real yuv |
| 94 | void run_check(Handle* handle, const size_t IH, const size_t IW) { |