Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 17 of 17) sorted by relevance

/rockchip-linux_mpp/mpp/common/
H A Dh264e_syntax.h78 #define H264E_ADD_SYNTAX(desc, number, syn_type, syn_ptr) \ argument
80 desc[number].type = syn_type; \
81 desc[number].p = syn_ptr; \
H A Dh263d_syntax.h95 DXVA2_DecodeBufferDesc desc[2]; member
H A Dmpg4d_syntax.h141 DXVA2_DecodeBufferDesc desc[3]; member
/rockchip-linux_mpp/mpp/hal/vpu/h263d/
H A Dhal_h263d_vdpu2.c42 DXVA2_DecodeBufferDesc *desc = data[i]; in vpu2_h263d_setup_regs_by_syntax() local
43 switch (desc->CompressedBufferType) { in vpu2_h263d_setup_regs_by_syntax()
45 pp = (DXVA_PicParams_H263 *)desc->pvPVPState; in vpu2_h263d_setup_regs_by_syntax()
48 stream_length = desc->DataSize; in vpu2_h263d_setup_regs_by_syntax()
49 stream_used = desc->DataOffset; in vpu2_h263d_setup_regs_by_syntax()
52 mpp_err_f("found invalid buffer descriptor type %d\n", desc->CompressedBufferType); in vpu2_h263d_setup_regs_by_syntax()
H A Dhal_h263d_vdpu1.c42 DXVA2_DecodeBufferDesc *desc = data[i]; in vpu1_h263d_setup_regs_by_syntax() local
43 switch (desc->CompressedBufferType) { in vpu1_h263d_setup_regs_by_syntax()
45 pp = (DXVA_PicParams_H263 *)desc->pvPVPState; in vpu1_h263d_setup_regs_by_syntax()
48 stream_length = desc->DataSize; in vpu1_h263d_setup_regs_by_syntax()
49 stream_used = desc->DataOffset; in vpu1_h263d_setup_regs_by_syntax()
52 mpp_err_f("found invalid buffer descriptor type %d\n", desc->CompressedBufferType); in vpu1_h263d_setup_regs_by_syntax()
/rockchip-linux_mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu1_v2.c149 H264eSyntaxDesc *desc = syntax->data; in update_vepu1_syntax() local
154 for (i = 0; i < syn_num; i++, desc++) { in update_vepu1_syntax()
155 switch (desc->type) { in update_vepu1_syntax()
158 ctx->cfg = desc->p; in update_vepu1_syntax()
162 ctx->sps = desc->p; in update_vepu1_syntax()
166 ctx->pps = desc->p; in update_vepu1_syntax()
173 ctx->slice = desc->p; in update_vepu1_syntax()
177 ctx->frms = desc->p; in update_vepu1_syntax()
181 ctx->prefix = desc->p; in update_vepu1_syntax()
184 mpp_log_f("invalid syntax type %d\n", desc->type); in update_vepu1_syntax()
[all …]
H A Dhal_h264e_vepu2_v2.c150 H264eSyntaxDesc *desc = syntax->data; in update_vepu2_syntax() local
155 for (i = 0; i < syn_num; i++, desc++) { in update_vepu2_syntax()
156 switch (desc->type) { in update_vepu2_syntax()
159 ctx->cfg = desc->p; in update_vepu2_syntax()
163 ctx->sps = desc->p; in update_vepu2_syntax()
167 ctx->pps = desc->p; in update_vepu2_syntax()
174 ctx->slice = desc->p; in update_vepu2_syntax()
178 ctx->frms = desc->p; in update_vepu2_syntax()
182 ctx->prefix = desc->p; in update_vepu2_syntax()
185 mpp_log_f("invalid syntax type %d\n", desc->type); in update_vepu2_syntax()
[all …]
/rockchip-linux_mpp/mpp/hal/vpu/mpg4d/
H A Dhal_m4vd_vdpu2.c47 DXVA2_DecodeBufferDesc *desc = data[i]; in vdpu2_mpg4d_setup_regs_by_syntax() local
48 switch (desc->CompressedBufferType) { in vdpu2_mpg4d_setup_regs_by_syntax()
50 pp = (DXVA_PicParams_MPEG4_PART2 *)desc->pvPVPState; in vdpu2_mpg4d_setup_regs_by_syntax()
53 qm = (DXVA_QmatrixData *)desc->pvPVPState; in vdpu2_mpg4d_setup_regs_by_syntax()
56 stream_length = desc->DataSize; in vdpu2_mpg4d_setup_regs_by_syntax()
57 stream_used = desc->DataOffset; in vdpu2_mpg4d_setup_regs_by_syntax()
61 mpp_err_f("found invalid buffer descriptor type %d\n", desc->CompressedBufferType); in vdpu2_mpg4d_setup_regs_by_syntax()
H A Dhal_m4vd_vdpu1.c47 DXVA2_DecodeBufferDesc *desc = data[i]; in vdpu1_mpg4d_setup_regs_by_syntax() local
48 switch (desc->CompressedBufferType) { in vdpu1_mpg4d_setup_regs_by_syntax()
50 pp = (DXVA_PicParams_MPEG4_PART2 *)desc->pvPVPState; in vdpu1_mpg4d_setup_regs_by_syntax()
53 qm = (DXVA_QmatrixData *)desc->pvPVPState; in vdpu1_mpg4d_setup_regs_by_syntax()
56 stream_length = desc->DataSize; in vdpu1_mpg4d_setup_regs_by_syntax()
57 stream_used = desc->DataOffset; in vdpu1_mpg4d_setup_regs_by_syntax()
61 mpp_err_f("found invalid buffer descriptor type %d\n", desc->CompressedBufferType); in vdpu1_mpg4d_setup_regs_by_syntax()
/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu541.c297 H264eSyntaxDesc *desc = syntax->data; in update_vepu541_syntax() local
302 for (i = 0; i < syn_num; i++, desc++) { in update_vepu541_syntax()
303 switch (desc->type) { in update_vepu541_syntax()
306 ctx->cfg = desc->p; in update_vepu541_syntax()
310 ctx->sps = desc->p; in update_vepu541_syntax()
314 ctx->pps = desc->p; in update_vepu541_syntax()
321 ctx->slice = desc->p; in update_vepu541_syntax()
325 ctx->frms = desc->p; in update_vepu541_syntax()
329 ctx->prefix = desc->p; in update_vepu541_syntax()
332 mpp_log_f("invalid syntax type %d\n", desc->type); in update_vepu541_syntax()
[all …]
H A Dhal_h264e_vepu540c.c304 H264eSyntaxDesc *desc = syntax->data; in update_vepu540c_syntax() local
309 for (i = 0; i < syn_num; i++, desc++) { in update_vepu540c_syntax()
310 switch (desc->type) { in update_vepu540c_syntax()
313 ctx->cfg = desc->p; in update_vepu540c_syntax()
317 ctx->sps = desc->p; in update_vepu540c_syntax()
321 ctx->pps = desc->p; in update_vepu540c_syntax()
328 ctx->slice = desc->p; in update_vepu540c_syntax()
332 ctx->frms = desc->p; in update_vepu540c_syntax()
336 ctx->prefix = desc->p; in update_vepu540c_syntax()
339 mpp_log_f("invalid syntax type %d\n", desc->type); in update_vepu540c_syntax()
[all …]
H A Dhal_h264e_vepu580.c520 H264eSyntaxDesc *desc = syntax->data; in update_vepu580_syntax() local
525 for (i = 0; i < syn_num; i++, desc++) { in update_vepu580_syntax()
526 switch (desc->type) { in update_vepu580_syntax()
529 ctx->cfg = desc->p; in update_vepu580_syntax()
533 ctx->sps = desc->p; in update_vepu580_syntax()
537 ctx->pps = desc->p; in update_vepu580_syntax()
541 ctx->dpb = desc->p; in update_vepu580_syntax()
545 ctx->slice = desc->p; in update_vepu580_syntax()
549 ctx->frms = desc->p; in update_vepu580_syntax()
553 ctx->prefix = desc->p; in update_vepu580_syntax()
[all …]
H A Dhal_h264e_vepu510.c498 H264eSyntaxDesc *desc = syntax->data; in update_vepu510_syntax() local
503 for (i = 0; i < syn_num; i++, desc++) { in update_vepu510_syntax()
504 switch (desc->type) { in update_vepu510_syntax()
507 ctx->cfg = desc->p; in update_vepu510_syntax()
511 ctx->sps = desc->p; in update_vepu510_syntax()
515 ctx->pps = desc->p; in update_vepu510_syntax()
519 ctx->dpb = desc->p; in update_vepu510_syntax()
523 ctx->slice = desc->p; in update_vepu510_syntax()
527 ctx->frms = desc->p; in update_vepu510_syntax()
531 ctx->prefix = desc->p; in update_vepu510_syntax()
[all …]
H A Dhal_h264e_vepu511.c497 H264eSyntaxDesc *desc = syntax->data; in update_vepu511_syntax() local
502 for (i = 0; i < syn_num; i++, desc++) { in update_vepu511_syntax()
503 switch (desc->type) { in update_vepu511_syntax()
506 ctx->cfg = desc->p; in update_vepu511_syntax()
510 ctx->sps = desc->p; in update_vepu511_syntax()
514 ctx->pps = desc->p; in update_vepu511_syntax()
518 ctx->dpb = desc->p; in update_vepu511_syntax()
522 ctx->slice = desc->p; in update_vepu511_syntax()
526 ctx->frms = desc->p; in update_vepu511_syntax()
530 ctx->prefix = desc->p; in update_vepu511_syntax()
[all …]
/rockchip-linux_mpp/mpp/codec/dec/h263/
H A Dh263d_parser.c132 DXVA2_DecodeBufferDesc *data = &syntax->desc[0]; in h263_syntax_init()
142 data = &syntax->desc[1]; in h263_syntax_init()
/rockchip-linux_mpp/mpp/codec/dec/mpg4/
H A Dmpg4d_parser.c1032 DXVA2_DecodeBufferDesc *data = &syntax->desc[0]; in mpg4_syntax_init()
1042 data = &syntax->desc[1]; in mpg4_syntax_init()
1051 data = &syntax->desc[2]; in mpg4_syntax_init()
/rockchip-linux_mpp/osal/linux/
H A Ddrm.h150 char __user *desc; /**< User-space buffer to hold desc */ member