Direct perception (pratyakṣa): "Direct" means things and principles that exist right now, presently, before one's eyes; "perception" means estimation, measurement, and gauging. Direct perception is the estimation, measurement, and gauging of things that exist right before one's eyes. When seeing a dharma, one sees and knows it at that very moment and can make a judgment immediately, without needing to think it over or deliberate—especially without needing the mind consciousness to imagine or fantasize.
Non-valid cognition (non-pramāṇa), in contrast to direct perception, is not direct perception; it concerns dharmas that are not present and not before one's eyes, and therefore one can only know them through the mind consciousness's thinking, analysis, imagination, fantasy, recollection, and so on.
Non-valid cognition has another meaning: an erroneous estimation, deliberation, weighing, or measurement, one whose conclusions are wrong and do not accord with facts. In reality, only the eighth consciousness, and the seven consciousnesses after buddhahood is attained, have cognition that entirely accords with facts. Before attaining buddhahood, because there is still ignorance, the seven consciousness minds have non-valid cognition to varying degrees; the closer one approaches the Buddha's wisdom, the less non-valid cognition there is and the more the realm of direct perception increases; the more of an ordinary being one is, the more one's cognition is non-valid, with little or no direct perception. Even when one sees the mountains and rivers before one's eyes as mountains and rivers, this is still not direct perception but non-valid cognition, because one sees only the false appearance and not the substance behind the appearance.
When you have time, cultivate meditative concentration (samādhi) more. Without meditative concentration, you cannot fully and completely understand these relatively profound dharmas. Merely understanding is not enough; you must not only fully digest them, but also be able to draw inferences from one instance to others, citing all examples of a similar kind.
0
+1