Nonlinear photonic crystals in chalcogenide for all-optical processing