/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/ |
A D | lossless_enc_mips_dsp_r2.c | 180 int histo[]) { in CollectColorBlueTransforms_MIPSdspR2() argument 211 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorBlueTransforms_MIPSdspR2() 212 ++histo[(uint8_t)temp2]; in CollectColorBlueTransforms_MIPSdspR2() 215 ++histo[TransformColorBlue(green_to_blue, red_to_blue, *p_argb)]; in CollectColorBlueTransforms_MIPSdspR2() 233 int histo[]) { in CollectColorRedTransforms_MIPSdspR2() argument 256 ++histo[(uint8_t)(temp2 >> 16)]; in CollectColorRedTransforms_MIPSdspR2() 257 ++histo[(uint8_t)temp2]; in CollectColorRedTransforms_MIPSdspR2() 260 ++histo[TransformColorRed(green_to_red, *p_argb)]; in CollectColorRedTransforms_MIPSdspR2()
|
A D | lossless_enc_sse41.c | 51 int histo[]) { in CollectColorBlueTransforms_SSE41() argument 82 for (i = 0; i < SPAN; ++i) ++histo[values[i]]; in CollectColorBlueTransforms_SSE41() 90 green_to_blue, red_to_blue, histo); in CollectColorBlueTransforms_SSE41() 97 int green_to_red, int histo[]) { in CollectColorRedTransforms_SSE41() argument 120 for (i = 0; i < SPAN; ++i) ++histo[values[i]]; in CollectColorRedTransforms_SSE41() 128 histo); in CollectColorRedTransforms_SSE41()
|
A D | lossless.h | 128 int green_to_blue, int red_to_blue, int histo[]); 134 int green_to_red, int histo[]); 143 int green_to_red, int histo[]); 147 int histo[]);
|
A D | lossless_enc_sse2.c | 85 int histo[]) { in CollectColorBlueTransforms_SSE2() argument 116 for (i = 0; i < SPAN; ++i) ++histo[values[i]]; in CollectColorBlueTransforms_SSE2() 124 green_to_blue, red_to_blue, histo); in CollectColorBlueTransforms_SSE2() 131 int green_to_red, int histo[]) { in CollectColorRedTransforms_SSE2() argument 156 for (i = 0; i < SPAN; ++i) ++histo[values[i]]; in CollectColorRedTransforms_SSE2() 164 green_to_red, histo); in CollectColorRedTransforms_SSE2()
|
A D | enc.c | 47 VP8Histogram* const histo) { in VP8SetHistogramData() argument 57 histo->max_value = max_value; in VP8SetHistogramData() 58 histo->last_non_zero = last_non_zero; in VP8SetHistogramData() 64 VP8Histogram* const histo) { in CollectHistogram_C() argument 80 VP8SetHistogramData(distribution, histo); in CollectHistogram_C()
|
A D | lossless_enc.c | 557 int green_to_red, int histo[]) { in VP8LCollectColorRedTransforms_C() argument 561 ++histo[TransformColorRed(green_to_red, argb[x])]; in VP8LCollectColorRedTransforms_C() 570 int histo[]) { in VP8LCollectColorBlueTransforms_C() argument 574 ++histo[TransformColorBlue(green_to_blue, red_to_blue, argb[x])]; in VP8LCollectColorBlueTransforms_C()
|
A D | enc_sse41.c | 28 VP8Histogram* const histo) { in CollectHistogram_SSE41() argument 61 VP8SetHistogramData(distribution, histo); in CollectHistogram_SSE41()
|
A D | dsp.h | 299 VP8Histogram* const histo); 303 VP8Histogram* const histo);
|
A D | enc_neon.c | 719 VP8Histogram* const histo) { in CollectHistogram_NEON() argument 744 VP8SetHistogramData(distribution, histo); in CollectHistogram_NEON()
|
A D | enc_mips_dsp_r2.c | 1457 VP8Histogram* const histo) { in CollectHistogram_MIPSdspR2() argument 1478 VP8SetHistogramData(distribution, histo); in CollectHistogram_MIPSdspR2()
|
A D | enc_msa.c | 227 VP8Histogram* const histo) { in CollectHistogram_MSA() argument 250 VP8SetHistogramData(distribution, histo); in CollectHistogram_MSA()
|
A D | enc_sse2.c | 439 VP8Histogram* const histo) { in CollectHistogram_SSE2() argument 475 VP8SetHistogramData(distribution, histo); in CollectHistogram_SSE2()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/ |
A D | histogram_enc.h | 77 VP8LHistogram* const histo); 80 void VP8LFreeHistogram(VP8LHistogram* const histo); 83 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo); 98 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo,
|
A D | analysis_enc.c | 117 const int max_value = histo->max_value; in GetAlpha() 118 const int last_non_zero = histo->last_non_zero; in GetAlpha() 125 histo->max_value = 0; in InitHistogram() 126 histo->last_non_zero = 1; in InitHistogram() 248 VP8Histogram histo; in MBAnalyzeBestIntra16Mode() local 251 InitHistogram(&histo); in MBAnalyzeBestIntra16Mode() 254 0, 16, &histo); in MBAnalyzeBestIntra16Mode() 255 alpha = GetAlpha(&histo); in MBAnalyzeBestIntra16Mode() 340 VP8Histogram histo; in MBAnalyzeBestUVMode() local 342 InitHistogram(&histo); in MBAnalyzeBestUVMode() [all …]
|
A D | histogram_enc.c | 70 WebPSafeFree(histo); in VP8LFreeHistogram() 74 WebPSafeFree(histo); in VP8LFreeHistogramSet() 112 VP8LHistogram* histo = NULL; in VP8LAllocateHistogram() local 116 histo = (VP8LHistogram*)memory; in VP8LAllocateHistogram() 120 return histo; in VP8LAllocateHistogram() 205 ++histo->red_[PixOrCopyLiteral(v, 2)]; in VP8LHistogramAddSinglePixOrCopy() 211 ++histo->literal_[literal_ix]; in VP8LHistogramAddSinglePixOrCopy() 223 ++histo->distance_[code]; in VP8LHistogramAddSinglePixOrCopy() 592 UpdateHistogramCost(histo); in HistogramCopyAndAnalyze() 596 if (!histo->is_used_[0] && !histo->is_used_[1] && !histo->is_used_[2] in HistogramCopyAndAnalyze() [all …]
|
A D | vp8l_enc.c | 195 uint32_t* histo; in AnalyzeEntropy() local 204 histo = (uint32_t*)WebPSafeCalloc(kHistoTotal, sizeof(*histo) * 256); in AnalyzeEntropy() 205 if (histo != NULL) { in AnalyzeEntropy() 220 &histo[kHistoRed * 256], in AnalyzeEntropy() 252 ++histo[kHistoRedPredSubGreen * 256]; in AnalyzeEntropy() 254 ++histo[kHistoRedPred * 256]; in AnalyzeEntropy() 255 ++histo[kHistoGreenPred * 256]; in AnalyzeEntropy() 256 ++histo[kHistoBluePred * 256]; in AnalyzeEntropy() 257 ++histo[kHistoAlphaPred * 256]; in AnalyzeEntropy() 328 WebPSafeFree(histo); in AnalyzeEntropy() [all …]
|
A D | backward_references_cost_enc.c | 65 VP8LHistogram* const histo = VP8LAllocateHistogram(cache_bits); in CostModelBuild() local 66 if (histo == NULL) goto Error; in CostModelBuild() 70 VP8LHistogramInit(histo, cache_bits, /*init_arrays=*/ 1); in CostModelBuild() 72 VP8LHistogramAddSinglePixOrCopy(histo, c.cur_pos, VP8LDistanceToPlaneCode, in CostModelBuild() 78 VP8LHistogramNumCodes(histo->palette_code_bits_), in CostModelBuild() 79 histo->literal_, m->literal_); in CostModelBuild() 81 VALUES_IN_BYTE, histo->red_, m->red_); in CostModelBuild() 83 VALUES_IN_BYTE, histo->blue_, m->blue_); in CostModelBuild() 85 VALUES_IN_BYTE, histo->alpha_, m->alpha_); in CostModelBuild() 87 NUM_DISTANCE_CODES, histo->distance_, m->distance_); in CostModelBuild() [all …]
|
A D | predictor_enc.c | 482 int histo[4][256]; in VP8LResidualImage() local 490 memset(histo, 0, sizeof(histo)); in VP8LResidualImage() 495 bits, histo, argb_scratch, argb, max_quantization, exact, in VP8LResidualImage() 544 int histo[256] = { 0 }; in GetPredictionCostCrossColorRed() local 548 green_to_red, histo); in GetPredictionCostCrossColorRed() 550 cur_diff = PredictionCostCrossColor(accumulated_red_histo, histo); in GetPredictionCostCrossColorRed() 597 int histo[256] = { 0 }; in GetPredictionCostCrossColorBlue() local 601 green_to_blue, red_to_blue, histo); in GetPredictionCostCrossColorBlue() 603 cur_diff = PredictionCostCrossColor(accumulated_blue_histo, histo); in GetPredictionCostCrossColorBlue()
|
A D | backward_references_enc.c | 851 VP8LHistogram* histo = NULL; in GetBackwardReferences() local 856 histo = VP8LAllocateHistogram(MAX_COLOR_CACHE_BITS); in GetBackwardReferences() 857 if (histo == NULL) goto Error; in GetBackwardReferences() 895 VP8LHistogramCreate(histo, worst, cache_bits_tmp); in GetBackwardReferences() 896 bit_cost = VP8LHistogramEstimateBits(histo); in GetBackwardReferences() 917 VP8LHistogramCreate(histo, worst, *cache_bits); in GetBackwardReferences() 918 bit_cost_trace = VP8LHistogramEstimateBits(histo); in GetBackwardReferences() 927 VP8LFreeHistogram(histo); in GetBackwardReferences()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/ |
A D | ChangeLog | 1293 85b44d8a lossless: encoding, don't compute unnecessary histo 1664 abf04205 Enable entropy based merge histo for (q<100) 3444 31035f3b reduce memory usage by allocating only one histo
|