/frameworks/av/media/libmedia/ |
D | mediametadataretriever.cpp | 145 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() 166 return mRetriever->getImageAtIndex(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() 184 int frameIndex, int numFrames, int colorFormat, bool metaOnly) { in getFrameAtIndex() argument [all …]
|
D | IMediaMetadataRetriever.cpp | 150 sp<IMemory> getFrameAtTime(int64_t timeUs, int option, int colorFormat, bool metaOnly) in getFrameAtTime() argument 153 timeUs, option, colorFormat, metaOnly); in getFrameAtTime() 158 data.writeInt32(colorFormat); in getFrameAtTime() 171 sp<IMemory> getImageAtIndex(int index, int colorFormat, bool metaOnly, bool thumbnail) in getImageAtIndex() argument 174 index, colorFormat, metaOnly, thumbnail); in getImageAtIndex() 178 data.writeInt32(colorFormat); in getImageAtIndex() 193 int index, int colorFormat, int left, int top, int right, int bottom) in getImageRectAtIndex() argument 196 index, colorFormat, left, top, right, bottom); in getImageRectAtIndex() 200 data.writeInt32(colorFormat); in getImageRectAtIndex() 217 int frameIndex, int numFrames, int colorFormat, bool metaOnly) in getFrameAtIndex() argument [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightMetadataRetriever.h | 45 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); 52 int frameIndex, int numFrames, int colorFormat, bool metaOnly); 73 int64_t timeUs, int numFrames, int option, int colorFormat, bool metaOnly, 76 int index, int colorFormat, bool metaOnly, bool thumbnail, FrameRect* rect);
|
D | MetadataRetrieverClient.cpp | 197 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() 225 sp<IMemory> frame = mRetriever->getImageAtIndex(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() 254 int frameIndex, int numFrames, int colorFormat, bool metaOnly) { in getFrameAtIndex() argument [all …]
|
D | StagefrightMetadataRetriever.cpp | 133 int index, int colorFormat, bool metaOnly, bool thumbnail) { in getImageAtIndex() argument 135 index, colorFormat, metaOnly, thumbnail); in getImageAtIndex() 137 return getImageInternal(index, colorFormat, metaOnly, thumbnail, NULL); in getImageAtIndex() 141 int index, int colorFormat, int left, int top, int right, int bottom) { in getImageRectAtIndex() argument 143 index, colorFormat, left, top, right, bottom); in getImageRectAtIndex() 152 index, colorFormat, false /*metaOnly*/, false /*thumbnail*/, &rect); in getImageRectAtIndex() 156 int index, int colorFormat, bool metaOnly, bool thumbnail, FrameRect* rect) { in getImageInternal() argument 198 return FrameDecoder::getMetadataOnly(trackMeta, colorFormat, thumbnail); in getImageInternal() 231 if (decoder->init(frameTimeUs, 1 /*numFrames*/, 0 /*option*/, colorFormat) == OK) { in getImageInternal() 250 int64_t timeUs, int option, int colorFormat, bool metaOnly) { in getFrameAtTime() argument [all …]
|
D | MetadataRetrieverClient.h | 54 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); 61 int frameIndex, int numFrames, int colorFormat, bool metaOnly);
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaMetadataRetrieverInterface.h | 47 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; 54 int frameIndex, int numFrames, int colorFormat, bool metaOnly) = 0;
|
D | IMediaMetadataRetriever.h | 46 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; 53 int frameIndex, int numFrames, int colorFormat, bool metaOnly) = 0;
|
D | mediametadataretriever.h | 96 int colorFormat = HAL_PIXEL_FORMAT_RGB_565, bool metaOnly = false); 98 … int colorFormat = HAL_PIXEL_FORMAT_RGB_565, bool metaOnly = false, bool thumbnail = false); 100 int index, int colorFormat, int left, int top, int right, int bottom); 103 int colorFormat = HAL_PIXEL_FORMAT_RGB_565, bool metaOnly = false);
|
/frameworks/av/cmds/stagefright/ |
D | recordvideo.cpp | 60 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()
|
D | record.cpp | 49 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);
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetadataRetriever.cpp | 367 static SkColorType setOutColorType(JNIEnv *env, int colorFormat, jobject options) { in setOutColorType() argument 369 if (colorFormat == HAL_PIXEL_FORMAT_RGB_565) { in setOutColorType() 420 int colorFormat = getColorFormat(env, params); in android_media_MediaMetadataRetriever_getImageAtIndex() local 424 sp<IMemory> frameMemory = retriever->getImageAtIndex(index, colorFormat); in android_media_MediaMetadataRetriever_getImageAtIndex() 433 SkColorType outColorType = setOutColorType(env, colorFormat, params); in android_media_MediaMetadataRetriever_getImageAtIndex() 449 int colorFormat = getColorFormat(env, params); in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() local 455 index, colorFormat, true /*metaOnly*/, true /*thumbnail*/); in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() 469 index, colorFormat, false /*metaOnly*/, true /*thumbnail*/); in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() 488 SkColorType outColorType = setOutColorType(env, colorFormat, params); in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() 504 int colorFormat = getColorFormat(env, params); in android_media_MediaMetadataRetriever_getFrameAtIndex() local [all …]
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 208 const C2GraphicView &view, int32_t colorFormat, bool copy) in GraphicView2MediaImageConverter() argument 213 mColorFormat(colorFormat), in GraphicView2MediaImageConverter() 508 int32_t colorFormat = COLOR_FormatYUV420Flexible; in Allocate() local 509 (void)format->findInt32("color-format", &colorFormat); in Allocate() 511 GraphicView2MediaImageConverter converter(view, colorFormat, false /* copy */); in Allocate() 625 int32_t colorFormat = COLOR_FormatYUV420Flexible; in Allocate() local 626 (void)format->findInt32("color-format", &colorFormat); in Allocate() 628 GraphicView2MediaImageConverter converter(*view, colorFormat, false /* copy */); in Allocate() 716 int32_t colorFormat = COLOR_FormatYUV420Flexible; in canCopy() local 718 const_cast<ConstGraphicBlockBuffer *>(this)->format()->findInt32("color-format", &colorFormat); in canCopy() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | CpuVideoTrackDecoder.java | 237 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()
|
/frameworks/av/media/libstagefright/ |
D | FrameDecoder.cpp | 118 android_pixel_format_t colorFormat, in getDstColorFormat() argument 121 switch (colorFormat) { in getDstColorFormat() 142 ALOGE("Unsupported color format: %d", colorFormat); in getDstColorFormat() 151 const sp<MetaData> &trackMeta, int colorFormat, bool thumbnail) { in getMetadataOnly() argument 155 (android_pixel_format_t)colorFormat, &dstFormat, &dstBpp)) { in getMetadataOnly() 198 int64_t frameTimeUs, size_t numFrames, int option, int colorFormat) { in init() argument 200 (android_pixel_format_t)colorFormat, &mDstFormat, &mDstBpp)) { in init()
|
D | CameraSource.cpp | 131 static int32_t getColorFormat(const char* colorFormat) { in getColorFormat() argument 132 if (!colorFormat) { in getColorFormat() 137 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { in getColorFormat() 141 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { in getColorFormat() 145 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { in getColorFormat() 149 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { in getColorFormat() 153 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { in getColorFormat() 157 if (!strcmp(colorFormat, "OMX_TI_COLOR_FormatYUV420PackedSemiPlanar")) { in getColorFormat() 161 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { in getColorFormat() 166 "CameraSource::getColorFormat", colorFormat); in getColorFormat()
|
/frameworks/av/media/libstagefright/include/ |
D | FrameDecoder.h | 48 int64_t frameTimeUs, size_t numFrames, int option, int colorFormat); 55 const sp<MetaData> &trackMeta, int colorFormat, bool thumbnail = false);
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Native.java | 31 String codecName, String mime, int bitRate, int colorFormat, int frameInterval, in Encode() argument
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | OMXUtils.h | 47 const sp<IOMXNode> &omxNode, uint32_t colorFormat,
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | Encoder.h | 45 int32_t colorFormat = COLOR_FormatYUV420Flexible; member
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/ |
D | NativeEncoder.cpp | 69 encParams.colorFormat = jColorFormat; in Java_com_android_media_benchmark_library_Native_Encode()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcTestLib.h | 127 uint32_t colorFormat,
|
D | hwcTestLib.cpp | 689 void hwcTestFillColorHBlend(GraphicBuffer *gBuf, uint32_t colorFormat, in hwcTestFillColorHBlend() argument 717 if (colorFormat != (uint32_t) gBuf->getPixelFormat()) { in hwcTestFillColorHBlend() 718 hwcTestColorConvert(colorFormat, gBuf->getPixelFormat(), color); in hwcTestFillColorHBlend()
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXUtils.cpp | 353 uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent) { in IsFlexibleColorFormat() argument 356 describeParams.eColorFormat = (OMX_COLOR_FORMATTYPE)colorFormat; in IsFlexibleColorFormat()
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 51 static bool isRGB(OMX_COLOR_FORMATTYPE colorFormat) { in isRGB() argument 52 return colorFormat == OMX_COLOR_Format16bitRGB565 in isRGB() 53 || colorFormat == OMX_COLOR_Format32BitRGBA8888 in isRGB() 54 || colorFormat == OMX_COLOR_Format32bitBGRA8888; in isRGB()
|