Home
last modified time | relevance | path

Searched refs:colorFormat (Results 1 – 25 of 61) sorted by relevance

123

/aosp12/frameworks/av/media/libmedia/
H A DIMediaMetadataRetriever.cpp158 data.writeInt32(colorFormat); in getFrameAtTime()
178 data.writeInt32(colorFormat); in getImageAtIndex()
200 data.writeInt32(colorFormat); in getImageRectAtIndex()
217 int index, int colorFormat, bool metaOnly) in getFrameAtIndex() argument
220 index, colorFormat, metaOnly); in getFrameAtIndex()
224 data.writeInt32(colorFormat); in getFrameAtIndex()
365 int colorFormat = data.readInt32(); in onTransact() local
387 int colorFormat = data.readInt32(); in onTransact() local
411 int colorFormat = data.readInt32(); in onTransact() local
438 int colorFormat = data.readInt32(); in onTransact() local
[all …]
H A Dmediametadataretriever.cpp145 int64_t timeUs, int option, int colorFormat, bool metaOnly) in getFrameAtTime() argument
148 timeUs, option, colorFormat, metaOnly); in getFrameAtTime()
154 return mRetriever->getFrameAtTime(timeUs, option, colorFormat, metaOnly); in getFrameAtTime()
158 int index, int colorFormat, bool metaOnly, bool thumbnail) { in getImageAtIndex() argument
160 index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
170 int index, int colorFormat, int left, int top, int right, int bottom) { in getImageRectAtIndex() argument
172 index, colorFormat, left, top, right, bottom); in getImageRectAtIndex()
179 index, colorFormat, left, top, right, bottom); in getImageRectAtIndex()
183 int index, int colorFormat, bool metaOnly) { in getFrameAtIndex() argument
185 index, colorFormat, metaOnly); in getFrameAtIndex()
[all …]
/aosp12/frameworks/av/media/libmediaplayerservice/
H A DMetadataRetrieverClient.cpp197 int64_t timeUs, int option, int colorFormat, bool metaOnly) in getFrameAtTime() argument
200 (long long)timeUs, option, colorFormat, metaOnly); in getFrameAtTime()
207 sp<IMemory> frame = mRetriever->getFrameAtTime(timeUs, option, colorFormat, metaOnly); in getFrameAtTime()
216 int index, int colorFormat, bool metaOnly, bool thumbnail) { in getImageAtIndex() argument
218 index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
234 int index, int colorFormat, int left, int top, int right, int bottom) { in getImageRectAtIndex() argument
236 index, colorFormat, left, top, right, bottom); in getImageRectAtIndex()
244 index, colorFormat, left, top, right, bottom); in getImageRectAtIndex()
252 int index, int colorFormat, bool metaOnly) { in getFrameAtIndex() argument
254 index, colorFormat, metaOnly); in getFrameAtIndex()
[all …]
H A DStagefrightMetadataRetriever.h45 int64_t timeUs, int option, int colorFormat, bool metaOnly);
47 int index, int colorFormat, bool metaOnly, bool thumbnail);
49 int index, int colorFormat, int left, int top, int right, int bottom);
51 int index, int colorFormat, bool metaOnly);
72 int64_t timeUs, int option, int colorFormat, bool metaOnly);
75 int index, int colorFormat, bool metaOnly, bool thumbnail, FrameRect* rect);
H A DStagefrightMetadataRetriever.cpp133 int index, int colorFormat, bool metaOnly, bool thumbnail) { in getImageAtIndex() argument
135 index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
143 index, colorFormat, left, top, right, bottom); in getImageRectAtIndex()
258 int64_t timeUs, int option, int colorFormat, bool metaOnly) { in getFrameAtTime() argument
260 timeUs, option, colorFormat, metaOnly); in getFrameAtTime()
262 return getFrameInternal(timeUs, option, colorFormat, metaOnly); in getFrameAtTime()
266 int frameIndex, int colorFormat, bool metaOnly) { in getFrameAtIndex() argument
268 frameIndex, colorFormat, metaOnly); in getFrameAtIndex()
282 int64_t timeUs, int option, int colorFormat, bool metaOnly) { in getFrameInternal() argument
324 return FrameDecoder::getMetadataOnly(trackMeta, colorFormat); in getFrameInternal()
[all …]
H A DMetadataRetrieverClient.h54 int64_t timeUs, int option, int colorFormat, bool metaOnly);
56 int index, int colorFormat, bool metaOnly, bool thumbnail);
58 int index, int colorFormat, int left, int top, int right, int bottom);
60 int index, int colorFormat, bool metaOnly);
/aosp12/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp396 setOutConfig(env, params, colorFormat); in android_media_MediaMetadataRetriever_getFrameAtTime()
410 AndroidBitmapFormat colorFormat = getColorFormat(env, params); in android_media_MediaMetadataRetriever_getImageAtIndex() local
414 sp<IMemory> frameMemory = retriever->getImageAtIndex(index, colorFormat); in android_media_MediaMetadataRetriever_getImageAtIndex()
427 setOutConfig(env, params, colorFormat); in android_media_MediaMetadataRetriever_getImageAtIndex()
428 return getBitmapFromVideoFrame(env, videoFrame, -1, -1, colorFormat); in android_media_MediaMetadataRetriever_getImageAtIndex()
442 AndroidBitmapFormat colorFormat = getColorFormat(env, params); in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() local
448 index, colorFormat, true /*metaOnly*/, true /*thumbnail*/); in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
466 index, colorFormat, false /*metaOnly*/, true /*thumbnail*/); in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
491 setOutConfig(env, params, colorFormat); in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
514 AndroidBitmapFormat colorFormat = getColorFormat(env, params); in android_media_MediaMetadataRetriever_getFrameAtIndex() local
[all …]
/aosp12/frameworks/av/cmds/stagefright/
H A Drecord.cpp49 DummySource(int width, int height, int colorFormat)
52 mColorFormat(colorFormat),
58 CHECK(colorFormat == OMX_COLOR_FormatYUV420SemiPlanar ||
59 colorFormat == OMX_COLOR_FormatYUV420Planar);
182 int colorFormat = translateColorToOmxEnumValue(atoi(argv[2]));
183 if (colorFormat == -1) {
208 sp<MediaSource> decoder = new DummySource(width, height, colorFormat);
222 enc_meta->setInt32("color-format", colorFormat);
H A Drecordvideo.cpp60 DummySource(int width, int height, int nFrames, int fps, int colorFormat) in DummySource() argument
65 mColorFormat(colorFormat), in DummySource()
170 int colorFormat = OMX_COLOR_FormatYUV420Planar; in main() local
190 colorFormat = translateColorToOmxEnumValue(atoi(optarg)); in main()
191 if (colorFormat == -1) { in main()
271 new DummySource(width, height, nFrames, frameRateFps, colorFormat); in main()
292 enc_meta->setInt32("color-format", colorFormat); in main()
/aosp12/frameworks/av/media/libmedia/include/media/
H A DMediaMetadataRetrieverInterface.h47 int64_t timeUs, int option, int colorFormat, bool metaOnly) = 0;
49 int index, int colorFormat, bool metaOnly, bool thumbnail) = 0;
51 int index, int colorFormat, int left, int top, int right, int bottom) = 0;
53 int frameIndex, int colorFormat, bool metaOnly) = 0;
H A DIMediaMetadataRetriever.h46 int64_t timeUs, int option, int colorFormat, bool metaOnly) = 0;
48 int index, int colorFormat, bool metaOnly, bool thumbnail) = 0;
50 int index, int colorFormat, int left, int top, int right, int bottom) = 0;
52 int index, int colorFormat, bool metaOnly) = 0;
H A Dmediametadataretriever.h99 int colorFormat = HAL_PIXEL_FORMAT_RGB_565, bool metaOnly = false);
101 … int colorFormat = HAL_PIXEL_FORMAT_RGB_565, bool metaOnly = false, bool thumbnail = false);
103 int index, int colorFormat, int left, int top, int right, int bottom);
105 int index, int colorFormat = HAL_PIXEL_FORMAT_RGB_565, bool metaOnly = false);
/aosp12/packages/services/Car/cpp/evs/apps/default/
H A DTexWrapper.cpp114 int colorFormat; in createTextureFromPng() local
119 &bitDepth, &colorFormat, in createTextureFromPng()
123 switch(colorFormat) in createTextureFromPng()
132 printf("%s: Unknown libpng color format %d.\n", filename, colorFormat); in createTextureFromPng()
/aosp12/packages/services/Car/cpp/evs/support_library/
H A DTexWrapper.cpp118 int colorFormat; in createTextureFromPng() local
123 &bitDepth, &colorFormat, in createTextureFromPng()
127 switch(colorFormat) in createTextureFromPng()
136 printf("%s: Unknown libpng color format %d.\n", filename, colorFormat); in createTextureFromPng()
/aosp12/frameworks/av/media/libstagefright/
H A DCameraSource.cpp49 static int32_t getColorFormat(const char* colorFormat) { in getColorFormat() argument
50 if (!colorFormat) { in getColorFormat()
55 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { in getColorFormat()
59 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { in getColorFormat()
63 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { in getColorFormat()
67 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { in getColorFormat()
71 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { in getColorFormat()
75 if (!strcmp(colorFormat, "OMX_TI_COLOR_FormatYUV420PackedSemiPlanar")) { in getColorFormat()
79 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { in getColorFormat()
84 "CameraSource::getColorFormat", colorFormat); in getColorFormat()
H A DFrameDecoder.cpp169 android_pixel_format_t colorFormat, in getDstColorFormat() argument
173 switch (colorFormat) { in getDstColorFormat()
197 ALOGE("Unsupported color format: %d", colorFormat); in getDstColorFormat()
206 const sp<MetaData> &trackMeta, int colorFormat, bool thumbnail) { in getMetadataOnly() argument
210 if (!getDstColorFormat((android_pixel_format_t)colorFormat, in getMetadataOnly()
281 int64_t frameTimeUs, int option, int colorFormat) { in init() argument
282 if (!getDstColorFormat((android_pixel_format_t)colorFormat, in init()
/aosp12/frameworks/av/services/mediametrics/
H A Dstatsd_codec.cpp279 int32_t colorFormat = -1; in statsd_codec() local
280 if (item->getInt32("android.media.mediacodec.color-format", &colorFormat)) { in statsd_codec()
281 metrics_proto.set_color_format(colorFormat); in statsd_codec()
283 AStatsEvent_writeInt32(event, colorFormat); in statsd_codec()
454 << " color_format:" << colorFormat in statsd_codec()
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DCpuVideoTrackDecoder.java237 ByteBuffer input, ByteBuffer output, int colorFormat, int width, int height) { in convertImage() argument
238 switch (colorFormat) { in convertImage()
246 throw new RuntimeException("Unsupported color format: " + colorFormat + "!"); in convertImage()
/aosp12/frameworks/av/media/libstagefright/include/
H A DFrameDecoder.h48 status_t init(int64_t frameTimeUs, int option, int colorFormat);
53 const sp<MetaData> &trackMeta, int colorFormat, bool thumbnail = false);
/aosp12/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
H A DNative.java31 String codecName, String mime, int bitRate, int colorFormat, int frameInterval, in Encode() argument
/aosp12/frameworks/av/media/libmedia/tests/codeclist/
H A DCodecListTest.cpp141 for (auto colorFormat : colorFormats) { in TEST() local
142 ALOGV("supported color formats: %d", colorFormat); in TEST()
/aosp12/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
H A DOMXUtils.h47 const sp<IOMXNode> &omxNode, uint32_t colorFormat,
/aosp12/frameworks/av/media/tests/benchmark/src/native/encoder/
H A DEncoder.h45 int32_t colorFormat = COLOR_FormatYUV420Flexible; member
/aosp12/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/inc/
H A Domx_video_encoder.h95 bool dev_get_supported_color_format(unsigned index, OMX_U32 *colorFormat);
/aosp12/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/
H A Domx_video_encoder.h94 bool dev_get_supported_color_format(unsigned index, OMX_U32 *colorFormat);

123