Lines Matching refs:headers
271 // Fetch '*width', '*height', '*has_alpha' and fill out 'headers' based on
272 // 'data'. All the output parameters may be NULL. If 'headers' is NULL only the
274 // If 'headers' is non-NULL this function will attempt to locate both alpha
288 WebPHeaderStructure* const headers) {
322 if (found_vp8x && headers == NULL) {
373 if (headers != NULL) {
374 *headers = hdrs;
375 headers->offset = data - headers->data;
376 assert((uint64_t)(data - headers->data) < MAX_CHUNK_PAYLOAD);
377 assert(headers->offset == headers->data_size - data_size);
382 VP8StatusCode WebPParseHeaders(WebPHeaderStructure* const headers) {
385 assert(headers != NULL);
386 // fill out headers, ignore width/height/has_alpha.
387 status = ParseHeadersInternal(headers->data, headers->data_size,
388 NULL, NULL, NULL, &has_animation, headers);
415 WebPHeaderStructure headers;
417 headers.data = data;
418 headers.data_size = data_size;
419 status = WebPParseHeaders(&headers); // Process Pre-VP8 chunks.
426 io.data = headers.data + headers.offset;
427 io.data_size = headers.data_size - headers.offset;
430 if (!headers.is_lossless) {
440 dec->alpha_data_ = headers.alpha_data;
441 headers.alpha_data_size;