Home
last modified time | relevance | path

Searched refs:srcNV12 (Results 1 - 4 of 4) sorted by relevance

/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/
H A Dcpu_brightness_algo.cpp163 auto *srcNV12 = static_cast<unsigned char *>(src->buffer_); in OnApplyYUVNV12() local
172 errno_t result = memcpy_s(dstNV12, dst->bufferInfo_->len_, srcNV12, src->bufferInfo_->len_); in OnApplyYUVNV12()
188 uint8_t *srcNV12UV = srcNV12 + width * height; in OnApplyYUVNV12()
191 #pragma omp parallel for default(none) shared(height, width, srcNV12, dstNV12, lut) in OnApplyYUVNV12()
197 uint8_t y = srcNV12[y_index]; in OnApplyYUVNV12()
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/
H A Dcpu_contrast_algo.cpp151 auto *srcNV12 = static_cast<unsigned char *>(src->buffer_); in OnApplyYUVNV12() local
160 errno_t result = memcpy_s(dstNV12, dst->bufferInfo_->len_, srcNV12, src->bufferInfo_->len_); in OnApplyYUVNV12()
175 uint8_t *srcNV12UV = srcNV12 + width * height; in OnApplyYUVNV12()
178 #pragma omp parallel for default(none) shared(height, width, srcNV12, dstNV12, lut) in OnApplyYUVNV12()
184 uint8_t y = srcNV12[y_index]; in OnApplyYUVNV12()
/foundation/multimedia/image_effect/frameworks/native/render_environment/
H A Drender_environment.cpp252 auto *srcNV12 = static_cast<unsigned char *>(source->buffer_); in ConvertFromYUVToRGB() local
253 uint8_t *srcNV12UV = srcNV12 + width * height; in ConvertFromYUVToRGB()
264 y = srcNV12[y_index]; in ConvertFromYUVToRGB()
268 y = srcNV12[y_index]; in ConvertFromYUVToRGB()
291 auto *srcNV12 = static_cast<unsigned char *>(data); in ConvertFromRGBToYUV() local
292 uint8_t *srcNV12UV = srcNV12 + width * height; in ConvertFromRGBToYUV()
301 srcNV12[y_index] = FormatHelper::RGBToY(r, g, b); in ConvertFromRGBToYUV()
/foundation/multimedia/image_effect/frameworks/native/utils/format/
H A Dformat_helper.cpp243 uint8_t *srcNV12 = static_cast<uint8_t *>(src.buffer); in ConvertNV12ToRGBA() local
244 uint8_t *srcNV12UV = srcNV12 + srcBuffInfo.height_ * srcRowStride; in ConvertNV12ToRGBA()
247 #pragma omp parallel for default(none) shared(height, width, srcNV12, srcNV12UV, dstRGBA, srcRowStride, dstRowStride) in ConvertNV12ToRGBA()
253 uint8_t y = srcNV12[y_index]; in ConvertNV12ToRGBA()

Completed in 4 milliseconds