Longview motel resident pleads guilty of child pornography