Thickness dependence mechanisms of the critical current density in high-Tc cuprate superconductor films