public class

AVConst

extends Object
java.lang.Object
   ↳ org.opencdnunion.media.streamer.framework.AVConst

Class Overview

A/V const values definition.

Summary

Constants
int AV_SAMPLE_FMT_DBL
int AV_SAMPLE_FMT_DBLP
int AV_SAMPLE_FMT_FLT
int AV_SAMPLE_FMT_FLTP
int AV_SAMPLE_FMT_S16
int AV_SAMPLE_FMT_S16P
int AV_SAMPLE_FMT_S32
int AV_SAMPLE_FMT_S32P
int AV_SAMPLE_FMT_U8
int AV_SAMPLE_FMT_U8P
int CODEC_ID_AAC
int CODEC_ID_AVC
int CODEC_ID_GIF
int CODEC_ID_HEVC
int CODEC_ID_NONE
int FLAG_B_FRAME
int FLAG_CODEC_CONFIG
int FLAG_DETACH_NATIVE_MODULE Audio native module destroying
int FLAG_DUMMY_VIDEO_FRAME Dummy video frame to show the initial video pts
int FLAG_END_OF_STREAM
int FLAG_KEY_FRAME
int FLAG_P_FRAME
int MEDIA_TYPE_AUDIO
int MEDIA_TYPE_NONE
int MEDIA_TYPE_VIDEO
int PIX_FMT_ARGB
int PIX_FMT_BGR8
int PIX_FMT_I420
int PIX_FMT_NONE
int PIX_FMT_NV12
int PIX_FMT_NV21
int PIX_FMT_RGBA
int PIX_FMT_YV12
int PROFILE_AAC_HE
int PROFILE_AAC_HE_V2
int PROFILE_AAC_LOW
int PROFILE_H264_BASELINE
int PROFILE_H264_HIGH
int PROFILE_H264_MAIN
int PROFILE_H265_MAIN
int PROFILE_H265_MAIN10
int PROFILE_NONE
int UNION_MEDIA_TYPE_AUDIO
int UNION_MEDIA_TYPE_VIDEO
Public Constructors
AVConst()
Public Methods
static int getBytesPerSample(int sampleFmt)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int AV_SAMPLE_FMT_DBL

Constant Value: 4 (0x00000004)

public static final int AV_SAMPLE_FMT_DBLP

Constant Value: 9 (0x00000009)

public static final int AV_SAMPLE_FMT_FLT

Constant Value: 3 (0x00000003)

public static final int AV_SAMPLE_FMT_FLTP

Constant Value: 8 (0x00000008)

public static final int AV_SAMPLE_FMT_S16

Constant Value: 1 (0x00000001)

public static final int AV_SAMPLE_FMT_S16P

Constant Value: 6 (0x00000006)

public static final int AV_SAMPLE_FMT_S32

Constant Value: 2 (0x00000002)

public static final int AV_SAMPLE_FMT_S32P

Constant Value: 7 (0x00000007)

public static final int AV_SAMPLE_FMT_U8

Constant Value: 0 (0x00000000)

public static final int AV_SAMPLE_FMT_U8P

Constant Value: 5 (0x00000005)

public static final int CODEC_ID_AAC

Constant Value: 256 (0x00000100)

public static final int CODEC_ID_AVC

Constant Value: 1 (0x00000001)

public static final int CODEC_ID_GIF

Constant Value: 3 (0x00000003)

public static final int CODEC_ID_HEVC

Constant Value: 2 (0x00000002)

public static final int CODEC_ID_NONE

Constant Value: 0 (0x00000000)

public static final int FLAG_B_FRAME

Constant Value: 16 (0x00000010)

public static final int FLAG_CODEC_CONFIG

Constant Value: 2 (0x00000002)

public static final int FLAG_DETACH_NATIVE_MODULE

Audio native module destroying

Constant Value: 65536 (0x00010000)

public static final int FLAG_DUMMY_VIDEO_FRAME

Dummy video frame to show the initial video pts

Constant Value: 131072 (0x00020000)

public static final int FLAG_END_OF_STREAM

Constant Value: 4 (0x00000004)

public static final int FLAG_KEY_FRAME

Constant Value: 1 (0x00000001)

public static final int FLAG_P_FRAME

Constant Value: 8 (0x00000008)

public static final int MEDIA_TYPE_AUDIO

Constant Value: 2 (0x00000002)

public static final int MEDIA_TYPE_NONE

Constant Value: 0 (0x00000000)

public static final int MEDIA_TYPE_VIDEO

Constant Value: 1 (0x00000001)

public static final int PIX_FMT_ARGB

Constant Value: 5 (0x00000005)

public static final int PIX_FMT_BGR8

Constant Value: 7 (0x00000007)

public static final int PIX_FMT_I420

Constant Value: 4 (0x00000004)

public static final int PIX_FMT_NONE

Constant Value: 0 (0x00000000)

public static final int PIX_FMT_NV12

Constant Value: 1 (0x00000001)

public static final int PIX_FMT_NV21

Constant Value: 2 (0x00000002)

public static final int PIX_FMT_RGBA

Constant Value: 6 (0x00000006)

public static final int PIX_FMT_YV12

Constant Value: 3 (0x00000003)

public static final int PROFILE_AAC_HE

Constant Value: 769 (0x00000301)

public static final int PROFILE_AAC_HE_V2

Constant Value: 770 (0x00000302)

public static final int PROFILE_AAC_LOW

Constant Value: 768 (0x00000300)

public static final int PROFILE_H264_BASELINE

Constant Value: 256 (0x00000100)

public static final int PROFILE_H264_HIGH

Constant Value: 258 (0x00000102)

public static final int PROFILE_H264_MAIN

Constant Value: 257 (0x00000101)

public static final int PROFILE_H265_MAIN

Constant Value: 512 (0x00000200)

public static final int PROFILE_H265_MAIN10

Constant Value: 513 (0x00000201)

public static final int PROFILE_NONE

Constant Value: 0 (0x00000000)

public static final int UNION_MEDIA_TYPE_AUDIO

Constant Value: 2 (0x00000002)

public static final int UNION_MEDIA_TYPE_VIDEO

Constant Value: 1 (0x00000001)

Public Constructors

public AVConst ()

Public Methods

public static int getBytesPerSample (int sampleFmt)