Searched refs:dst_width (Results 1 – 1 of 1) sorted by relevance
/aosp14/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 317 if (dst_width <= 0 || dst_height <= 0) { in getBitmapFromVideoFrame() 318 dst_width = displayWidth; in getBitmapFromVideoFrame() 321 float factor = std::min((float)dst_width / (float)displayWidth, in getBitmapFromVideoFrame() 323 dst_width = std::round(displayWidth * factor); in getBitmapFromVideoFrame() 327 if ((uint32_t)dst_width != width || (uint32_t)dst_height != height) { in getBitmapFromVideoFrame() 329 width, height, dst_width, dst_height); in getBitmapFromVideoFrame() 333 dst_width, in getBitmapFromVideoFrame() 368 jint dst_width, jint dst_height, jobject params) in android_media_MediaMetadataRetriever_getFrameAtTime() argument 371 (long long)timeUs, option, dst_width, dst_height); in android_media_MediaMetadataRetriever_getFrameAtTime() 443 jint dst_width = -1, dst_height = -1; in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() local [all …]
|