PhotoCaptureDevice.GetPreviewBufferYCbCr method

Copies the current viewfinder frame into a buffer for further manipulation.

Syntax

public void GetPreviewBufferYCbCr(
  out byte[] pixels
)
Public Sub GetPreviewBufferYCbCr(
  <OutAttribute> pixels As Byte() 
)
public:
void GetPreviewBufferYCbCr(
  Array<unsigned char>^ pixels
)

Parameters

Remarks

When this method is called on the emulator, it returns a buffer that is filled with the color green.

Note  Photo data is written to the buffer using the NV12 format.

 

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Media.Capture Windows::Phone::Media::Capture [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_ISV_CAMERA [Windows Phone]

Attributes

[Deprecated()]

See also

PhotoCaptureDevice