Home
last modified time | relevance | path

Searched refs:dst_height (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp248 JNIEnv *env, jobject thiz, jlong timeUs, jint option, jint dst_width, jint dst_height) in android_media_MediaMetadataRetriever_getFrameAtTime() argument
251 (long long)timeUs, option, dst_width, dst_height); in android_media_MediaMetadataRetriever_getFrameAtTime()
317 if (dst_width <= 0 || dst_height <= 0) { in android_media_MediaMetadataRetriever_getFrameAtTime()
319 dst_height = displayHeight; in android_media_MediaMetadataRetriever_getFrameAtTime()
322 (float)dst_height / (float)displayHeight); in android_media_MediaMetadataRetriever_getFrameAtTime()
324 dst_height = std::round(displayHeight * factor); in android_media_MediaMetadataRetriever_getFrameAtTime()
328 (uint32_t)dst_height != videoFrame->mHeight) { in android_media_MediaMetadataRetriever_getFrameAtTime()
330 width, height, dst_width, dst_height); in android_media_MediaMetadataRetriever_getFrameAtTime()
335 dst_height, in android_media_MediaMetadataRetriever_getFrameAtTime()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp563 float dst_height = frame.height(); local
564 if (src_width != dst_width || src_height != dst_height) {
566 float sy = dst_height / src_height;