Lines Matching defs:width
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 */
136 uint32_t width = stream.width;
139 uint32_t width = g_surface->GetWidth();
143 MEDIA_DEBUG_LOG("width=%d", width);
145 param[paramIndex].val = &width;
162 uint32_t bitRate = GetDefaultBitrate(width, height);
251 uint32_t width = surface->GetWidth();
252 MEDIA_DEBUG_LOG("width=%d", width);
253 FillParam(param[paramIndex], KEY_VIDEO_WIDTH, reinterpret_cast<uint8_t *>(&width), sizeof(uint32_t));
304 streamAttr->width = surface->GetWidth();