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.cpp265 JNIEnv *env, VideoFrame *videoFrame, jint dst_width, jint dst_height, in getBitmapFromVideoFrame() argument
326 if (dst_width <= 0 || dst_height <= 0) { in getBitmapFromVideoFrame()
328 dst_height = displayHeight; in getBitmapFromVideoFrame()
331 (float)dst_height / (float)displayHeight); in getBitmapFromVideoFrame()
333 dst_height = std::round(displayHeight * factor); in getBitmapFromVideoFrame()
336 if ((uint32_t)dst_width != width || (uint32_t)dst_height != height) { in getBitmapFromVideoFrame()
338 width, height, dst_width, dst_height); in getBitmapFromVideoFrame()
343 dst_height, in getBitmapFromVideoFrame()
386 JNIEnv *env, jobject thiz, jlong timeUs, jint option, jint dst_width, jint dst_height) in android_media_MediaMetadataRetriever_getFrameAtTime() argument
389 (long long)timeUs, option, dst_width, dst_height); in android_media_MediaMetadataRetriever_getFrameAtTime()
[all …]
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp239 float dst_height = frame.height(); in setProjection() local
240 if (src_width != dst_width || src_height != dst_height) { in setProjection()
242 float sy = dst_height / src_height; in setProjection()