Searched refs:vfactor (Results 1 – 2 of 2) sorted by relevance
/hardware/google/graphics/common/libhwjpeg/ |
D | ExynosJpegEncoder.cpp | 142 unsigned int hfactor, vfactor; in setJpegFormat() local 146 vfactor = 1; in setJpegFormat() 150 vfactor = 1; in setJpegFormat() 154 vfactor = 2; in setJpegFormat() 158 vfactor = 0; in setJpegFormat() 162 vfactor = 2; in setJpegFormat() 166 vfactor = 1; 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 332 *vfactor /= 2; in getChromaScaleFactor() 339 static unsigned int writeFilterCoefficients(uint32_t hfactor, uint32_t vfactor, uint32_t colormode, in writeFilterCoefficients() argument 343 unsigned int vindex = findFilterCoefficientsIndex(vfactor); in writeFilterCoefficients() 355 getChromaScaleFactor(colormode, &hfactor, &vfactor); in writeFilterCoefficients() 358 vindex = findFilterCoefficientsIndex(vfactor); in writeFilterCoefficients() 375 unsigned int vfactor = src_cmds[i][G2DSFR_SRC_YSCALE]; in getFilterCoefficientCount() local 379 if (vfactor > G2D_SCALE_FACTOR(8, 8)) in getFilterCoefficientCount() 382 getChromaScaleFactor(src_cmds[i][G2DSFR_IMG_COLORMODE], &hfactor, &vfactor); in getFilterCoefficientCount() 385 if (vfactor > G2D_SCALE_FACTOR(8, 8)) in getFilterCoefficientCount()
|