/frameworks/av/media/libstagefright/omx/ |
H A D | OMXUtils.cpp | 345 uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent) { 348 describeParams.eColorFormat = (OMX_COLOR_FORMATTYPE)colorFormat; 343 IsFlexibleColorFormat( const sp<IOMXNode> &omxNode, uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
H A D | CpuVideoTrackDecoder.java | 237 ByteBuffer input, ByteBuffer output, int colorFormat, int width, int height) { 238 switch (colorFormat) { 246 throw new RuntimeException("Unsupported color format: " + colorFormat + "!"); 236 convertImage( ByteBuffer input, ByteBuffer output, int colorFormat, int width, int height) argument
|
/frameworks/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 62 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument 67 mColorFormat(colorFormat), 172 int colorFormat = OMX_COLOR_FormatYUV420Planar; local 192 colorFormat = translateColorToOmxEnumValue(atoi(optarg)); 193 if (colorFormat == -1) { 273 new DummySource(width, height, nFrames, frameRateFps, colorFormat); 294 enc_meta->setInt32("color-format", colorFormat);
|
/frameworks/av/media/libmedia/ |
H A D | mediametadataretriever.cpp | 145 int64_t timeUs, int option, int colorFormat, bool metaOnly) 147 ALOGV("getFrameAtTime: time(%" PRId64 " us) option(%d) colorFormat(%d) metaOnly(%d)", 148 timeUs, option, colorFormat, metaOnly); 154 return mRetriever->getFrameAtTime(timeUs, option, colorFormat, metaOnly); 158 int index, int colorFormat, bool metaOnly, bool thumbnail) { 159 ALOGV("getImageAtIndex: index(%d) colorFormat(%d) metaOnly(%d) thumbnail(%d)", 160 index, colorFormat, metaOnly, thumbnail); 166 return mRetriever->getImageAtIndex(index, colorFormat, metaOnly, thumbnail); 170 int index, int colorFormat, int left, int top, int right, int bottom) { 171 ALOGV("getImageRectAtIndex: index(%d) colorFormat( 144 getFrameAtTime( int64_t timeUs, int option, int colorFormat, bool metaOnly) argument 157 getImageAtIndex( int index, int colorFormat, bool metaOnly, bool thumbnail) argument 169 getImageRectAtIndex( int index, int colorFormat, int left, int top, int right, int bottom) argument 182 getFrameAtIndex( std::vector<sp<IMemory> > *frames, int frameIndex, int numFrames, int colorFormat, bool metaOnly) argument [all...] |
H A D | IMediaMetadataRetriever.cpp | 149 sp<IMemory> getFrameAtTime(int64_t timeUs, int option, int colorFormat, bool metaOnly) argument 151 ALOGV("getTimeAtTime: time(%" PRId64 " us), option(%d), colorFormat(%d) metaOnly(%d)", 152 timeUs, option, colorFormat, metaOnly); 157 data.writeInt32(colorFormat); 170 sp<IMemory> getImageAtIndex(int index, int colorFormat, bool metaOnly, bool thumbnail) argument 172 ALOGV("getImageAtIndex: index %d, colorFormat(%d) metaOnly(%d) thumbnail(%d)", 173 index, colorFormat, metaOnly, thumbnail); 177 data.writeInt32(colorFormat); 192 int index, int colorFormat, int left, int top, int right, int bottom) 194 ALOGV("getImageRectAtIndex: index %d, colorFormat( 191 getImageRectAtIndex( int index, int colorFormat, int left, int top, int right, int bottom) argument 215 getFrameAtIndex(std::vector<sp<IMemory> > *frames, int frameIndex, int numFrames, int colorFormat, bool metaOnly) argument 361 int colorFormat = data.readInt32(); local 383 int colorFormat = data.readInt32(); local 407 int colorFormat = data.readInt32(); local 435 int colorFormat = data.readInt32(); local [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 196 int64_t timeUs, int option, int colorFormat, bool metaOnly) 198 ALOGV("getFrameAtTime: time(%lld us) option(%d) colorFormat(%d), metaOnly(%d)", 199 (long long)timeUs, option, colorFormat, metaOnly); 206 sp<IMemory> frame = mRetriever->getFrameAtTime(timeUs, option, colorFormat, metaOnly); 215 int index, int colorFormat, bool metaOnly, bool thumbnail) { 216 ALOGV("getImageAtIndex: index(%d) colorFormat(%d), metaOnly(%d) thumbnail(%d)", 217 index, colorFormat, metaOnly, thumbnail); 224 sp<IMemory> frame = mRetriever->getImageAtIndex(index, colorFormat, metaOnly, thumbnail); 233 int index, int colorFormat, int left, int top, int right, int bottom) { 234 ALOGV("getImageRectAtIndex: index(%d) colorFormat( 195 getFrameAtTime( int64_t timeUs, int option, int colorFormat, bool metaOnly) argument 214 getImageAtIndex( int index, int colorFormat, bool metaOnly, bool thumbnail) argument 232 getImageRectAtIndex( int index, int colorFormat, int left, int top, int right, int bottom) argument 251 getFrameAtIndex( std::vector<sp<IMemory> > *frames, int frameIndex, int numFrames, int colorFormat, bool metaOnly) argument [all...] |
H A D | StagefrightRecorder.cpp | 1687 int32_t width, height, stride, sliceHeight, colorFormat; local 1692 CHECK(meta->findInt32(kKeyColorFormat, &colorFormat)); 1698 format->setInt32("color-format", colorFormat);
|
/frameworks/av/media/libstagefright/ |
H A D | FrameDecoder.cpp | 118 android_pixel_format_t colorFormat, 121 switch (colorFormat) { 142 ALOGE("Unsupported color format: %d", colorFormat); 151 const sp<MetaData> &trackMeta, int colorFormat, bool thumbnail) { 155 (android_pixel_format_t)colorFormat, &dstFormat, &dstBpp)) { 198 int64_t frameTimeUs, size_t numFrames, int option, int colorFormat) { 200 (android_pixel_format_t)colorFormat, &mDstFormat, &mDstBpp)) { 117 getDstColorFormat( android_pixel_format_t colorFormat, OMX_COLOR_FORMATTYPE *dstFormat, int32_t *dstBpp) argument 150 getMetadataOnly( const sp<MetaData> &trackMeta, int colorFormat, bool thumbnail) argument 197 init( int64_t frameTimeUs, size_t numFrames, int option, int colorFormat) argument
|
H A D | StagefrightMetadataRetriever.cpp | 129 int index, int colorFormat, bool metaOnly, bool thumbnail) { 130 ALOGV("getImageAtIndex: index(%d) colorFormat(%d) metaOnly(%d) thumbnail(%d)", 131 index, colorFormat, metaOnly, thumbnail); 133 return getImageInternal(index, colorFormat, metaOnly, thumbnail, NULL); 137 int index, int colorFormat, int left, int top, int right, int bottom) { 138 ALOGV("getImageRectAtIndex: index(%d) colorFormat(%d) rect {%d, %d, %d, %d}", 139 index, colorFormat, left, top, right, bottom); 148 index, colorFormat, false /*metaOnly*/, false /*thumbnail*/, &rect); 152 int index, int colorFormat, bool metaOnly, bool thumbnail, FrameRect* rect) { 188 return FrameDecoder::getMetadataOnly(trackMeta, colorFormat, thumbnai 128 getImageAtIndex( int index, int colorFormat, bool metaOnly, bool thumbnail) argument 136 getImageRectAtIndex( int index, int colorFormat, int left, int top, int right, int bottom) argument 151 getImageInternal( int index, int colorFormat, bool metaOnly, bool thumbnail, FrameRect* rect) argument 236 getFrameAtTime( int64_t timeUs, int option, int colorFormat, bool metaOnly) argument 247 getFrameAtIndex( std::vector<sp<IMemory> >* frames, int frameIndex, int numFrames, int colorFormat, bool metaOnly) argument 258 getFrameInternal( int64_t timeUs, int numFrames, int option, int colorFormat, bool metaOnly, sp<IMemory>* outFrame, std::vector<sp<IMemory> >* outFrames) argument [all...] |
H A D | CameraSource.cpp | 131 static int32_t getColorFormat(const char* colorFormat) { argument 132 if (!colorFormat) { 137 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { 141 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { 145 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { 149 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { 153 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { 157 if (!strcmp(colorFormat, "OMX_TI_COLOR_FormatYUV420PackedSemiPlanar")) { 161 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { 166 "CameraSource::getColorFormat", colorFormat); [all...] |
H A D | Utils.cpp | 688 int32_t colorFormat; local 689 if (meta->findInt32(kKeyColorFormat, &colorFormat)) { 690 msg->setInt32("color-format", colorFormat); 1363 int32_t colorFormat; local 1364 if (msg->findInt32("color-format", &colorFormat)) { 1365 meta->setInt32(kKeyColorFormat, colorFormat);
|
H A D | MediaCodec.cpp | 1652 int32_t colorFormat; local 1655 && mOutputFormat->findInt32("color-format", &colorFormat) 1656 && (colorFormat == OMX_COLOR_FormatYUV420Planar16)) {
|
H A D | ACodec.cpp | 2055 int32_t colorFormat = OMX_COLOR_FormatUnused; local 2057 if (!outputFormat->findInt32("color-format", &colorFormat)) { 2062 mComponentName.c_str(), requestedColorFormat, colorFormat); 2064 mOMXNode, colorFormat, haveNativeWindow, &flexibleEquivalent) 3098 OMX_COLOR_FORMATTYPE colorFormat, 3121 && colorFormat == flexibleEquivalent) { 3123 mComponentName.c_str(), format.eColorFormat, colorFormat); 3124 colorFormat = format.eColorFormat; 3132 && colorFormat == format.eColorFormat) { 3146 && format.eColorFormat == colorFormat) { 3095 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat, bool usingNativeBuffers) argument 3355 OMX_COLOR_FORMATTYPE colorFormat = local 3758 OMX_COLOR_FORMATTYPE colorFormat = local [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 366 static SkColorType setOutColorType(JNIEnv *env, int colorFormat, jobject options) { argument 368 if (colorFormat == HAL_PIXEL_FORMAT_RGB_565) { 419 int colorFormat = getColorFormat(env, params); local 423 sp<IMemory> frameMemory = retriever->getImageAtIndex(index, colorFormat); 432 SkColorType outColorType = setOutColorType(env, colorFormat, params); 448 int colorFormat = getColorFormat(env, params); local 454 index, colorFormat, true /*metaOnly*/, true /*thumbnail*/); 468 index, colorFormat, false /*metaOnly*/, true /*thumbnail*/); 487 SkColorType outColorType = setOutColorType(env, colorFormat, params); 503 int colorFormat local [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 684 // given by colorFormat, which might be different from the format of the 689 void hwcTestFillColorHBlend(GraphicBuffer *gBuf, uint32_t colorFormat, argument 717 if (colorFormat != (uint32_t) gBuf->getPixelFormat()) { 718 hwcTestColorConvert(colorFormat, gBuf->getPixelFormat(), color);
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 433 XAuint32 colorFormat; member in struct:XADataFormat_RawImage_ 2826 XAuint32 colorFormat; member in struct:XAImageSettings_
|