Lines Matching refs:bitstream
128 static WebPMuxError GetImageData(const WebPData* const bitstream, in GetImageData() argument
132 if (bitstream->size < TAG_SIZE || in GetImageData()
133 memcmp(bitstream->bytes, "RIFF", TAG_SIZE)) { in GetImageData()
135 *image = *bitstream; in GetImageData()
139 WebPMux* const mux = WebPMuxCreate(bitstream, 0); in GetImageData()
216 const WebPData* const bitstream, int copy_data, WebPMuxImage* const wpi) { in SetAlphaAndImageChunks() argument
219 WebPMuxError err = GetImageData(bitstream, &image, &alpha, &is_lossless); in SetAlphaAndImageChunks()
233 WebPMuxError WebPMuxSetImage(WebPMux* mux, const WebPData* bitstream, in WebPMuxSetImage() argument
239 if (mux == NULL || bitstream == NULL || bitstream->bytes == NULL || in WebPMuxSetImage()
240 bitstream->size > MAX_CHUNK_PAYLOAD) { in WebPMuxSetImage()
250 err = SetAlphaAndImageChunks(bitstream, copy_data, &wpi); in WebPMuxSetImage()
275 if (info->bitstream.bytes == NULL || in WebPMuxPushFrame()
276 info->bitstream.size > MAX_CHUNK_PAYLOAD) { in WebPMuxPushFrame()
290 err = SetAlphaAndImageChunks(&info->bitstream, copy_data, &wpi); in WebPMuxPushFrame()