// File: /workspace/github_c_makefile_star2_O0/akumrao[P]videoAnalyzer/core/common.c
// Function: x264_param_default(x264_param_t*)
void    x264_param_default( x264_param_t *param )
{
    /* */
    memset( param, 0, sizeof( x264_param_t ) );

    /* CPU autodetect */
    param->cpu = x264_cpu_detect();
    fprintf( stderr, "x264: cpu capabilities: %s%s%s%s%s%s\n",
             param->cpu&X264_CPU_MMX ? "MMX " : "",
             param->cpu&X264_CPU_MMXEXT ? "MMXEXT " : "",
             param->cpu&X264_CPU_SSE ? "SSE " : "",
             param->cpu&X264_CPU_SSE2 ? "SSE2 " : "",
             param->cpu&X264_CPU_3DNOW ? "3DNow! " : "",
             param->cpu&X264_CPU_ALTIVEC ? "Altivec " : "" );


    /* Video properties */
    param->i_width         = 0;
    param->i_height        = 0;
    param->vui.i_sar_width = 0;
    param->vui.i_sar_height= 0;
    param->f_fps           = 25.0;

    /* Encoder parameters */
    param->i_frame_reference = 1;
    param->i_idrframe = 2;
    param->i_iframe = 60;
    param->i_bframe = 0;

    param->b_deblocking_filter = 1;

    param->b_cabac = 0;
    param->i_cabac_init_idc = -1;

    param->i_bitrate = 3000;
    param->i_qp_constant = 26;

    param->i_me = X264_ME_DIAMOND;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
xorl %esi, %esi
movl $0x40, %edx
callq 0x2070
callq 0x4410
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq 0x31da0(%rip), %rax     # 0x35fd0
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movl (%rax), %ecx
andl $0x1, %ecx
leaq 0x21476(%rip), %rdx     # 0x256b9
leaq 0x24c9e(%rip), %rax     # 0x28ee8
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movq -0x8(%rbp), %rax
movl (%rax), %esi
andl $0x2, %esi
leaq 0x21458(%rip), %rcx     # 0x256b9
leaq 0x24c85(%rip), %rax     # 0x28eed
cmpl $0x0, %esi
cmovneq %rax, %rcx
movq -0x8(%rbp), %rax
movl (%rax), %esi
andl $0x4, %esi
leaq 0x2143a(%rip), %r8      # 0x256b9
leaq 0x24c6f(%rip), %rax     # 0x28ef5
cmpl $0x0, %esi
cmovneq %rax, %r8
movq -0x8(%rbp), %rax
movl (%rax), %esi
andl $0x8, %esi
leaq 0x2141c(%rip), %r9      # 0x256b9
leaq 0x24c56(%rip), %rax     # 0x28efa
cmpl $0x0, %esi
cmovneq %rax, %r9
movq -0x8(%rbp), %rax
movl (%rax), %esi
andl $0x10, %esi
leaq 0x213fe(%rip), %r10     # 0x256b9
leaq 0x24c3e(%rip), %rax     # 0x28f00
cmpl $0x0, %esi
cmovneq %rax, %r10
movq -0x8(%rbp), %rax
movl (%rax), %r11d
andl $0x40, %r11d
leaq 0x213de(%rip), %rax     # 0x256b9
leaq 0x24c26(%rip), %rsi     # 0x28f08
cmpl $0x0, %r11d
cmovneq %rsi, %rax
leaq 0x24bd1(%rip), %rsi     # 0x28ec2
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
movb $0x0, %al
callq 0x2160
movq -0x8(%rbp), %rax
movl $0x0, 0x4(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x8(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x10(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0xc(%rax)
movq -0x8(%rbp), %rax
movss 0x20ccb(%rip), %xmm0    # 0x25004
movss %xmm0, 0x14(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x18(%rax)
movq -0x8(%rbp), %rax
movl $0x2, 0x1c(%rax)
movq -0x8(%rbp), %rax
movl $0x3c, 0x20(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x24(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x28(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x2c(%rax)
movq -0x8(%rbp), %rax
movl $0xffffffff, 0x30(%rax) # imm = 0xFFFFFFFF
movq -0x8(%rbp), %rax
movl $0xbb8, 0x38(%rax)      # imm = 0xBB8
movq -0x8(%rbp), %rax
movl $0x1a, 0x34(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x3c(%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)