mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
gifdec: remove utils.h include
though visible WebPCopyPlane & WebPCopyPixels are not part of the public api; avoid using a private header within this public module. Change-Id: I5c8615fcc07090ffaa8933b00af418d8431936eb
This commit is contained in:
parent
038a060dfc
commit
4077d9447b
@ -18,9 +18,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "utils/utils.h"
|
|
||||||
#include "webp/mux_types.h"
|
|
||||||
#include "webp/encode.h"
|
#include "webp/encode.h"
|
||||||
|
#include "webp/mux_types.h"
|
||||||
|
|
||||||
#define GIF_TRANSPARENT_COLOR 0x00ffffff
|
#define GIF_TRANSPARENT_COLOR 0x00ffffff
|
||||||
#define GIF_WHITE_COLOR 0xffffffff
|
#define GIF_WHITE_COLOR 0xffffffff
|
||||||
@ -28,6 +27,13 @@
|
|||||||
#define GIF_DISPOSE_MASK 0x07
|
#define GIF_DISPOSE_MASK 0x07
|
||||||
#define GIF_DISPOSE_SHIFT 2
|
#define GIF_DISPOSE_SHIFT 2
|
||||||
|
|
||||||
|
// from utils/utils.h
|
||||||
|
extern void WebPCopyPlane(const uint8_t* src, int src_stride,
|
||||||
|
uint8_t* dst, int dst_stride,
|
||||||
|
int width, int height);
|
||||||
|
extern void WebPCopyPixels(const WebPPicture* const src,
|
||||||
|
WebPPicture* const dst);
|
||||||
|
|
||||||
void GIFGetBackgroundColor(const ColorMapObject* const color_map,
|
void GIFGetBackgroundColor(const ColorMapObject* const color_map,
|
||||||
int bgcolor_index, int transparent_index,
|
int bgcolor_index, int transparent_index,
|
||||||
uint32_t* const bgcolor) {
|
uint32_t* const bgcolor) {
|
||||||
|
Loading…
Reference in New Issue
Block a user