/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_program_pair.c | 39 unsigned int rgb, unsigned int alpha, 48 if ((!rgb && !alpha) || file == RC_FILE_NONE) 58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used 59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { 76 if (alpha) { 77 if (pair->Alpha.Src[i].Used) { 78 if (pair->Alpha.Src[i].File != file || 79 pair->Alpha.Src[i].Index != index) { 95 || (alpha && alpha_used > 2)) [all...] |
radeon_pair_translate.c | 133 unsigned int * alpha) 141 *alpha = 1; 170 pair->Alpha.Opcode = inst->Opcode; 172 pair->Alpha.Saturate = 1; 182 * pair->{RGB,ALPHA}.Src[RC_PAIR_PRESUB_SRC] */ 193 unsigned int alpha = 0; local 194 src_uses(inst->SrcReg[j], &rgb, &alpha); 202 if(alpha) { 203 pair->Alpha.Src[i].File = 205 pair->Alpha.Src[i].Index [all...] |
radeon_pair_dead_sources.c | 32 inst->U.P.Alpha.Src[sub->Arg[i].Source].Used = 1; 54 inst->U.P.Alpha.Src[i].Used = 0; 57 mark_used(inst, &inst->U.P.Alpha); 60 mark_used_presub(&inst->U.P.Alpha);
|
radeon_pair_schedule.c | 67 /** If the scheduler has paired an RGB and an Alpha instruction together, 68 * PairedInst references the alpha insturction's dependency information. 255 else if (sinst->Instruction->U.P.Alpha.Opcode == RC_OPCODE_NOP) 307 !sinst->Instruction->U.P.Alpha.OutputWriteMask) { 312 Alpha.OutputWriteMask) { 342 sinst->Instruction->U.P.Alpha.Src[src_idx].Used; 498 * but no scalar instruction (alpha). 511 assert(dst_full->Alpha.Opcode == RC_OPCODE_NOP); 522 dst_sub = &dst_full->Alpha; 597 /* This function assumes that rgb.Alpha and alpha.RGB are unused * [all...] |
r300_fragprog_emit.c | 165 code->alu.inst[ip].alpha_inst = translate_alpha_opcode(c, inst->Alpha.Opcode); 176 /* Set the Alpha address */ 177 src = use_source(code, inst->Alpha.Src[j]); 178 if (inst->Alpha.Src[j].Index >= R300_PFS_NUM_TEMP_REGS) 188 arg = r300FPTranslateAlphaSwizzle(inst->Alpha.Arg[j].Source, inst->Alpha.Arg[j].Swizzle); 189 arg |= inst->Alpha.Arg[j].Abs << 6; 190 arg |= inst->Alpha.Arg[j].Negate << 5; 218 if (inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 219 switch(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) [all...] |
radeon_program_print.c | 346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth); 359 if (inst->Alpha.Src[src].Used) { 363 rc_print_register(f, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, 0); 372 if(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 375 inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index)); 421 if (inst->Alpha.Opcode != RC_OPCODE_NOP) { 422 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->Alpha.Opcode); 427 fprintf(f, " %s%s", opcode->Name, inst->Alpha.Saturate ? "_SAT" : ""); 428 if (inst->Alpha.WriteMask [all...] |
r500_fragprog_emit.c | 174 unsigned int t = inst->Alpha.Arg[i].Source; 175 t |= fix_hw_swizzle(GET_SWZ(inst->Alpha.Arg[i].Swizzle, 0)) << 2; 176 t |= inst->Alpha.Arg[i].Negate << 5; 177 t |= inst->Alpha.Arg[i].Abs << 6; 248 if (inst->RGB.Opcode == RC_OPCODE_DDX || inst->Alpha.Opcode == RC_OPCODE_DDX || 249 inst->RGB.Opcode == RC_OPCODE_DDY || inst->Alpha.Opcode == RC_OPCODE_DDY) { 256 code->inst[ip].inst4 = translate_alpha_op(c, inst->Alpha.Opcode); 258 if (inst->RGB.OutputWriteMask || inst->Alpha.OutputWriteMask || inst->Alpha.DepthWriteMask) { 270 code->inst[ip].inst0 |= inst->Alpha.WriteMask ? 1 << 14 : 0 [all...] |
radeon_dataflow.c | 90 inst->Alpha.Src[src].Index); 114 GET_SWZ(inst->Alpha.Arg[arg].Swizzle, chan); 118 inst->Alpha.Arg[arg].Source); 127 if (inst->Alpha.Src[src].Used && (refmasks[src] & RC_MASK_W)) 128 cb(userdata, fullinst, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, RC_MASK_W); 161 U.P.Alpha.Src[RC_PAIR_PRESUB_SRC].Index; 162 src_array = fullinst->U.P.Alpha.Src; 217 * alpha components. 231 pair_sub_for_all_args(inst, &inst->U.P.Alpha, cb, userdata) [all...] |
radeon_program_pair.h | 52 /* For rgb and alpha instructions when arg[n].Source = RC_PAIR_PRESUB_SRC, then 54 * {RGB,Alpha}.Src[RC_PAIR_PRESUB_SRC].File will be set to RC_FILE_PRESUB. 87 struct rc_pair_sub_instruction Alpha; 103 unsigned int rgb, unsigned int alpha,
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_program_pair.c | 39 unsigned int rgb, unsigned int alpha, 48 if ((!rgb && !alpha) || file == RC_FILE_NONE) 58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used 59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { 76 if (alpha) { 77 if (pair->Alpha.Src[i].Used) { 78 if (pair->Alpha.Src[i].File != file || 79 pair->Alpha.Src[i].Index != index) { 95 || (alpha && alpha_used > 2)) [all...] |
radeon_pair_translate.c | 133 unsigned int * alpha) 141 *alpha = 1; 170 pair->Alpha.Opcode = inst->Opcode; 172 pair->Alpha.Saturate = 1; 182 * pair->{RGB,ALPHA}.Src[RC_PAIR_PRESUB_SRC] */ 193 unsigned int alpha = 0; local 194 src_uses(inst->SrcReg[j], &rgb, &alpha); 202 if(alpha) { 203 pair->Alpha.Src[i].File = 205 pair->Alpha.Src[i].Index [all...] |
radeon_pair_dead_sources.c | 32 inst->U.P.Alpha.Src[sub->Arg[i].Source].Used = 1; 54 inst->U.P.Alpha.Src[i].Used = 0; 57 mark_used(inst, &inst->U.P.Alpha); 60 mark_used_presub(&inst->U.P.Alpha);
|
radeon_pair_schedule.c | 67 /** If the scheduler has paired an RGB and an Alpha instruction together, 68 * PairedInst references the alpha insturction's dependency information. 255 else if (sinst->Instruction->U.P.Alpha.Opcode == RC_OPCODE_NOP) 307 !sinst->Instruction->U.P.Alpha.OutputWriteMask) { 312 Alpha.OutputWriteMask) { 342 sinst->Instruction->U.P.Alpha.Src[src_idx].Used; 498 * but no scalar instruction (alpha). 511 assert(dst_full->Alpha.Opcode == RC_OPCODE_NOP); 522 dst_sub = &dst_full->Alpha; 597 /* This function assumes that rgb.Alpha and alpha.RGB are unused * [all...] |
r300_fragprog_emit.c | 165 code->alu.inst[ip].alpha_inst = translate_alpha_opcode(c, inst->Alpha.Opcode); 176 /* Set the Alpha address */ 177 src = use_source(code, inst->Alpha.Src[j]); 178 if (inst->Alpha.Src[j].Index >= R300_PFS_NUM_TEMP_REGS) 188 arg = r300FPTranslateAlphaSwizzle(inst->Alpha.Arg[j].Source, inst->Alpha.Arg[j].Swizzle); 189 arg |= inst->Alpha.Arg[j].Abs << 6; 190 arg |= inst->Alpha.Arg[j].Negate << 5; 218 if (inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 219 switch(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) [all...] |
radeon_program_print.c | 346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth); 359 if (inst->Alpha.Src[src].Used) { 363 rc_print_register(f, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, 0); 372 if(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 375 inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index)); 421 if (inst->Alpha.Opcode != RC_OPCODE_NOP) { 422 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->Alpha.Opcode); 427 fprintf(f, " %s%s", opcode->Name, inst->Alpha.Saturate ? "_SAT" : ""); 428 if (inst->Alpha.WriteMask [all...] |
r500_fragprog_emit.c | 174 unsigned int t = inst->Alpha.Arg[i].Source; 175 t |= fix_hw_swizzle(GET_SWZ(inst->Alpha.Arg[i].Swizzle, 0)) << 2; 176 t |= inst->Alpha.Arg[i].Negate << 5; 177 t |= inst->Alpha.Arg[i].Abs << 6; 248 if (inst->RGB.Opcode == RC_OPCODE_DDX || inst->Alpha.Opcode == RC_OPCODE_DDX || 249 inst->RGB.Opcode == RC_OPCODE_DDY || inst->Alpha.Opcode == RC_OPCODE_DDY) { 256 code->inst[ip].inst4 = translate_alpha_op(c, inst->Alpha.Opcode); 258 if (inst->RGB.OutputWriteMask || inst->Alpha.OutputWriteMask || inst->Alpha.DepthWriteMask) { 270 code->inst[ip].inst0 |= inst->Alpha.WriteMask ? 1 << 14 : 0 [all...] |
radeon_dataflow.c | 90 inst->Alpha.Src[src].Index); 114 GET_SWZ(inst->Alpha.Arg[arg].Swizzle, chan); 118 inst->Alpha.Arg[arg].Source); 127 if (inst->Alpha.Src[src].Used && (refmasks[src] & RC_MASK_W)) 128 cb(userdata, fullinst, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, RC_MASK_W); 161 U.P.Alpha.Src[RC_PAIR_PRESUB_SRC].Index; 162 src_array = fullinst->U.P.Alpha.Src; 217 * alpha components. 231 pair_sub_for_all_args(inst, &inst->U.P.Alpha, cb, userdata) [all...] |
radeon_program_pair.h | 52 /* For rgb and alpha instructions when arg[n].Source = RC_PAIR_PRESUB_SRC, then 54 * {RGB,Alpha}.Src[RC_PAIR_PRESUB_SRC].File will be set to RC_FILE_PRESUB. 87 struct rc_pair_sub_instruction Alpha; 103 unsigned int rgb, unsigned int alpha,
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
Core_MixInSoft_D32C31_SAT.c | 45 MUL32x32INTO32((0x7FFFFFFF-pInstance->Alpha),pInstance->Target,TargetTimesOneMinAlpha,31); /* Q31 * Q0 in Q0 */ 51 MUL32x32INTO32(pInstance->Current,pInstance->Alpha,CurrentTimesAlpha,31); /* Q0 * Q31 in Q0 */ 72 MUL32x32INTO32(pInstance->Current,pInstance->Alpha,CurrentTimesAlpha,31); /* Q0 * Q31 in Q0 */
|
Core_MixSoft_1St_D32C31_WRA.c | 45 MUL32x32INTO32((0x7FFFFFFF-pInstance->Alpha),pInstance->Target,TargetTimesOneMinAlpha,31) /* Q31 * Q31 in Q31 */ 53 MUL32x32INTO32(pInstance->Current,pInstance->Alpha,CurrentTimesAlpha,31) /* Q31 * Q31 in Q31 */ 70 MUL32x32INTO32(pInstance->Current,pInstance->Alpha,CurrentTimesAlpha,31) /* Q31 * Q31 in Q31 */
|
MixInSoft_D32C31_SAT.c | 50 if(pInstance->Alpha == 0){
|
MixSoft_1St_D32C31_WRA.c | 52 if(pInstance->Alpha == 0){
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
deblock.cpp | 64 static void EdgeLoop_Luma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 65 static void EdgeLoop_Luma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 66 static void EdgeLoop_Chroma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 67 static void EdgeLoop_Chroma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 299 int Alpha, Beta, Alpha_c, Beta_c; 339 Alpha = ALPHA_TABLE[indexA]; 343 if (Alpha > 0 && Beta > 0) 345 EdgeLoop_Luma_vertical(SrcY, Strength, Alpha, Beta, clipTable, 20); 347 EdgeLoop_Luma_vertical(SrcY, Strength, Alpha, Beta, clipTable, pitch); 356 Alpha = ALPHA_TABLE[indexA] [all...] |
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
LVREV_ApplyNewSettings.c | 291 LVM_INT32 Alpha = (LVM_INT32)LVM_Mixer_TimeConstant(LVREV_ALLPASS_TC, LVM_GetFsFromTable(pPrivate->NewParams.SampleRate), 1); 298 pPrivate->Mixer_SGFeedback[i].Alpha = Alpha; 299 pPrivate->Mixer_SGFeedforward[i].Alpha = Alpha; 502 LVM_INT32 Alpha; 504 Alpha = (LVM_INT32)LVM_Mixer_TimeConstant(LVREV_FEEDBACKMIXER_TC, LVM_GetFsFromTable(pPrivate->NewParams.SampleRate), NumChannels); 505 pPrivate->FeedbackMixer[0].Alpha=Alpha; 506 pPrivate->FeedbackMixer[1].Alpha=Alpha [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
Mixer.h | 35 LVM_INT32 Alpha; /* Time constant. Set by calling application. Can be changed at any time */
|