Stocks received in an inheritance are not taxable until you sell the stocks, then the cost of the stock would be the fair market value on the date of death.
IRA distributions will be taxable income when the money is taken out of the account.
Dividends reinvested are taxable income in the year of the dividend. It does not matter that it was reinvested.