Home
last modified time | relevance | path

Searched refs:wpi (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/3rdparty/libwebp/mux/
Dmuxread.c80 WebPMuxImage* const wpi) { in MuxImageParse() argument
90 assert(!wpi->is_partial_); in MuxImageParse()
102 ChunkSetNth(&subchunk, &wpi->header_, 1); in MuxImageParse()
103 wpi->is_partial_ = 1; // Waiting for ALPH and/or VP8/VP8L chunks. in MuxImageParse()
118 if (wpi->alpha_ != NULL) goto Fail; // Consecutive ALPH chunks. in MuxImageParse()
119 if (ChunkSetNth(&subchunk, &wpi->alpha_, 1) != WEBP_MUX_OK) goto Fail; in MuxImageParse()
120 wpi->is_partial_ = 1; // Waiting for a VP8 chunk. in MuxImageParse()
123 if (ChunkSetNth(&subchunk, &wpi->img_, 1) != WEBP_MUX_OK) goto Fail; in MuxImageParse()
124 wpi->is_partial_ = 0; // wpi is completely filled. in MuxImageParse()
134 if (wpi->is_partial_) goto Fail; in MuxImageParse()
[all …]
Dmuxinternal.c227 void MuxImageInit(WebPMuxImage* const wpi) { in MuxImageInit() argument
228 assert(wpi); in MuxImageInit()
229 memset(wpi, 0, sizeof(*wpi)); in MuxImageInit()
232 WebPMuxImage* MuxImageRelease(WebPMuxImage* const wpi) { in MuxImageRelease() argument
234 if (wpi == NULL) return NULL; in MuxImageRelease()
235 ChunkDelete(wpi->header_); in MuxImageRelease()
236 ChunkDelete(wpi->alpha_); in MuxImageRelease()
237 ChunkDelete(wpi->img_); in MuxImageRelease()
239 next = wpi->next_; in MuxImageRelease()
240 MuxImageInit(wpi); in MuxImageRelease()
[all …]
Dmuxedit.c164 const WebPMuxImage* wpi; in GetImageData() local
167 wpi = mux->images_; in GetImageData()
168 assert(wpi != NULL && wpi->img_ != NULL); in GetImageData()
169 *image = wpi->img_->data_; in GetImageData()
170 if (wpi->alpha_ != NULL) { in GetImageData()
171 *alpha = wpi->alpha_->data_; in GetImageData()
250 const WebPData* const bitstream, int copy_data, WebPMuxImage* const wpi) { in SetAlphaAndImageChunks() argument
259 &wpi->alpha_); in SetAlphaAndImageChunks()
262 return AddDataToChunkList(&image, copy_data, image_tag, &wpi->img_); in SetAlphaAndImageChunks()
267 WebPMuxImage wpi; in WebPMuxSetImage() local
[all …]
Dmuxi.h162 void MuxImageInit(WebPMuxImage* const wpi);
165 WebPMuxImage* MuxImageRelease(WebPMuxImage* const wpi);
169 WebPMuxImage* MuxImageDelete(WebPMuxImage* const wpi);
191 const WebPMuxImage* const wpi, WebPChunkId id) { in MuxImageGetListFromId() argument
192 assert(wpi != NULL); in MuxImageGetListFromId()
195 case WEBP_CHUNK_FRGM: return (WebPChunk**)&wpi->header_; in MuxImageGetListFromId()
196 case WEBP_CHUNK_ALPHA: return (WebPChunk**)&wpi->alpha_; in MuxImageGetListFromId()
197 case WEBP_CHUNK_IMAGE: return (WebPChunk**)&wpi->img_; in MuxImageGetListFromId()
203 WebPMuxError MuxImagePush(const WebPMuxImage* wpi, WebPMuxImage** wpi_list);
210 WebPMuxImage** wpi);
[all …]
/external/valgrind/perf/
Dffbench.c176 double theta, wi, wpi, wpr, wr, wtemp; local
212 wpi = sin(theta);
228 wr = (wtemp = wr) * wpr - wi * wpi + wr;
229 wi = wi * wpr + wtemp * wpi + wi;