Searched refs:hfactor (Results 1 – 2 of 2) sorted by relevance
/hardware/google/graphics/common/libhwjpeg/ |
D | ExynosJpegEncoder.cpp | 142 unsigned int hfactor, vfactor; in setJpegFormat() local 145 hfactor = 1; in setJpegFormat() 149 hfactor = 2; in setJpegFormat() 153 hfactor = 2; in setJpegFormat() 157 hfactor = 0; in setJpegFormat() 161 hfactor = 1; in setJpegFormat() 165 hfactor = 4; in setJpegFormat() 173 if (!m_hwjpeg.SetChromaSampFactor(hfactor, vfactor)) return -1; in setJpegFormat()
|
/hardware/google/graphics/common/libacryl/ |
D | acrylic_g2d.cpp | 323 void getChromaScaleFactor(uint32_t colormode, unsigned int *hfactor, unsigned int *vfactor) in getChromaScaleFactor() argument 328 *hfactor /= 2; in getChromaScaleFactor() 339 static unsigned int writeFilterCoefficients(uint32_t hfactor, uint32_t vfactor, uint32_t colormode, in writeFilterCoefficients() argument 342 unsigned int hindex = findFilterCoefficientsIndex(hfactor); in writeFilterCoefficients() 355 getChromaScaleFactor(colormode, &hfactor, &vfactor); in writeFilterCoefficients() 357 hindex = findFilterCoefficientsIndex(hfactor); in writeFilterCoefficients() 374 unsigned int hfactor = src_cmds[i][G2DSFR_SRC_XSCALE]; in getFilterCoefficientCount() local 377 if (hfactor > G2D_SCALE_FACTOR(8, 8)) in getFilterCoefficientCount() 382 getChromaScaleFactor(src_cmds[i][G2DSFR_IMG_COLORMODE], &hfactor, &vfactor); in getFilterCoefficientCount() 383 if (hfactor > G2D_SCALE_FACTOR(8, 8)) in getFilterCoefficientCount()
|