📄 video handling.c
字号:
#include "Core A.h"
//--------------------------------------------------------------------------//
// Function: Generate_Picture //
// //
// Parameters: *Frame_Start //
// Pointer to start of frame //
// //
// Return: None //
// //
// Description: This function is used as a dummy and simply "draws" a green //
// square on screen (in field 1 and 2). //
//--------------------------------------------------------------------------//
void Generate_Picture(void *Frame_Start)
{
// index variable for access to ITU656 frame
short (*Frame_Index)[][VIDEO_MAX_SAMPLES] = Frame_Start;
int Line; // points to line inside a block
int Sample; // points to sample in a line
for(Line = 100; Line < VIDEO_MAX_LINES - 100; Line++)
for(Sample = 100; Sample < VIDEO_MAX_SAMPLES - 100; Sample++)
(*Frame_Index)[Line][Sample] = 0xe000;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -