Lines Matching refs:hdrs
303 WebPHeaderStructure hdrs; in ParseHeadersInternal() local
308 memset(&hdrs, 0, sizeof(hdrs)); in ParseHeadersInternal()
309 hdrs.data = data; in ParseHeadersInternal()
310 hdrs.data_size = data_size; in ParseHeadersInternal()
313 status = ParseRIFF(&data, &data_size, have_all_data, &hdrs.riff_size); in ParseHeadersInternal()
317 found_riff = (hdrs.riff_size > 0); in ParseHeadersInternal()
355 status = ParseOptionalChunks(&data, &data_size, hdrs.riff_size, in ParseHeadersInternal()
356 &hdrs.alpha_data, &hdrs.alpha_data_size); in ParseHeadersInternal()
363 status = ParseVP8Header(&data, &data_size, have_all_data, hdrs.riff_size, in ParseHeadersInternal()
364 &hdrs.compressed_size, &hdrs.is_lossless); in ParseHeadersInternal()
368 if (hdrs.compressed_size > MAX_CHUNK_PAYLOAD) { in ParseHeadersInternal()
373 *format = hdrs.is_lossless ? 2 : 1; in ParseHeadersInternal()
376 if (!hdrs.is_lossless) { in ParseHeadersInternal()
382 if (!VP8GetInfo(data, data_size, (uint32_t)hdrs.compressed_size, in ParseHeadersInternal()
403 *headers = hdrs; in ParseHeadersInternal()
414 *has_alpha |= (hdrs.alpha_data != NULL); in ParseHeadersInternal()