Lines Matching defs:ui16Width
783 unsigned short ui16Width, ui16Height;
786 ui16Width = obj_context->picture_width;
801 ctx->ui16Width = (unsigned short)(~0xf & (ui16Width + 0xf));
815 ctx->ui16Width = (unsigned short)(~0x1 & (ui16Width + 0x1));
1355 psRCParams->ui32BUSize = (ctx->ui16PictureHeight>>4) * (ctx->ui16Width>>4); // BU = 1 Frame
1363 if (ctx->ui16Width <= 176 ) {
1369 flBpp = 1.0 * psRCParams->ui32BitsPerSecond / (i32FrameRate * ctx->ui16Width * ctx->ui16FrameHeight);
1372 psPicParams->sInParams.ui8MBPerRow = (ctx->ui16Width>>4);
1374 psPicParams->sInParams.ui16MBPerFrm = (ctx->ui16Width>>4) * (ctx->ui16PictureHeight>>4);
1507 if (ctx->ui16Width == 176) {
1509 } else if (ctx->ui16Width == 352) {
1609 flBpp = 256 * (psRCParams->ui32BitsPerSecond/ctx->ui16Width);
1859 ui32KicksPerSlice = ((ui16SliceHeight / 16) * (ctx->ui16Width / 16)) / ui32MBsPerKick;
1860 assert((ui32KicksPerSlice * ui32MBsPerKick) == ((ui16SliceHeight / 16)*(ctx->ui16Width / 16)));
2032 IMG_UINT16 ui16Width,
2056 ui16Width,
2124 ctx->ui16Width, //ui8_picture_width_in_mbs
2147 ctx->ui16Width, //ui8_picture_width_in_mbs
2404 psInParams->ui8MBPerRow = (ctx->ui16Width >> 4);
2405 psInParams->ui16MBPerFrm = (ctx->ui16Width >> 4) * (ctx->ui16PictureHeight >> 4);
2594 //IMG_UINT16 ui16WidthInMbs = (ctx->ui16Width + 15) >> 4;
2618 psMtxEncContext->ui32WidthInMbs = ctx->ui16Width >> 4;
2828 if ((ctx->ui16Width / 16) & 1) // BRN 30032, if odd number of macroblocks we need to limit vector to +-112
2833 if (ctx->ui16Width >= 1920)
2976 ui32PitchX = (((IMG_UINT32)(psVideoParams->ui16SourceWidth - psVideoParams->ui8CropLeft - psVideoParams->ui8CropRight)) << 12) / psVideoParams->ui16Width;
3159 IMG_UINT16 ui16WidthInMbs = (ctx->ui16Width + 15) >> 4;
3163 if ((ctx->ui16Width & 0xf) != 0) {
3174 if ((ctx->ui16Width > 4096) || (ctx->ui16PictureHeight > 4096)) {
3181 if ((ctx->ui16Width > 2048) || (ui16PictureHeight > 2048)) {
3218 ctx->ui16PictureHeight + ctx->ui16Width + ctx->sRCParams.ui32BitsPerSecond) & 0xffffffff);
3237 ctx->ui32BasicUnit = (ctx->ui16Width / 16);
3245 ui32MBs = ctx->ui16PictureHeight * ctx->ui16Width / (16 * 16);
3250 ui32MBsperSlice = (i32SliceHeight * ctx->ui16Width) / (16 * 16);
3311 tng_cmdbuf_insert_command_param((ctx->ui16Width << 16) | ctx->ui16PictureHeight);