For a charitible contribution that was a bargain sale, does one enter the "value" as the appraised value, or the difference between the value and the bargain sale amount?

Since TurboTax later asks for the bargain sale amount, I am not sure if the value of the contribution should be entered as the full value, or if that needs to be the difference between the full value and the discounted sale price.