HomeSort by relevance Sort by last modified time
    Searched refs:nativeSampleSize (Results 1 - 4 of 4) sorted by null

  /external/skia/src/codec/
SkSampledCodec.h 41 * @param nativeSampleSize Optional output parameter. Will be set to the
45 SkISize accountForNativeScaling(int* sampleSize, int* nativeSampleSize = nullptr) const;
SkSampledCodec.cpp 19 SkISize SkSampledCodec::accountForNativeScaling(int* sampleSizePtr, int* nativeSampleSize) const {
24 if (nativeSampleSize) {
25 *nativeSampleSize = 1;
56 if (nativeSampleSize) {
57 *nativeSampleSize = supportedSampleSize;
177 int nativeSampleSize;
178 SkISize nativeSize = this->accountForNativeScaling(&sampleSize, &nativeSampleSize);
194 const int subsetX = subsetPtr->x() / nativeSampleSize;
195 subsetY = subsetPtr->y() / nativeSampleSize;
197 subsetWidth = get_scaled_dimension(subsetPtr->width(), nativeSampleSize);
    [all...]
  /external/skqp/src/codec/
SkSampledCodec.h 41 * @param nativeSampleSize Optional output parameter. Will be set to the
45 SkISize accountForNativeScaling(int* sampleSize, int* nativeSampleSize = nullptr) const;
SkSampledCodec.cpp 19 SkISize SkSampledCodec::accountForNativeScaling(int* sampleSizePtr, int* nativeSampleSize) const {
24 if (nativeSampleSize) {
25 *nativeSampleSize = 1;
56 if (nativeSampleSize) {
57 *nativeSampleSize = supportedSampleSize;
177 int nativeSampleSize;
178 SkISize nativeSize = this->accountForNativeScaling(&sampleSize, &nativeSampleSize);
194 const int subsetX = subsetPtr->x() / nativeSampleSize;
195 subsetY = subsetPtr->y() / nativeSampleSize;
197 subsetWidth = get_scaled_dimension(subsetPtr->width(), nativeSampleSize);
    [all...]

Completed in 2984 milliseconds