mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-02-16 23:29:52 +08:00
rotate row included
R=tpsiaki@google.com BUG=libyuv:468 Review URL: https://webrtc-codereview.appspot.com/55679004.
This commit is contained in:
parent
892807d860
commit
5be90d23ee
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 1450
|
Version: 1451
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,6 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define LIBYUV_VERSION 1450
|
#define LIBYUV_VERSION 1451
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libyuv/row.h"
|
#include "libyuv/row.h"
|
||||||
|
#include "libyuv/rotate_row.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
namespace libyuv {
|
namespace libyuv {
|
||||||
@ -108,8 +109,7 @@ void TransposeWx8_SSSE3(const uint8* src, int src_stride,
|
|||||||
#if !defined(LIBYUV_DISABLE_X86) && defined(__i386__) && !defined(__clang__)
|
#if !defined(LIBYUV_DISABLE_X86) && defined(__i386__) && !defined(__clang__)
|
||||||
void TransposeUVWx8_SSE2(const uint8* src, int src_stride,
|
void TransposeUVWx8_SSE2(const uint8* src, int src_stride,
|
||||||
uint8* dst_a, int dst_stride_a,
|
uint8* dst_a, int dst_stride_a,
|
||||||
uint8* dst_b, int dst_stride_b,
|
uint8* dst_b, int dst_stride_b, int width);
|
||||||
int w);
|
|
||||||
asm (
|
asm (
|
||||||
DECLARE_FUNCTION(TransposeUVWx8_SSE2)
|
DECLARE_FUNCTION(TransposeUVWx8_SSE2)
|
||||||
"push %ebx \n"
|
"push %ebx \n"
|
||||||
@ -376,8 +376,7 @@ void TransposeWx8_FAST_SSSE3(const uint8* src, int src_stride,
|
|||||||
|
|
||||||
void TransposeUVWx8_SSE2(const uint8* src, int src_stride,
|
void TransposeUVWx8_SSE2(const uint8* src, int src_stride,
|
||||||
uint8* dst_a, int dst_stride_a,
|
uint8* dst_a, int dst_stride_a,
|
||||||
uint8* dst_b, int dst_stride_b,
|
uint8* dst_b, int dst_stride_b, int width) {
|
||||||
int w) {
|
|
||||||
asm volatile (
|
asm volatile (
|
||||||
// Read in the data from the source pointer.
|
// Read in the data from the source pointer.
|
||||||
// First round of bit swap.
|
// First round of bit swap.
|
||||||
@ -474,7 +473,7 @@ void TransposeUVWx8_SSE2(const uint8* src, int src_stride,
|
|||||||
: "+r"(src), // %0
|
: "+r"(src), // %0
|
||||||
"+r"(dst_a), // %1
|
"+r"(dst_a), // %1
|
||||||
"+r"(dst_b), // %2
|
"+r"(dst_b), // %2
|
||||||
"+r"(w) // %3
|
"+r"(width) // %3
|
||||||
: "r"((intptr_t)(src_stride)), // %4
|
: "r"((intptr_t)(src_stride)), // %4
|
||||||
"r"((intptr_t)(dst_stride_a)), // %5
|
"r"((intptr_t)(dst_stride_a)), // %5
|
||||||
"r"((intptr_t)(dst_stride_b)) // %6
|
"r"((intptr_t)(dst_stride_b)) // %6
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user