mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
fix const correctness on mjpeg
BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/463003 git-svn-id: http://libyuv.googlecode.com/svn/trunk@229 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
8647dd755e
commit
427f966645
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 228
|
||||
Version: 229
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@ struct SetJmpErrorMgr;
|
||||
class MJpegDecoder {
|
||||
public:
|
||||
typedef void (*CallbackFunction)(void* opaque,
|
||||
const uint8** data,
|
||||
const uint8* const* data,
|
||||
const int* strides,
|
||||
int rows);
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#ifndef INCLUDE_LIBYUV_VERSION_H_
|
||||
#define INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
#define INCLUDE_LIBYUV_VERSION 228
|
||||
#define INCLUDE_LIBYUV_VERSION 229
|
||||
|
||||
#endif // INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
|
||||
@ -1377,7 +1377,7 @@ struct I420Buffers {
|
||||
};
|
||||
|
||||
static void JpegCopyI420(void* opaque,
|
||||
const uint8** data,
|
||||
const uint8* const* data,
|
||||
const int* strides,
|
||||
int rows) {
|
||||
I420Buffers* dest = static_cast<I420Buffers*>(opaque);
|
||||
@ -1395,7 +1395,7 @@ static void JpegCopyI420(void* opaque,
|
||||
}
|
||||
|
||||
static void JpegI422ToI420(void* opaque,
|
||||
const uint8** data,
|
||||
const uint8* const* data,
|
||||
const int* strides,
|
||||
int rows) {
|
||||
I420Buffers* dest = static_cast<I420Buffers*>(opaque);
|
||||
@ -1413,7 +1413,7 @@ static void JpegI422ToI420(void* opaque,
|
||||
}
|
||||
|
||||
static void JpegI444ToI420(void* opaque,
|
||||
const uint8** data,
|
||||
const uint8* const* data,
|
||||
const int* strides,
|
||||
int rows) {
|
||||
I420Buffers* dest = static_cast<I420Buffers*>(opaque);
|
||||
@ -1431,7 +1431,7 @@ static void JpegI444ToI420(void* opaque,
|
||||
}
|
||||
|
||||
static void JpegI411ToI420(void* opaque,
|
||||
const uint8** data,
|
||||
const uint8* const* data,
|
||||
const int* strides,
|
||||
int rows) {
|
||||
I420Buffers* dest = static_cast<I420Buffers*>(opaque);
|
||||
@ -1449,7 +1449,7 @@ static void JpegI411ToI420(void* opaque,
|
||||
}
|
||||
|
||||
static void JpegI400ToI420(void* opaque,
|
||||
const uint8** data,
|
||||
const uint8* const* data,
|
||||
const int* strides,
|
||||
int rows) {
|
||||
I420Buffers* dest = static_cast<I420Buffers*>(opaque);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user