// NV12 is a biplanar encoding format, with full-resolution Y and // half-resolution interleved UV. More information can be found at // http://msdn.microsoft.com/library/windows/desktop/dd206750.aspx#nv12. class RTC_EXPORT NV12Buffer : public NV12BufferInterface { public: static rtc::scoped_refptr<NV12Buffer> Create(int width, int height); static rtc::scoped_refptr<NV12Buffer> Create(int width, int height, int stride_y, int stride_uv); static rtc::scoped_refptr<NV12Buffer> Copy( const I420BufferInterface& i420_buffer);
// Scale the cropped area of `src` to the size of `this` buffer, and // write the result into `this`. void CropAndScaleFrom(const NV12BufferInterface& src, int offset_x, int offset_y, int crop_width, int crop_height);
protected:
NV12Buffer(int width, int height);
NV12Buffer(int width, int height, int stride_y, int stride_uv);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.