Home
last modified time | relevance | path

Searched refs:VideoCodecType (Results 1 – 25 of 115) sorted by relevance

12345

/external/webrtc/rtc_base/experiments/
Dmin_video_bitrate_experiment_unittest.cc26 EXPECT_EQ(GetExperimentalMinVideoBitrate(VideoCodecType::kVideoCodecGeneric), in TEST()
28 EXPECT_EQ(GetExperimentalMinVideoBitrate(VideoCodecType::kVideoCodecVP8), in TEST()
30 EXPECT_EQ(GetExperimentalMinVideoBitrate(VideoCodecType::kVideoCodecVP9), in TEST()
32 EXPECT_EQ(GetExperimentalMinVideoBitrate(VideoCodecType::kVideoCodecH264), in TEST()
35 GetExperimentalMinVideoBitrate(VideoCodecType::kVideoCodecMultiplex), in TEST()
44 EXPECT_EQ(GetExperimentalMinVideoBitrate(VideoCodecType::kVideoCodecGeneric), in TEST()
46 EXPECT_EQ(GetExperimentalMinVideoBitrate(VideoCodecType::kVideoCodecVP8), in TEST()
48 EXPECT_EQ(GetExperimentalMinVideoBitrate(VideoCodecType::kVideoCodecVP9), in TEST()
50 EXPECT_EQ(GetExperimentalMinVideoBitrate(VideoCodecType::kVideoCodecH264), in TEST()
53 GetExperimentalMinVideoBitrate(VideoCodecType::kVideoCodecMultiplex), in TEST()
[all …]
Dbalanced_degradation_settings.h115 int MinFps(VideoCodecType type, int pixels) const;
116 int MaxFps(VideoCodecType type, int pixels) const;
119 bool CanAdaptUp(VideoCodecType type, int pixels, uint32_t bitrate_bps) const;
120 bool CanAdaptUpResolution(VideoCodecType type,
129 VideoCodecType type,
Dbalanced_degradation_settings.cc148 VideoCodecType type, in GetThresholds()
186 int GetFps(VideoCodecType type, in GetFps()
219 VideoCodecType type, in GetKbps()
252 VideoCodecType type, in GetKbpsRes()
405 int BalancedDegradationSettings::MinFps(VideoCodecType type, int pixels) const { in MinFps()
418 int BalancedDegradationSettings::MaxFps(VideoCodecType type, int pixels) const { in MaxFps()
431 bool BalancedDegradationSettings::CanAdaptUp(VideoCodecType type, in CanAdaptUp()
442 VideoCodecType type, in CanAdaptUpResolution()
464 BalancedDegradationSettings::GetQpThresholds(VideoCodecType type, in GetQpThresholds()
/external/webrtc/modules/video_coding/
Dvideo_codec_initializer_unittest.cc60 void SetUpFor(VideoCodecType type, in SetUpFor()
72 if (type == VideoCodecType::kVideoCodecVP8) { in SetUpFor()
78 } else if (type == VideoCodecType::kVideoCodecVP9) { in SetUpFor()
84 } else if (type != VideoCodecType::kVideoCodecMultiplex) { in SetUpFor()
98 if (codec_out_.codecType == VideoCodecType::kVideoCodecMultiplex) in InitializeCodec()
102 if (codec_out_.codecType == VideoCodecType::kVideoCodecVP8) { in InitializeCodec()
150 SetUpFor(VideoCodecType::kVideoCodecVP8, 1, 1, true); in TEST_F()
163 SetUpFor(VideoCodecType::kVideoCodecVP8, 1, 1, true); in TEST_F()
178 SetUpFor(VideoCodecType::kVideoCodecVP8, 1, 2, true); in TEST_F()
193 SetUpFor(VideoCodecType::kVideoCodecVP8, 2, 1, true); in TEST_F()
[all …]
Dframe_object.h32 VideoCodecType codec,
45 VideoCodecType codec_type() const;
53 VideoCodecType codec_type_;
/external/v4l2_codec2/tests/c2_e2e_test/jni/
Dcommon.cpp80 IVFWriter::IVFWriter(std::ofstream* output_file, VideoCodecType codec) in IVFWriter()
93 case VideoCodecType::VP8: in WriteHeader()
96 case VideoCodecType::VP9: in WriteHeader()
136 bool OutputFile::Open(const std::string& file_path, VideoCodecType codec) { in Open()
142 if ((codec == VideoCodecType::VP8) || (codec == VideoCodecType::VP9)) { in Open()
256 VideoCodecType VideoCodecProfileToType(VideoCodecProfile profile) { in VideoCodecProfileToType()
257 if (profile >= H264PROFILE_MIN && profile <= H264PROFILE_MAX) return VideoCodecType::H264; in VideoCodecProfileToType()
258 if (profile >= VP8PROFILE_MIN && profile <= VP8PROFILE_MAX) return VideoCodecType::VP8; in VideoCodecProfileToType()
259 if (profile >= VP9PROFILE_MIN && profile <= VP9PROFILE_MAX) return VideoCodecType::VP9; in VideoCodecProfileToType()
260 return VideoCodecType::UNKNOWN; in VideoCodecProfileToType()
[all …]
Dmediacodec_encoder.cpp42 std::vector<const char*> GetHWVideoEncoderNames(VideoCodecType type) { in GetHWVideoEncoderNames()
44 case VideoCodecType::H264: in GetHWVideoEncoderNames()
46 case VideoCodecType::VP8: in GetHWVideoEncoderNames()
48 case VideoCodecType::VP9: in GetHWVideoEncoderNames()
58 std::vector<const char*> GetSWVideoEncoderNames(VideoCodecType type) { in GetSWVideoEncoderNames()
60 case VideoCodecType::H264: in GetSWVideoEncoderNames()
62 case VideoCodecType::VP8: in GetSWVideoEncoderNames()
64 case VideoCodecType::VP9: in GetSWVideoEncoderNames()
72 int32_t GetProfile(VideoCodecType type) { in GetProfile()
74 case VideoCodecType::H264: in GetProfile()
[all …]
Dcommon.h47 enum class VideoCodecType { enum
108 IVFWriter(std::ofstream* output_file, VideoCodecType codec);
119 VideoCodecType codec_ = VideoCodecType::UNKNOWN;
124 bool Open(const std::string& file_path, VideoCodecType codec);
166 VideoCodecType VideoCodecProfileToType(VideoCodecProfile profile);
175 const char* GetMimeType(VideoCodecType type);
Dmediacodec_decoder.cpp36 std::vector<const char*> GetC2VideoDecoderNames(VideoCodecType type) { in GetC2VideoDecoderNames()
38 case VideoCodecType::H264: in GetC2VideoDecoderNames()
40 case VideoCodecType::VP8: in GetC2VideoDecoderNames()
42 case VideoCodecType::VP9: in GetC2VideoDecoderNames()
52 std::vector<const char*> GetSwVideoDecoderNames(VideoCodecType type) { in GetSwVideoDecoderNames()
54 case VideoCodecType::H264: in GetSwVideoDecoderNames()
56 case VideoCodecType::VP8: in GetSwVideoDecoderNames()
58 case VideoCodecType::VP9: in GetSwVideoDecoderNames()
90 VideoCodecType type = VideoCodecProfileToType(profile); in Create()
152 VideoCodecType type, const Size& size, int frame_rate, in MediaCodecDecoder()
Dmediacodec_encoder.h21 static std::unique_ptr<MediaCodecEncoder> Create(std::string input_path, VideoCodecType type,
57 MediaCodecEncoder(AMediaCodec* codec, VideoCodecType type,
85 VideoCodecType type_;
Dvideo_encoder_e2e_test.cpp102 codec_ = VideoCodecType::H264; in ParseTestStreamData()
105 codec_ = VideoCodecType::VP8; in ParseTestStreamData()
108 codec_ = VideoCodecType::VP9; in ParseTestStreamData()
113 codec_ = VideoCodecType::H264; in ParseTestStreamData()
157 VideoCodecType codec() const { return codec_; } in codec()
176 VideoCodecType codec_;
189 void WriteOutputBufferToFile(VideoCodecType type, const uint8_t* data, in WriteOutputBufferToFile()
Dencoded_data_helper.cpp96 EncodedDataHelper::EncodedDataHelper(const std::string& file_path, VideoCodecType type) in EncodedDataHelper()
146 case VideoCodecType::H264: in SliceToFragments()
154 case VideoCodecType::VP8: in SliceToFragments()
155 case VideoCodecType::VP9: in SliceToFragments()
Dencoded_data_helper.h21 EncodedDataHelper(const std::string& file_path, VideoCodecType type);
59 VideoCodecType type_;
/external/webrtc/rtc_tools/converter/
Dyuv_to_ivf_converter.cc66 VideoCodecType video_codec_type, in IvfFileWriterEncodedCallback()
99 const VideoCodecType video_codec_type_;
113 VideoCodecType video_codec_type, in Encoder()
132 case VideoCodecType::kVideoCodecVP8: { in Encoder()
138 case VideoCodecType::kVideoCodecVP9: { in Encoder()
145 case VideoCodecType::kVideoCodecH264: { in Encoder()
211 VideoCodecType video_codec_type, in WriteVideoFile()
267 webrtc::VideoCodecType::kVideoCodecVP8, webrtc::VP8Encoder::Create()); in main()
273 webrtc::VideoCodecType::kVideoCodecVP9, webrtc::VP9Encoder::Create()); in main()
280 webrtc::VideoCodecType::kVideoCodecH264, in main()
/external/webrtc/test/testsupport/
Divf_video_frame_generator_unittest.cc60 VideoCodecType video_codec_type, in IvfFileWriterEncodedCallback()
90 const VideoCodecType video_codec_type_;
113 void CreateTestVideoFile(VideoCodecType video_codec_type, in CreateTestVideoFile()
167 CreateTestVideoFile(VideoCodecType::kVideoCodecVP8, VP8Encoder::Create()); in TEST_F()
177 CreateTestVideoFile(VideoCodecType::kVideoCodecVP8, VP8Encoder::Create()); in TEST_F()
187 CreateTestVideoFile(VideoCodecType::kVideoCodecVP9, VP9Encoder::Create()); in TEST_F()
199 VideoCodecType::kVideoCodecH264, in TEST_F()
Divf_video_frame_generator.cc135 VideoCodecType codec_type) { in CreateVideoDecoder()
136 if (codec_type == VideoCodecType::kVideoCodecVP8) { in CreateVideoDecoder()
139 if (codec_type == VideoCodecType::kVideoCodecVP9) { in CreateVideoDecoder()
142 if (codec_type == VideoCodecType::kVideoCodecH264) { in CreateVideoDecoder()
/external/webrtc/call/adaptation/
Dvideo_stream_input_state.h28 void set_video_codec_type(VideoCodecType video_codec_type);
34 VideoCodecType video_codec_type() const;
43 VideoCodecType video_codec_type_;
Dvideo_stream_input_state.cc21 video_codec_type_(VideoCodecType::kVideoCodecGeneric), in VideoStreamInputState()
38 VideoCodecType video_codec_type) { in set_video_codec_type()
58 VideoCodecType VideoStreamInputState::video_codec_type() const { in video_codec_type()
Dvideo_stream_input_state_provider_unittest.cc29 EXPECT_EQ(VideoCodecType::kVideoCodecGeneric, input_state.video_codec_type()); in TEST()
42 encoder_config.codec_type = VideoCodecType::kVideoCodecVP9; in TEST()
49 EXPECT_EQ(VideoCodecType::kVideoCodecVP9, input_state.video_codec_type()); in TEST()
/external/webrtc/modules/video_coding/utility/
Divf_file_writer.h37 bool WriteFrame(const EncodedImage& encoded_image, VideoCodecType codec_type);
45 VideoCodecType codec_type);
50 VideoCodecType codec_type_;
Divf_file_reader.h34 VideoCodecType GetVideoCodecType() const { return codec_type_; } in GetVideoCodecType()
60 absl::optional<VideoCodecType> ParseCodecType(uint8_t* buffer,
64 VideoCodecType codec_type_;
Divf_file_reader.cc66 absl::optional<VideoCodecType> codec_type = ParseCodecType(ivf_header, 8); in Reset()
186 absl::optional<VideoCodecType> IvfFileReader::ParseCodecType(uint8_t* buffer, in ParseCodecType()
189 return VideoCodecType::kVideoCodecVP8; in ParseCodecType()
192 return VideoCodecType::kVideoCodecVP9; in ParseCodecType()
195 return VideoCodecType::kVideoCodecH264; in ParseCodecType()
/external/webrtc/api/video_codecs/
Dvideo_codec.h88 RTC_EXPORT const char* CodecTypeToPayloadString(VideoCodecType type);
89 RTC_EXPORT VideoCodecType PayloadStringToCodecType(const std::string& name);
105 VideoCodecType codecType;
/external/webrtc/modules/rtp_rtcp/source/
Drtp_sender_video_frame_transformer_delegate.cc30 absl::optional<VideoCodecType> codec_type, in TransformableVideoSenderFrame()
71 absl::optional<VideoCodecType> GetCodecType() const { return codec_type_; } in GetCodecType()
84 const absl::optional<VideoCodecType> codec_type_ = absl::nullopt;
109 absl::optional<VideoCodecType> codec_type, in TransformFrame()
/external/webrtc/test/
Dconfigurable_frame_size_encoder.h54 void SetCodecType(VideoCodecType codec_type_);
66 VideoCodecType codec_type_;

12345