| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_uvd.c | 93 struct si_texture *luma = (struct si_texture *)buf->resources[0]; local in function:si_uvd_set_dtb 100 si_uvd_set_dt_surfaces(msg, &luma->surface, (chroma) ? &chroma->surface : NULL, type); 102 return luma->buffer.buf;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/ |
| H A D | nouveau_video.c | 149 bool luma) 154 unsigned y = luma ? mb->y * 16 : mb->y * 8; 169 if (luma && mb->macroblock_modes.bits.dct_type == PIPE_MPEG12_DCT_TYPE_FIELD) 178 if (luma) { 191 nouveau_vpe_mb_mv_flags(bool luma, int mv_h, int mv_v, bool forward, bool first, bool vert) argument 194 if (luma) 233 bool luma, bool frame, bool forward, bool vert, 250 if (!luma) { 255 mc_header |= nouveau_vpe_mb_mv_flags(luma, mv_horizontal, mv_vertical, forward, first, vert); 259 if (luma) 147 nouveau_vpe_mb_dct_header(struct nouveau_decoder * dec,const struct pipe_mpeg12_macroblock * mb,bool luma) argument 232 nouveau_vpe_mb_mv(struct nouveau_decoder * dec,unsigned mc_header,bool luma,bool frame,bool forward,bool vert,int x,int y,const short motions[2],unsigned surface,bool first) argument 271 nouveau_vpe_mb_mv_header(struct nouveau_decoder * dec,const struct pipe_mpeg12_macroblock * mb,bool luma) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/ |
| H A D | nouveau_video.c | 149 bool luma) 154 unsigned y = luma ? mb->y * 16 : mb->y * 8; 169 if (luma && mb->macroblock_modes.bits.dct_type == PIPE_MPEG12_DCT_TYPE_FIELD) 178 if (luma) { 191 nouveau_vpe_mb_mv_flags(bool luma, int mv_h, int mv_v, bool forward, bool first, bool vert) argument 194 if (luma) 233 bool luma, bool frame, bool forward, bool vert, 250 if (!luma) { 255 mc_header |= nouveau_vpe_mb_mv_flags(luma, mv_horizontal, mv_vertical, forward, first, vert); 259 if (luma) 147 nouveau_vpe_mb_dct_header(struct nouveau_decoder * dec,const struct pipe_mpeg12_macroblock * mb,bool luma) argument 232 nouveau_vpe_mb_mv(struct nouveau_decoder * dec,unsigned mc_header,bool luma,bool frame,bool forward,bool vert,int x,int y,const short motions[2],unsigned surface,bool first) argument 271 nouveau_vpe_mb_mv_header(struct nouveau_decoder * dec,const struct pipe_mpeg12_macroblock * mb,bool luma) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeon/ |
| H A D | radeon_vcn_dec_jpeg.c | 44 struct si_texture *luma = (struct si_texture *) local in function:radeon_jpeg_get_decode_param 50 dec->jpg.dt_luma_top_offset = luma->surface.u.gfx9.surf_offset; 53 dec->jpg.dt_pitch = luma->surface.u.gfx9.surf_pitch * luma->surface.blk_w; 56 dec->jpg.dt_pitch = luma->surface.u.gfx9.surf_pitch; 59 return luma->buffer.buf;
|
| H A D | radeon_vce_50.c | 124 enc->luma->u.legacy.level[0].offset); // inputPictureLumaAddressHi/Lo 127 RVCE_CS(align(enc->luma->u.legacy.level[0].nblk_y, 16)); // encInputFrameYPitch 128 RVCE_CS(enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); // encInputPicLumaPitch
|
| H A D | radeon_vce.c | 226 pitch = align(enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe, 128); 227 vpitch = align(enc->luma->u.legacy.level[0].nblk_y, 16); 229 pitch = align(enc->luma->u.gfx9.surf_pitch * enc->luma->bpe, 256); 230 vpitch = align(enc->luma->u.gfx9.surf_height, 16); 276 enc->get_buffer(vid_buf->resources[0], &enc->handle, &enc->luma);
|
| H A D | radeon_vce_40_2_2.c | 88 RVCE_CS(enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); // encRefPicLumaPitch 90 RVCE_CS(align(enc->luma->u.legacy.level[0].nblk_y, 16) / 8); // encRefYHeightInQw 314 enc->luma->u.legacy.level[0].offset); // inputPictureLumaAddressHi/Lo 317 RVCE_CS(align(enc->luma->u.legacy.level[0].nblk_y, 16)); // encInputFrameYPitch 318 RVCE_CS(enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); // encInputPicLumaPitch
|
| H A D | radeon_vce_52.c | 187 RVCE_CS(enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); // encRefPicLumaPitch 189 RVCE_CS(align(enc->luma->u.legacy.level[0].nblk_y, 16) / 8); // encRefYHeightInQw 191 RVCE_CS(enc->luma->u.gfx9.surf_pitch * enc->luma->bpe); // encRefPicLumaPitch 193 RVCE_CS(align(enc->luma->u.gfx9.surf_height, 16) / 8); // encRefYHeightInQw 259 enc->luma->u.legacy.level[0].offset); // inputPictureLumaAddressHi/Lo 262 RVCE_CS(align(enc->luma->u.legacy.level[0].nblk_y, 16)); // encInputFrameYPitch 263 RVCE_CS(enc->luma->u.legacy.level[0].nblk_x * enc->luma [all...] |
| H A D | radeon_uvd.c | 1423 * fill decoding target field from the luma and chroma surfaces 1425 void si_uvd_set_dt_surfaces(struct ruvd_msg *msg, struct radeon_surf *luma, argument 1431 msg->body.decode.dt_pitch = luma->u.legacy.level[0].nblk_x * luma->blk_w; 1432 switch (luma->u.legacy.level[0].mode) { 1450 msg->body.decode.dt_luma_top_offset = texture_offset(luma, 0, type); 1454 msg->body.decode.dt_luma_bottom_offset = texture_offset(luma, 1, type); 1463 assert(luma->u.legacy.bankw == chroma->u.legacy.bankw); 1464 assert(luma->u.legacy.bankh == chroma->u.legacy.bankh); 1465 assert(luma [all...] |
| H A D | radeon_uvd_enc_1_1.c | 848 (enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); 854 enc->luma->u.gfx9.surf_pitch * enc->luma->bpe; 980 (enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); 986 enc->luma->u.gfx9.surf_pitch * enc->luma->bpe; 1008 enc->luma->u.legacy.level[0].offset); 1014 enc->luma [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/ |
| H A D | r600_uvd.c | 159 struct r600_texture *luma = (struct r600_texture *)buf->resources[0]; local in function:r600_uvd_set_dtb 165 ruvd_set_dt_surfaces(msg, &luma->surface, &chroma->surface); 167 return luma->resource.buf;
|
| H A D | radeon_vce.c | 230 pitch = align(enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe, 128); 231 vpitch = align(enc->luma->u.legacy.level[0].nblk_y, 16); 277 enc->get_buffer(vid_buf->resources[0], &enc->handle, &enc->luma);
|
| H A D | radeon_uvd.c | 1448 * fill decoding target field from the luma and chroma surfaces 1450 void ruvd_set_dt_surfaces(struct ruvd_msg *msg, struct radeon_surf *luma, argument 1453 msg->body.decode.dt_pitch = luma->u.legacy.level[0].nblk_x * luma->blk_w; 1454 switch (luma->u.legacy.level[0].mode) { 1472 msg->body.decode.dt_luma_top_offset = texture_offset(luma, 0); 1476 msg->body.decode.dt_luma_bottom_offset = texture_offset(luma, 1); 1485 assert(luma->u.legacy.bankw == chroma->u.legacy.bankw); 1486 assert(luma->u.legacy.bankh == chroma->u.legacy.bankh); 1487 assert(luma [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_uvd.c | 115 struct si_texture *luma = (struct si_texture *)buf->resources[0]; local in function:si_uvd_set_dtb 123 si_uvd_set_dt_surfaces(msg, &luma->surface, (chroma) ? &chroma->surface : NULL, type); 125 return luma->buffer.buf;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/ |
| H A D | r600_uvd.c | 162 struct r600_texture *luma = (struct r600_texture *)buf->resources[0]; local in function:r600_uvd_set_dtb 168 ruvd_set_dt_surfaces(msg, &luma->surface, &chroma->surface); 170 return luma->resource.buf;
|
| H A D | radeon_uvd.c | 1204 * fill decoding target field from the luma and chroma surfaces 1206 void ruvd_set_dt_surfaces(struct ruvd_msg *msg, struct radeon_surf *luma, argument 1209 msg->body.decode.dt_pitch = luma->u.legacy.level[0].nblk_x * luma->blk_w; 1210 switch (luma->u.legacy.level[0].mode) { 1228 msg->body.decode.dt_luma_top_offset = texture_offset(luma, 0); 1232 msg->body.decode.dt_luma_bottom_offset = texture_offset(luma, 1); 1241 assert(luma->u.legacy.bankw == chroma->u.legacy.bankw); 1242 assert(luma->u.legacy.bankh == chroma->u.legacy.bankh); 1243 assert(luma [all...] |
| H A D | radeon_vce.c | 234 pitch = align(enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe, 128); 235 vpitch = align(enc->luma->u.legacy.level[0].nblk_y, 16); 281 enc->get_buffer(vid_buf->resources[0], &enc->handle, &enc->luma);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeon/ |
| H A D | radeon_vce_50.c | 121 (uint64_t)enc->luma->u.legacy.level[0].offset_256B * 256); // inputPictureLumaAddressHi/Lo 124 RVCE_CS(align(enc->luma->u.legacy.level[0].nblk_y, 16)); // encInputFrameYPitch 125 RVCE_CS(enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); // encInputPicLumaPitch
|
| H A D | radeon_vcn_dec_jpeg.c | 42 struct si_texture *luma = (struct si_texture *)((struct vl_video_buffer *)target)->resources[0]; local in function:radeon_jpeg_get_decode_param 47 dec->jpg.dt_luma_top_offset = luma->surface.u.gfx9.surf_offset; 50 dec->jpg.dt_pitch = luma->surface.u.gfx9.surf_pitch * luma->surface.blk_w; 53 return luma->buffer.buf;
|
| H A D | radeon_vce.c | 223 pitch = align(enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe, 128); 224 vpitch = align(enc->luma->u.legacy.level[0].nblk_y, 16); 226 pitch = align(enc->luma->u.gfx9.surf_pitch * enc->luma->bpe, 256); 227 vpitch = align(enc->luma->u.gfx9.surf_height, 16); 275 enc->get_buffer(vid_buf->resources[0], &enc->handle, &enc->luma);
|
| H A D | radeon_vce_40_2_2.c | 85 RVCE_CS(enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); // encRefPicLumaPitch 87 RVCE_CS(align(enc->luma->u.legacy.level[0].nblk_y, 16) / 8); // encRefYHeightInQw 311 (uint64_t)enc->luma->u.legacy.level[0].offset_256B * 256); // inputPictureLumaAddressHi/Lo 314 RVCE_CS(align(enc->luma->u.legacy.level[0].nblk_y, 16)); // encInputFrameYPitch 315 RVCE_CS(enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); // encInputPicLumaPitch
|
| H A D | radeon_vce_52.c | 194 RVCE_CS(enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); // encRefPicLumaPitch 196 RVCE_CS(align(enc->luma->u.legacy.level[0].nblk_y, 16) / 8); // encRefYHeightInQw 198 RVCE_CS(enc->luma->u.gfx9.surf_pitch * enc->luma->bpe); // encRefPicLumaPitch 200 RVCE_CS(align(enc->luma->u.gfx9.surf_height, 16) / 8); // encRefYHeightInQw 266 (uint64_t)enc->luma->u.legacy.level[0].offset_256B * 256); // inputPictureLumaAddressHi/Lo 269 RVCE_CS(align(enc->luma->u.legacy.level[0].nblk_y, 16)); // encInputFrameYPitch 270 RVCE_CS(enc->luma->u.legacy.level[0].nblk_x * enc->luma [all...] |
| H A D | radeon_uvd.c | 1434 * fill decoding target field from the luma and chroma surfaces 1436 void si_uvd_set_dt_surfaces(struct ruvd_msg *msg, struct radeon_surf *luma, argument 1442 msg->body.decode.dt_pitch = luma->u.legacy.level[0].nblk_x * luma->blk_w; 1443 switch (luma->u.legacy.level[0].mode) { 1461 msg->body.decode.dt_luma_top_offset = texture_offset(luma, 0, type); 1465 msg->body.decode.dt_luma_bottom_offset = texture_offset(luma, 1, type); 1474 assert(luma->u.legacy.bankw == chroma->u.legacy.bankw); 1475 assert(luma->u.legacy.bankh == chroma->u.legacy.bankh); 1476 assert(luma [all...] |
| H A D | radeon_uvd_enc_1_1.c | 760 enc->enc_pic.ctx_buf.rec_luma_pitch = (enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); 764 enc->enc_pic.ctx_buf.rec_luma_pitch = enc->luma->u.gfx9.surf_pitch * enc->luma->bpe; 879 (enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); 883 enc->enc_pic.enc_params.input_pic_luma_pitch = enc->luma->u.gfx9.surf_pitch * enc->luma->bpe; 901 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, (uint64_t)enc->luma->u.legacy.level[0].offset_256B * 256); 904 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->luma [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/va/ |
| H A D | picture_vc1.c | 59 context->desc.vc1.range_mapy = vc1->range_mapping_fields.bits.luma;
|