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