Home | History | Annotate | Download | only in render

Lines Matching defs:components

51 FX_SAFE_UINT32 CalculatePitch8(uint32_t bpc, uint32_t components, int width) {
53 pitch *= components;
616 uint32_t components = 0;
617 pJpxModule->GetImageInfo(context->decoder(), &width, &height, &components);
623 if (components != m_pColorSpace->CountComponents())
631 if (components == 3) {
633 } else if (components == 4) {
636 m_nComponents = components;
640 if (components == 1) {
642 } else if (components <= 3) {
644 } else if (components == 4) {
647 width = (width * components + 2) / 3;
657 std::vector<uint8_t> output_offsets(components);
658 for (uint32_t i = 0; i < components; ++i)