Use the correct channel conversion functions