pitch
"Pitch" is widely used to describe the distance between repeated elements in a structure possessing translational [of or relating to uniform movement without rotation, 平移] symmetry:
- Pitch (gear), the distance between a point on one tooth [齿轮的牙] and the corresponding point on an adjacent tooth
- Pitch (screw) the distance between turns of a screw thread
- Blade pitch the distance between the front edge and the rear edge of a propeller blade
- Pitch, the distance between passes in the helical scanning pattern of X-ray computed tomography
- Pitch (typewriter), the number of characters and spaces in one inch of running text
- Pitch, the distance between bits in a parallel integrated circuit element such as a register file
- Dot pitch in images
- Pin pitch, the distance between centers of pins in electronics packaging
- Seat pitch, the spacing between seat rows in an aircraft
再如,屏幕(缓冲区)的分辨率为1920x1080, 左上角坐标为(0, 0)。每个像素32位。画个黑色正方形就是把屏幕缓冲区的一部分设成0. 绘制坐标为(0, 0, 100, 100)的正方形,p = screen_buffer; 画完一行后p += pitch. ffmpeg里好像叫stride而不是pitch.
再如: