Home
last modified time | relevance | path

Searched refs:webp_data (Results 1 – 8 of 8) sorted by relevance

/external/webp/src/webp/
Dmux_types.h65 static WEBP_INLINE void WebPDataInit(WebPData* webp_data) { in WebPDataInit() argument
66 if (webp_data != NULL) { in WebPDataInit()
67 memset(webp_data, 0, sizeof(*webp_data)); in WebPDataInit()
73 static WEBP_INLINE void WebPDataClear(WebPData* webp_data) { in WebPDataClear() argument
74 if (webp_data != NULL) { in WebPDataClear()
75 free((void*)webp_data->bytes); in WebPDataClear()
76 WebPDataInit(webp_data); in WebPDataClear()
Ddemux.h283 const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options) { in WebPAnimDecoderNew() argument
284 return WebPAnimDecoderNewInternal(webp_data, dec_options, in WebPAnimDecoderNew()
Dmux.h507 WebPData* webp_data);
/external/webp/include/webp/
Dmux_types.h65 static WEBP_INLINE void WebPDataInit(WebPData* webp_data) { in WebPDataInit() argument
66 if (webp_data != NULL) { in WebPDataInit()
67 memset(webp_data, 0, sizeof(*webp_data)); in WebPDataInit()
73 static WEBP_INLINE void WebPDataClear(WebPData* webp_data) { in WebPDataClear() argument
74 if (webp_data != NULL) { in WebPDataClear()
75 free((void*)webp_data->bytes); in WebPDataClear()
76 WebPDataInit(webp_data); in WebPDataClear()
Ddemux.h283 const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options) { in WebPAnimDecoderNew() argument
284 return WebPAnimDecoderNewInternal(webp_data, dec_options, in WebPAnimDecoderNew()
Dmux.h507 WebPData* webp_data);
/external/webp/src/mux/
Danim_encode.c1476 WebPData* const webp_data) { in OptimizeSingleFrame() argument
1482 WebPMux* const mux = WebPMuxCreate(webp_data, 0); in OptimizeSingleFrame()
1503 if (webp_data2.size < webp_data->size) { // Pick 'webp_data2' if smaller. in OptimizeSingleFrame()
1504 WebPDataClear(webp_data); in OptimizeSingleFrame()
1505 *webp_data = webp_data2; in OptimizeSingleFrame()
1517 int WebPAnimEncoderAssemble(WebPAnimEncoder* enc, WebPData* webp_data) { in WebPAnimEncoderAssemble() argument
1526 if (webp_data == NULL) { in WebPAnimEncoderAssemble()
1560 err = WebPMuxAssemble(mux, webp_data); in WebPAnimEncoderAssemble()
1564 err = OptimizeSingleFrame(enc, webp_data); in WebPAnimEncoderAssemble()
/external/webp/src/demux/
Danim_decode.c86 const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options, in WebPAnimDecoderNewInternal() argument
90 if (webp_data == NULL || in WebPAnimDecoderNewInternal()
106 dec->demux_ = WebPDemux(webp_data); in WebPAnimDecoderNewInternal()