Lines Matching refs:ui8SlicesPerPicture
93 IMG_UINT8 ui8SlicesPerPicture; in tng_fill_slice_map() local
97 ui8SlicesPerPicture = ctx->ui8SlicesPerPicture; in tng_fill_slice_map()
99 ui8HalfWaySlice=ui8SlicesPerPicture/2; in tng_fill_slice_map()
124 ui8SlicesPerPicture = tng__rand(ctx) % ctx->ui8SlicesPerPicture + 1; in tng_fill_slice_map()
127 * pvBuffer = ui8SlicesPerPicture; in tng_fill_slice_map()
130 for (ui8Index = 0; ui8Index < ui8SlicesPerPicture; ui8Index++) in tng_fill_slice_map()
139 ui8FirstCandidate = tng__rand(ctx) % ui8SlicesPerPicture; in tng_fill_slice_map()
140 ui8SecondCandidate = tng__rand(ctx) % ui8SlicesPerPicture; in tng_fill_slice_map()
151 for (ui8Index = 0; ui8Index < ui8SlicesPerPicture - 1; ui8Index++) { in tng_fill_slice_map()
155 ui32BUsCalc=(ui8TotalBUs - 1 * (ui8SlicesPerPicture - ui8Index)); in tng_fill_slice_map()
173 * pvBuffer = aui8SliceNumbers[ui8SlicesPerPicture - 1]; in tng_fill_slice_map()
188 * pvBuffer = ui8SlicesPerPicture; in tng_fill_slice_map()
192 ui32SliceHeight = (ctx->ui16PictureHeight / ctx->ui8SlicesPerPicture) & ~15; in tng_fill_slice_map()
196 for (ui8Index = 0; ui8Index < ui8SlicesPerPicture - 1; ui8Index++) { in tng_fill_slice_map()
210 ui32SliceHeight = ctx->ui16PictureHeight - ui32SliceHeight * (ctx->ui8SlicesPerPicture - 1); in tng_fill_slice_map()
329 ui32MBSliceHeight = (ui32MBPictureHeight/ctx->ui8SlicesPerPicture); in tng__fill_inp_ctrl_buf()
340 if (ctx->ui8SlicesPerPicture > 1 && ctx->i32NumPipes > 1) { in tng__fill_inp_ctrl_buf()