cosmetics: s/color_space/colorspace/
in webpinfo.c, quality_estimate.c. this form is used elsewhere in the codebase Change-Id: I40c8202db51a7356e6a14d7e9b25c68153548438
This commit is contained in:
parent
05f6fe24c3
commit
7a8e814b57
@ -340,7 +340,7 @@ static WebPInfoStatus ParseLossyHeader(const ChunkData* const chunk_data,
|
||||
WebPInfoStatus status = WEBP_INFO_OK;
|
||||
uint64_t bit_position = 0;
|
||||
uint64_t* const bit_pos = &bit_position;
|
||||
int color_space, clamp_type;
|
||||
int colorspace, clamp_type;
|
||||
printf(" Parsing lossy bitstream...\n");
|
||||
// Calling WebPGetFeatures() in ProcessImageChunk() should ensure this.
|
||||
assert(chunk_data->size_ >= CHUNK_HEADER_SIZE + 10);
|
||||
@ -381,9 +381,9 @@ static WebPInfoStatus ParseLossyHeader(const ChunkData* const chunk_data,
|
||||
LOG_ERROR("Bad partition length.");
|
||||
return WEBP_INFO_BITSTREAM_ERROR;
|
||||
}
|
||||
GET_BITS(color_space, 1);
|
||||
GET_BITS(colorspace, 1);
|
||||
GET_BITS(clamp_type, 1);
|
||||
printf(" Color space: %d\n", color_space);
|
||||
printf(" Color space: %d\n", colorspace);
|
||||
printf(" Clamp type: %d\n", clamp_type);
|
||||
status = ParseLossySegmentHeader(webp_info, data, data_size, bit_pos);
|
||||
if (status != WEBP_INFO_OK) return status;
|
||||
|
@ -73,7 +73,7 @@ int VP8EstimateQuality(const uint8_t* const data, size_t size) {
|
||||
pos += 4;
|
||||
bit_pos = pos * 8;
|
||||
|
||||
GET_BIT(2); // color_space + clamp type
|
||||
GET_BIT(2); // colorspace + clamp type
|
||||
|
||||
// Segment header
|
||||
if (GET_BIT(1)) { // use_segment_
|
||||
|
Loading…
Reference in New Issue
Block a user