Firefighters are battling to maintain the upper hand on a huge and rapidly moving wildfire that swept through rugged mountains north of Los Angeles.