Lines Matching defs:height
79 static uint32_t GetDefaultBitrate(uint32_t width, uint32_t height)
82 if (width * height == 640 * 360) { /* 640,width 360,height */
84 } else if (width * height == 1280 * 720) { /* 1280,width 720,height */
86 } else if (width * height >= 2560 * 1440 && width * height <= 2716 * 1524) { /* 2560,2716 width 1440,1524,height */
88 } else if (width * height == 3840 * 2160 || width * height == 4096 * 2160) { /* 3840,4096 width 2160,height */
137 uint32_t height = stream.height;
140 uint32_t height = g_surface->GetHeight();
149 MEDIA_DEBUG_LOG("height=%d", height);
151 param[paramIndex].val = &height;
162 uint32_t bitRate = GetDefaultBitrate(width, height);
256 uint32_t height = surface->GetHeight();
257 MEDIA_DEBUG_LOG("height=%d", height);
258 FillParam(param[paramIndex], KEY_VIDEO_HEIGHT, reinterpret_cast<uint8_t *>(&height), sizeof(uint32_t));
305 streamAttr->height = surface->GetHeight();