Searched refs:RGBA_SIZE_PER_PIXEL (Results 1 – 4 of 4) sorted by relevance
144 dst->bufferInfo_->rowStride_ = tex->Width() * RGBA_SIZE_PER_PIXEL; in OnApplyRGBA8888()145 dst->bufferInfo_->len_ = tex->Width() * tex->Height() * RGBA_SIZE_PER_PIXEL; in OnApplyRGBA8888()
145 dst->bufferInfo_->rowStride_ = tex->Width() * RGBA_SIZE_PER_PIXEL; in OnApplyRGBA8888()146 dst->bufferInfo_->len_ = tex->Width() * tex->Height() * RGBA_SIZE_PER_PIXEL; in OnApplyRGBA8888()
24 constexpr const int RGBA_SIZE_PER_PIXEL = 4; variable
305 auto data = std::make_unique<unsigned char[]>(width * height * RGBA_SIZE_PER_PIXEL); in ConvertFromYUVToRGB()340 auto rgbData = std::make_unique<unsigned char[]>(width * height * RGBA_SIZE_PER_PIXEL); in ConvertFromRGBToYUV()348 uint32_t rgb_index = i * width * RGBA_SIZE_PER_PIXEL + j * RGBA_SIZE_PER_PIXEL; in ConvertFromRGBToYUV()446 …ixelsFromTex(source, output->buffer_, w, h, output->bufferInfo_->rowStride_ / RGBA_SIZE_PER_PIXEL); in ConvertTextureToBuffer()