Home
last modified time | relevance | path

Searched refs:videoFormat (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libstagefright/
DFrameDecoder.cpp319 sp<AMessage> videoFormat = onGetFormatAndSeekOptions( in init() local
321 if (videoFormat == NULL) { in init()
337 videoFormat, mSurface, NULL /* crypto */, 0 /* flags */); in init()
559 sp<AMessage> videoFormat; in onGetFormatAndSeekOptions() local
560 if (convertMetaDataToMessage(trackMeta(), &videoFormat) != OK) { in onGetFormatAndSeekOptions()
567 videoFormat->setInt32("color-format", COLOR_FormatYUVP010); in onGetFormatAndSeekOptions()
569 videoFormat->setInt32("color-format", COLOR_FormatYUV420Flexible); in onGetFormatAndSeekOptions()
578 videoFormat->setInt32("android._num-input-buffers", 1); in onGetFormatAndSeekOptions()
579 videoFormat->setInt32("android._num-output-buffers", 1); in onGetFormatAndSeekOptions()
582 if (isHDR(videoFormat)) { in onGetFormatAndSeekOptions()
[all …]
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaTranscoderTests.cpp230 std::shared_ptr<AMediaFormat> videoFormat; in verifyOutputFormat() local
241 videoFormat = std::shared_ptr<AMediaFormat>(trackFormat, &AMediaFormat_delete); in verifyOutputFormat()
247 EXPECT_NE(videoFormat, nullptr); in verifyOutputFormat()
248 if (videoFormat != nullptr) { in verifyOutputFormat()
250 LOG(INFO) << "transcoded video format: " << AMediaFormat_toString(videoFormat.get()); in verifyOutputFormat()
254 mSourceVideoFormat.get(), videoFormat.get())) in verifyOutputFormat()
262 entry.equal(entry.key, mSourceVideoFormat.get(), videoFormat.get())); in verifyOutputFormat()
DMediaSampleWriterTests.cpp373 std::shared_ptr<AMediaFormat> videoFormat = in TEST_F() local
375 AMediaFormat_copy(videoFormat.get(), in TEST_F()
378 AMediaFormat_setInt64(videoFormat.get(), AMEDIAFORMAT_KEY_DURATION, 100); in TEST_F()
379 auto sampleConsumer = writer->addTrack(videoFormat); in TEST_F()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DMediaDecoder.java254 MediaFormat videoFormat = mMediaExtractor.getTrackFormat(mVideoTrackIndex); in onStart() local
256 ? new GpuVideoTrackDecoder(mVideoTrackIndex, videoFormat, this) in onStart()
257 : new CpuVideoTrackDecoder(mVideoTrackIndex, videoFormat, this); in onStart()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java77 int videoFormat, int outFormat, String outFile, boolean videoOnly) { in recordVideo() argument
91 mRecorder.setVideoEncoder(videoFormat); in recordVideo()
224 int videoFormat, int outFormat, String outFile, boolean videoOnly, in recordVideoFromSurface() argument
243 recorder.setVideoEncoder(videoFormat); in recordVideoFromSurface()
370 int videoFormat, int outFormat, String outFile, boolean videoOnly) { in invalidRecordSetting() argument
383 mRecorder.setVideoEncoder(videoFormat); in invalidRecordSetting()
/frameworks/av/media/module/libmediatranscoding/transcoder/benchmark/
DMediaTranscoderBenchmark.cpp93 AMediaFormat* videoFormat = AMediaFormat_new(); in CreateDefaultVideoFormat() local
94 AMediaFormat_setInt32(videoFormat, AMEDIAFORMAT_KEY_BIT_RATE, kVideoBitRate); in CreateDefaultVideoFormat()
95 AMediaFormat_setString(videoFormat, AMEDIAFORMAT_KEY_MIME, AMEDIA_MIMETYPE_VIDEO_AVC); in CreateDefaultVideoFormat()
96 return videoFormat; in CreateDefaultVideoFormat()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp332 !streamInfo.matchFormat((uint32_t)params.videoFormat) || in recordingStreamNeedsUpdate()
364 !streamInfo.matchFormat((uint32_t)params.videoFormat) || in updateRecordingStream()
387 params.videoFormat, params.videoDataSpace, in updateRecordingStream()
DParameters.h145 int videoWidth, videoHeight, videoFormat; member
DParameters.cpp971 videoFormat = HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED; in initialize()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java219 private boolean stressVideoRecord(int frameRate, int width, int height, int videoFormat, in stressVideoRecord() argument
237 mRecorder.setVideoEncoder(videoFormat); in stressVideoRecord()
/frameworks/base/media/java/android/media/tv/
DTvContract.java2047 public static final String getVideoResolution(@VideoFormat String videoFormat) { in getVideoResolution() argument
2048 return VIDEO_FORMAT_TO_RESOLUTION_MAP.get(videoFormat); in getVideoResolution()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1906 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */); in determineAudioModeChange() local
1908 const bool hasVideo = (videoFormat != NULL); in determineAudioModeChange()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp2328 l.mParameters.videoFormat = format; in setVideoTarget()