Freigeben über


MediaFormat.QpOffsetRect(Rect, Int32) Constructor

Definition

Create a new region of interest with the specified coordinates and qpOffset.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Rect;I)V", "", ApiSince=35)]
public QpOffsetRect (Android.Graphics.Rect contour, int qpOffset);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Rect;I)V", "", ApiSince=35)>]
new Android.Media.MediaFormat.QpOffsetRect : Android.Graphics.Rect * int -> Android.Media.MediaFormat.QpOffsetRect

Parameters

contour
Rect

Rectangle specifying the region of interest

qpOffset
Int32

qpOffset to be used for the blocks in the specified rectangle

Attributes

Remarks

Create a new region of interest with the specified coordinates and qpOffset. Note: no range checking is performed, so the caller must ensure that left >= 0, left <= right, top >= 0 and top <= bottom. Note that the right and bottom coordinates are exclusive.

Java documentation for android.media.MediaFormat.QpOffsetRect.MediaFormat$QpOffsetRect(android.graphics.Rect, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to