Lines Matching refs:hdrs
295 WebPHeaderStructure hdrs; in ParseHeadersInternal() local
300 memset(&hdrs, 0, sizeof(hdrs)); in ParseHeadersInternal()
301 hdrs.data = data; in ParseHeadersInternal()
302 hdrs.data_size = data_size; in ParseHeadersInternal()
305 status = ParseRIFF(&data, &data_size, have_all_data, &hdrs.riff_size); in ParseHeadersInternal()
309 found_riff = (hdrs.riff_size > 0); in ParseHeadersInternal()
345 status = ParseOptionalChunks(&data, &data_size, hdrs.riff_size, in ParseHeadersInternal()
346 &hdrs.alpha_data, &hdrs.alpha_data_size); in ParseHeadersInternal()
353 status = ParseVP8Header(&data, &data_size, have_all_data, hdrs.riff_size, in ParseHeadersInternal()
354 &hdrs.compressed_size, &hdrs.is_lossless); in ParseHeadersInternal()
358 if (hdrs.compressed_size > MAX_CHUNK_PAYLOAD) { in ParseHeadersInternal()
363 *format = hdrs.is_lossless ? 2 : 1; in ParseHeadersInternal()
366 if (!hdrs.is_lossless) { in ParseHeadersInternal()
372 if (!VP8GetInfo(data, data_size, (uint32_t)hdrs.compressed_size, in ParseHeadersInternal()
393 *headers = hdrs; in ParseHeadersInternal()
404 *has_alpha |= (hdrs.alpha_data != NULL); in ParseHeadersInternal()