Lines Matching refs:ui16Height
636 IMG_UINT16 ui16Height = ctx->ui16FrameHeight; in tng__get_encoder_caps() local
648 psCaps->ui16MaxSlices = ui16Height / 8; in tng__get_encoder_caps()
653 psCaps->ui16MaxSlices = ui16Height / 16; in tng__get_encoder_caps()
660 psCaps->ui16RecommendedSlices = (ui16Height + 15) / 16; in tng__get_encoder_caps()
664 if (ui16Height <= 400) { in tng__get_encoder_caps()
666 } else if (ui16Height < 800) { // if between 400 and 800 it's 2. in tng__get_encoder_caps()
673 psCaps->ui16RecommendedSlices = (ui16Height + 15) >> (4 + (ui16MBRows >> 1)); in tng__get_encoder_caps()
783 unsigned short ui16Width, ui16Height; in tng_CreateContext() local
787 ui16Height = obj_context->picture_height; in tng_CreateContext()
802 ctx->ui16FrameHeight = (unsigned short)(~0xf & (ui16Height + 0xf)); in tng_CreateContext()
816 ctx->ui16FrameHeight = (unsigned short)(~0x1 & (ui16Height + 0x1)); in tng_CreateContext()