mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 06:10:40 +01:00

This is a safe cleanup change since top-level const applied to parameters in function declarations (that are not also definitions) are ignored by the compiler. Hence, such changes do not change the type of the declared functions and are simply no-ops. Bug: webrtc:13610 Change-Id: Ibafb92c45119a6d8bdb6f9109aa8dad6385163a9 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/249086 Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Ali Tofigh <alito@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35802}
30 lines
977 B
C++
30 lines
977 B
C++
/*
|
|
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#ifndef MODULES_VIDEO_PROCESSING_UTIL_SKIN_DETECTION_H_
|
|
#define MODULES_VIDEO_PROCESSING_UTIL_SKIN_DETECTION_H_
|
|
|
|
namespace webrtc {
|
|
|
|
#define MODEL_MODE 0
|
|
|
|
typedef unsigned char uint8_t;
|
|
bool MbHasSkinColor(const uint8_t* y_src,
|
|
const uint8_t* u_src,
|
|
const uint8_t* v_src,
|
|
int stride_y,
|
|
int stride_u,
|
|
int stride_v,
|
|
int mb_row,
|
|
int mb_col);
|
|
|
|
} // namespace webrtc
|
|
|
|
#endif // MODULES_VIDEO_PROCESSING_UTIL_SKIN_DETECTION_H_
|