Kaustubh Raste and Michael Niedermayer
0105ed551c
avcodec/mips: Improve avc mc copy msa functions
...
Remove loops and unroll as block sizes are known.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-15 22:19:07 +02:00
Kaustubh Raste and Michael Niedermayer
e5a650e141
avcodec/mips: Improve avc lpf msa functions
...
Optimize luma intra case by reducing conditional cases.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-15 22:19:07 +02:00
Kaustubh Raste and Michael Niedermayer
c6314cd750
avcodec/mips: Improve hevc idct msa functions
...
Align the buffers. Remove reduandant constant array.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-15 01:47:14 +02:00
Kaustubh Raste and Michael Niedermayer
f692e55aab
avcodec/mips: Improve hevc lpf msa functions
...
Seperate the filter processing in all strong, all weak and strong + weak cases.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-15 01:47:14 +02:00
Kaustubh Raste and Michael Niedermayer
9b2c3c406f
avcodec/mips: Improve vp9 mc msa functions
...
Load the specific destination bytes instead of MSA load and pack.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-08 13:48:40 +02:00
Kaustubh Raste and Michael Niedermayer
c75b23cbea
avcodec/mips: Improve vp9 idct msa functions
...
Removed memset calls.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-08 13:48:40 +02:00
Kaustubh Raste and Michael Niedermayer
2e79813a8e
avcodec/mips: Improve vp9 lpf msa functions
...
Updated VP9_LPF_FILTER4_4W macro to process on 8 bit data.
Replaced VP9_LPF_FILTER4_8W with VP9_LPF_FILTER4_4W.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-08 13:48:40 +02:00
Kaustubh Raste and Michael Niedermayer
fa805df060
libavcodec/mips: Improve avc idct8 msa function
...
Replace memset call with msa stores.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-05 22:16:03 +02:00
Kaustubh Raste and Michael Niedermayer
36ea41de37
libavcodec/mips: Improve avc dequant-idct luma dc msa function
...
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-07-29 03:47:50 +02:00
Kaustubh Raste and Michael Niedermayer
a776cb2074
libavcodec/mips: Optimize avc idct 4x4 for msa
...
Removed memset call and improved performance.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-07-25 22:04:34 +02:00
Kaustubh Raste and Michael Niedermayer
ef1b4bdf44
libavutil/mips: Updated msa generic macros
...
Reduced msa load-store code.
Removed inline asm of GP load-store for 64 bit.
Updated variable names in GP load-store macros for naming consistency.
Corrected macro descriptions.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-07-21 17:37:05 +02:00
Kaustubh Raste and Michael Niedermayer
df806605f7
avcodec: Add prefetch for mips
...
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-07-14 02:30:37 +02:00