Documentation ¶
Overview ¶
Package videotype defines types and values commonly used in video tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec string
Codec describes a video codec to exercise in testing. String values are passed to testWebRtcLoopbackCall in /video/data/loopback_camera.html and cannot be changed. Also, they are used in field names in WebRTCPeerConnCamera tests' performance metrics.
type CodecProfile ¶
type CodecProfile int
CodecProfile stands for a profile in video.
const ( // H264BaselineProf represents the value for H264 Baseline profile (= H264PROFILE_BASELINE). H264BaselineProf CodecProfile = 0 // H264MainProf represents the value for H264 Main profile (= H264PROFILE_MAIN). H264MainProf CodecProfile = 1 // H264HighProf represents the value for H264 High profile (= H264PROFILE_HIGH). H264HighProf CodecProfile = 3 // VP8Prof represents the value for VP8 Main profile (= VP8PROFILE_ANY). VP8Prof CodecProfile = 11 // VP9Prof represents the value for VP9 profile 0 (= VP9PROFILE_PROFILE0). VP9Prof CodecProfile = 12 // VP9_2Prof represents the value for VP9 profile 2 (= VP9PROFILE_PROFILE2). VP9_2Prof CodecProfile = 14 )
type PixelFormat ¶
type PixelFormat int
PixelFormat stands for pixel format in yuv image.
const ( // I420 represents the value for the I420 pixel format (= PIXEL_FORMAT_I420). I420 PixelFormat = 1 // NV12 represents the value for the NV12 pixel format (= PIXEL_FORMAT_NV12). NV12 PixelFormat = 6 )
Click to show internal directories.
Click to hide internal directories.