Skip to content

Commit 076a455

Browse files
committed
Declare ScalePlane_16() in libyuv/scale.h
Fix the -Wmissing-prototypes warning. We could also fix the warning by marking ScalePlane_16() as file static. I chose to declare it in libyuv/scale.h to match the upstream code more closely.
1 parent 2eb35fc commit 076a455

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • third_party/libyuv/include/libyuv

third_party/libyuv/include/libyuv/scale.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ int ScalePlane(const uint8_t* src,
3131
int dst_height,
3232
enum FilterMode filtering);
3333

34+
int ScalePlane_16(const uint16_t* src,
35+
int src_stride,
36+
int src_width,
37+
int src_height,
38+
uint16_t* dst,
39+
int dst_stride,
40+
int dst_width,
41+
int dst_height,
42+
enum FilterMode filtering);
43+
3444
int ScalePlane_12(const uint16_t* src,
3545
int src_stride,
3646
int src_width,

0 commit comments

Comments
 (0)