Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for uninterlace (0.27 sec)

  1. src/image/gif/reader.go

    	{4, 2}, // Group 3 : Every 4th. row, starting with row 2.
    	{2, 1}, // Group 4 : Every 2nd. row, starting with row 1.
    }
    
    // uninterlace rearranges the pixels in m to account for interlaced input.
    func uninterlace(m *image.Paletted) {
    	var nPix []uint8
    	dx := m.Bounds().Dx()
    	dy := m.Bounds().Dy()
    	nPix = make([]uint8, dx*dy)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/image/png/testdata/benchRGB-interlace.png

    benchRGB-interlace.png...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 46.4K bytes
    - Viewed (0)
  3. src/image/png/reader.go

    	ftPaeth   = 4
    	nFilter   = 5
    )
    
    // Interlace type.
    const (
    	itNone  = 0
    	itAdam7 = 1
    )
    
    // interlaceScan defines the placement and size of a pass for Adam7 interlacing.
    type interlaceScan struct {
    	xFactor, yFactor, xOffset, yOffset int
    }
    
    // interlacing defines Adam7 interlacing, with 7 passes of reduced images.
    // See https://www.w3.org/TR/PNG/#8Interlace
    var interlacing = []interlaceScan{
    	{8, 8, 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      public void testSerializableOnReturnValues_good() throws Exception {
        tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testSerializable();
      }
    
      public static class GoodSerializableFactory {
        public static Object good(Runnable r) {
          return r;
        }
    
        public static Object good(AnInterface i) {
          return i;
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  5. maven-di/src/main/java/org/apache/maven/di/impl/Types.java

            Type superclass = cls.getGenericSuperclass();
            if (superclass != null) {
                getAllTypeBindingsImpl(superclass, mapping);
            }
    
            for (Type anInterface : cls.getGenericInterfaces()) {
                getAllTypeBindingsImpl(anInterface, mapping);
            }
        }
    
        /**
         * Binds a given type with actual type arguments
         *
         * @param type     a type to be bound
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java

                    return annotation;
                }
            }
    
            if (annotationType.getAnnotation(Inherited.class) != null) {
                for (Class<?> anInterface : type.getInterfaces()) {
                    annotation = getAnnotation(anInterface, annotationType, true);
                    if (annotation != null) {
                        return annotation;
                    }
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  7. operator/pkg/util/reflect_test.go

    				t.Errorf("%s with %s (#%d): got: %t, want: %t", tt.desc, reflect.TypeOf(v), vidx, got, want)
    			}
    		}
    	}
    }
    
    type interfaceContainer struct {
    	I anInterface
    }
    
    type anInterface interface {
    	IsU()
    }
    
    type implementsInterface struct {
    	A string
    }
    
    func (*implementsInterface) IsU() {}
    
    func TestIsValueInterface(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                }
            }
    
            // and interfaces
            Class<?>[] interfaces = clazz.getInterfaces();
    
            for (Class<?> anInterface : interfaces) {
                Method interfaceMethod = getPublicMethod(anInterface, name, paramTypes);
    
                if (interfaceMethod != null) {
                    return interfaceMethod;
                }
            }
    
            return null;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  9. src/image/png/reader_test.go

    		t.Fatal(err)
    	}
    	b, err := readPNG("testdata/gray-gradient.interlaced.png")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !reflect.DeepEqual(a, b) {
    		t.Fatalf("decodings differ:\nnon-interlaced:\n%#v\ninterlaced:\n%#v", a, b)
    	}
    }
    
    func TestIncompleteIDATOnRowBoundary(t *testing.T) {
    	// The following is an invalid 1x2 grayscale PNG image. The header is OK,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 12:12:12 UTC 2022
    - 28.5K bytes
    - Viewed (0)
Back to top