Searched refs:hfactor (Results 1 – 2 of 2) sorted by relevance
/aosp12/hardware/google/graphics/common/libhwjpeg/ |
H A D | ExynosJpegEncoder.cpp | 165 unsigned int hfactor, vfactor; in setJpegFormat() local 168 hfactor = 1; in setJpegFormat() 172 hfactor = 2; in setJpegFormat() 176 hfactor = 2; in setJpegFormat() 180 hfactor = 0; in setJpegFormat() 184 hfactor = 1; in setJpegFormat() 188 hfactor = 4; in setJpegFormat() 196 if (!m_hwjpeg.SetChromaSampFactor(hfactor, vfactor)) in setJpegFormat()
|
/aosp12/hardware/google/graphics/common/libacryl/ |
H A D | acrylic_g2d.cpp | 322 void getChromaScaleFactor(uint32_t colormode, unsigned int *hfactor, unsigned int *vfactor) in getChromaScaleFactor() argument 327 *hfactor /= 2; in getChromaScaleFactor() 338 static unsigned int writeFilterCoefficients(uint32_t hfactor, uint32_t vfactor, uint32_t colormode, in writeFilterCoefficients() argument 341 unsigned int hindex = findFilterCoefficientsIndex(hfactor); in writeFilterCoefficients() 354 getChromaScaleFactor(colormode, &hfactor, &vfactor); in writeFilterCoefficients() 356 hindex = findFilterCoefficientsIndex(hfactor); in writeFilterCoefficients() 373 unsigned int hfactor = src_cmds[i][G2DSFR_SRC_XSCALE]; in getFilterCoefficientCount() local 376 if (hfactor > G2D_SCALE_FACTOR(8, 8)) in getFilterCoefficientCount() 381 getChromaScaleFactor(src_cmds[i][G2DSFR_IMG_COLORMODE], &hfactor, &vfactor); in getFilterCoefficientCount() 382 if (hfactor > G2D_SCALE_FACTOR(8, 8)) in getFilterCoefficientCount()
|