Shares one set of RD costs tables between all encoding threads
RD costs were local to MACROBLOCK data and had to be copied all the time to each thread's MACROBLOCK data. Tables moved to a common place and only pointers are setup for each encoding thread. vp8_cost_tokens() generates 'int' costs so changed all types to be int (i.e. removed unsigned). NOTE: Could do some more cleaning in vp8cx_init_mbrthread_data(). Change-Id: Ifa4de4c6286dffaca7ed3082041fe5af1345ddc0
Showing
- vp8/encoder/block.h 9 additions, 9 deletionsvp8/encoder/block.h
- vp8/encoder/ethreading.c 19 additions, 24 deletionsvp8/encoder/ethreading.c
- vp8/encoder/modecosts.c 14 additions, 7 deletionsvp8/encoder/modecosts.c
- vp8/encoder/onyx_if.c 17 additions, 8 deletionsvp8/encoder/onyx_if.c
- vp8/encoder/onyx_int.h 11 additions, 0 deletionsvp8/encoder/onyx_int.h
- vp8/encoder/pickinter.c 2 additions, 2 deletionsvp8/encoder/pickinter.c
- vp8/encoder/ratectrl.c 2 additions, 2 deletionsvp8/encoder/ratectrl.c
- vp8/encoder/rdopt.c 17 additions, 14 deletionsvp8/encoder/rdopt.c
Loading
Please register or sign in to comment