Click or drag to resize
XDL

XFramePictureResizeCapture Method (XFramePicture, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

비디오 프레임의 임의 영역을 선택하고 출력 대상 크기를 설정하여 그린 프레임 갈무리 버퍼를 얻는다. 바로 활용할 수 있도록 RGB, YUV 형식을 갈무리한다.

Namespace:  Pixoneer.NXDL.NXVideo
Assembly:  NXVideo (in NXVideo.dll) Version: 1.2.817.72
Syntax
C#
public static XFrameCaptureBuffer ResizeCapture(
	XFramePicture frame,
	int srcX,
	int srcY,
	int srcWidth,
	int srcHeight,
	int width,
	int height,
	int dstX,
	int dstY,
	int dstWidth,
	int dstHeight
)

Parameters

frame
Type: Pixoneer.NXDL.NXVideoXFramePicture
원본 비디오 프레임.
srcX
Type: SystemInt32
갈무리할 원본 프레임 왼쪽 시작 위치.
srcY
Type: SystemInt32
갈무리할 원본 프레임 위쪽 시작 위치.
srcWidth
Type: SystemInt32
왼쪽 시작 위치부터 갈무리할 원본 프레임 가로 크기.
srcHeight
Type: SystemInt32
위쪽 시작 위치부터 갈무리할 원본 프레임 세로 크기.
width
Type: SystemInt32
새 프레임 가로 크기.
height
Type: SystemInt32
새 프레임 세로 크기.
dstX
Type: SystemInt32
갈무리 프레임 왼쪽 시작 위치.
dstY
Type: SystemInt32
갈무리 프레임 위쪽 시작 위치.
dstWidth
Type: SystemInt32
왼쪽 시작 위치부터 갈무리 프레임 가로 크기.
dstHeight
Type: SystemInt32
위쪽 시작 위치부터 갈무리 프레임 세로 크기.

Return Value

Type: XFrameCaptureBuffer
새로운 크기의 비디오 프레임이 그려진 갈무리 버퍼. 반환하는 프레임 갈무리 버퍼는 쓰레드 안전성이 보장되지 않는다.
See Also