mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-05 19:42:54 +01:00
Merge "gifdec: remove utils.h include"
This commit is contained in:
commit
46bb1e34b0
@ -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…
x
Reference in New Issue
Block a user