Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
AndroidCamcorderProfile Class Reference

#include <androidmediarecorder_p.h>

+ Collaboration diagram for AndroidCamcorderProfile:

Public Types

enum  Quality {
  QUALITY_LOW , QUALITY_HIGH , QUALITY_QCIF , QUALITY_CIF ,
  QUALITY_480P , QUALITY_720P , QUALITY_1080P , QUALITY_QVGA
}
 
enum  Field {
  audioBitRate , audioChannels , audioCodec , audioSampleRate ,
  duration , fileFormat , quality , videoBitRate ,
  videoCodec , videoFrameHeight , videoFrameRate , videoFrameWidth
}
 

Public Member Functions

int getValue (Field field) const
 

Static Public Member Functions

static bool hasProfile (jint cameraId, Quality quality)
 
static AndroidCamcorderProfile get (jint cameraId, Quality quality)
 

Detailed Description

Definition at line 28 of file androidmediarecorder_p.h.

Member Enumeration Documentation

◆ Field

Enumerator
audioBitRate 
audioChannels 
audioCodec 
audioSampleRate 
duration 
fileFormat 
quality 
videoBitRate 
videoCodec 
videoFrameHeight 
videoFrameRate 
videoFrameWidth 

Definition at line 42 of file androidmediarecorder_p.h.

◆ Quality

Enumerator
QUALITY_LOW 
QUALITY_HIGH 
QUALITY_QCIF 
QUALITY_CIF 
QUALITY_480P 
QUALITY_720P 
QUALITY_1080P 
QUALITY_QVGA 

Definition at line 31 of file androidmediarecorder_p.h.

Member Function Documentation

◆ get()

AndroidCamcorderProfile AndroidCamcorderProfile::get ( jint cameraId,
Quality quality )
static

Definition at line 40 of file androidmediarecorder.cpp.

References QSet< T >::constEnd(), QSet< T >::constFind(), it, profileKey(), and quality.

+ Here is the call graph for this function:

◆ getValue()

◆ hasProfile()

bool AndroidCamcorderProfile::hasProfile ( jint cameraId,
Quality quality )
static

Definition at line 28 of file androidmediarecorder.cpp.

References arg, profileKey(), and quality.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: