Home
last modified time | relevance | path

Searched refs:new_h (Results 1 - 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Drv10.c214 int f, new_w, new_h; in rv20_decode_picture_header() local
226 new_h = 4 * ((uint8_t *) s->avctx->extradata)[7 + 2 * f]; in rv20_decode_picture_header()
229 new_h = rv->orig_height; in rv20_decode_picture_header()
231 if (new_w != s->width || new_h != s->height || !s->context_initialized) { in rv20_decode_picture_header()
234 "attempting to change resolution to %dx%d\n", new_w, new_h); in rv20_decode_picture_header()
235 if (av_image_check_size(new_w, new_h, 0, s->avctx) < 0) in rv20_decode_picture_header()
238 if (whole_size < (new_w + 15)/16 * ((new_h + 15)/16) / 8) in rv20_decode_picture_header()
246 if (2 * (int64_t)new_w * s->height == (int64_t)new_h * s->width) in rv20_decode_picture_header()
248 if ((int64_t)new_w * s->height == 2 * (int64_t)new_h * s->width) in rv20_decode_picture_header()
251 ret = ff_set_dimensions(s->avctx, new_w, new_h); in rv20_decode_picture_header()
[all...]
H A Drv34.c1589 static AVRational update_sar(int old_w, int old_h, AVRational sar, int new_w, int new_h) in update_sar() argument
1595 sar = av_mul_q(sar, av_mul_q((AVRational){new_h, new_w}, (AVRational){old_w, old_h})); in update_sar()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/
H A Dmtk_mdp_m2m.c267 static void mtk_mdp_check_crop_change(u32 new_w, u32 new_h, u32 *w, u32 *h) in mtk_mdp_check_crop_change() argument
269 if (new_w != *w || new_h != *h) { in mtk_mdp_check_crop_change()
271 *w, *h, new_w, new_h); in mtk_mdp_check_crop_change()
274 *h = new_h; in mtk_mdp_check_crop_change()
284 u32 align_w, align_h, new_w, new_h; in mtk_mdp_try_crop() local
300 new_h = r->height; in mtk_mdp_try_crop()
317 new_h = r->width; in mtk_mdp_try_crop()
325 align_w, align_h, min_w, min_h, new_w, new_h); in mtk_mdp_try_crop()
328 &new_h, min_h, max_h, align_h); in mtk_mdp_try_crop()
332 mtk_mdp_check_crop_change(new_h, new_ in mtk_mdp_try_crop()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_m2m.c264 static void mtk_mdp_check_crop_change(u32 new_w, u32 new_h, u32 *w, u32 *h) in mtk_mdp_check_crop_change() argument
266 if (new_w != *w || new_h != *h) { in mtk_mdp_check_crop_change()
268 *w, *h, new_w, new_h); in mtk_mdp_check_crop_change()
271 *h = new_h; in mtk_mdp_check_crop_change()
281 u32 align_w, align_h, new_w, new_h; in mtk_mdp_try_crop() local
297 new_h = r->height; in mtk_mdp_try_crop()
314 new_h = r->width; in mtk_mdp_try_crop()
322 align_w, align_h, min_w, min_h, new_w, new_h); in mtk_mdp_try_crop()
325 &new_h, min_h, max_h, align_h); in mtk_mdp_try_crop()
329 mtk_mdp_check_crop_change(new_h, new_ in mtk_mdp_try_crop()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
H A Dmutex.cc1948 PerThreadSynch *new_h = Enqueue(nullptr, waitp, v, flags); in LockSlowLoop() local
1951 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to empty list failed"); in LockSlowLoop()
1956 v, reinterpret_cast<intptr_t>(new_h) | nv, in LockSlowLoop()
1994 PerThreadSynch *new_h = Enqueue(h, waitp, v, flags); in LockSlowLoop() local
1996 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to list failed"); in LockSlowLoop()
2004 reinterpret_cast<intptr_t>(new_h), in LockSlowLoop()
2094 PerThreadSynch *new_h = nullptr; in UnlockSlow() local
2101 new_h = Enqueue(nullptr, waitp, new_readers, kMuIsCond); in UnlockSlow()
2108 if (new_h != nullptr) { in UnlockSlow()
2109 nv |= kMuWait | reinterpret_cast<intptr_t>(new_h); in UnlockSlow()
2132 PerThreadSynch *new_h = Enqueue(h, waitp, v, kMuIsCond); UnlockSlow() local
2189 PerThreadSynch *new_h = Enqueue(h, waitp, v, kMuIsCond); UnlockSlow() local
2380 PerThreadSynch *new_h = Enqueue(nullptr, w->waitp, v, kMuIsCond); Fer() local
2391 PerThreadSynch *new_h = Enqueue(h, w->waitp, v, kMuIsCond); Fer() local
[all...]

Completed in 11 milliseconds