Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DFrameDecoder.cpp296 sp<AMessage> videoFormat = onGetFormatAndSeekOptions( in init() local
298 if (videoFormat == NULL) { in init()
314 videoFormat, mSurface, NULL /* crypto */, 0 /* flags */); in init()
531 sp<AMessage> videoFormat; in onGetFormatAndSeekOptions() local
532 if (convertMetaDataToMessage(trackMeta(), &videoFormat) != OK) { in onGetFormatAndSeekOptions()
539 videoFormat->setInt32("color-format", COLOR_FormatYUVP010); in onGetFormatAndSeekOptions()
541 videoFormat->setInt32("color-format", OMX_COLOR_FormatYUV420Planar); in onGetFormatAndSeekOptions()
550 videoFormat->setInt32("android._num-input-buffers", 1); in onGetFormatAndSeekOptions()
551 videoFormat->setInt32("android._num-output-buffers", 1); in onGetFormatAndSeekOptions()
554 if (isHDR(videoFormat)) { in onGetFormatAndSeekOptions()
[all …]
/frameworks/av/media/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.java82 int videoFormat, int outFormat, String outFile, boolean videoOnly) { in recordVideo() argument
96 mRecorder.setVideoEncoder(videoFormat); in recordVideo()
229 int videoFormat, int outFormat, String outFile, boolean videoOnly, in recordVideoFromSurface() argument
248 recorder.setVideoEncoder(videoFormat); in recordVideoFromSurface()
375 int videoFormat, int outFormat, String outFile, boolean videoOnly) { in invalidRecordSetting() argument
388 mRecorder.setVideoEncoder(videoFormat); in invalidRecordSetting()
/frameworks/av/media/libmediatranscoding/transcoder/benchmark/
DMediaTranscoderBenchmark.cpp91 AMediaFormat* videoFormat = AMediaFormat_new(); in CreateDefaultVideoFormat() local
92 AMediaFormat_setInt32(videoFormat, AMEDIAFORMAT_KEY_BIT_RATE, kVideoBitRate); in CreateDefaultVideoFormat()
93 AMediaFormat_setString(videoFormat, AMEDIAFORMAT_KEY_MIME, AMEDIA_MIMETYPE_VIDEO_AVC); in CreateDefaultVideoFormat()
94 return videoFormat; in CreateDefaultVideoFormat()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp331 !streamInfo.matchFormat((uint32_t)params.videoFormat) || in recordingStreamNeedsUpdate()
363 !streamInfo.matchFormat((uint32_t)params.videoFormat) || in updateRecordingStream()
386 params.videoFormat, params.videoDataSpace, in updateRecordingStream()
DParameters.h145 int videoWidth, videoHeight, videoFormat; member
DParameters.cpp964 videoFormat = HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED; in initialize()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java222 private boolean stressVideoRecord(int frameRate, int width, int height, int videoFormat, in stressVideoRecord() argument
240 mRecorder.setVideoEncoder(videoFormat); in stressVideoRecord()
/frameworks/base/media/java/android/media/tv/
DTvContract.java2045 public static final String getVideoResolution(@VideoFormat String videoFormat) { in getVideoResolution() argument
2046 return VIDEO_FORMAT_TO_RESOLUTION_MAP.get(videoFormat); in getVideoResolution()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1891 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */); in determineAudioModeChange() local
1893 const bool hasVideo = (videoFormat != NULL); in determineAudioModeChange()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp2306 l.mParameters.videoFormat = format; in setVideoTarget()