/hardware/qcom/audio/hal/audio_extn/ |
D | ext_speaker.c | 47 struct speaker_data *sd = calloc(1, sizeof(struct speaker_data)); in open_speaker_bundle() local 49 sd->speaker_bundle = dlopen(LIB_SPEAKER_BUNDLE, RTLD_NOW); in open_speaker_bundle() 50 if (sd->speaker_bundle == NULL) { in open_speaker_bundle() 56 sd->set_mode = (set_mode_t)dlsym(sd->speaker_bundle, in open_speaker_bundle() 58 if (sd->set_mode == NULL) { in open_speaker_bundle() 63 sd->set_speaker_on = (set_speaker_on_t)dlsym(sd->speaker_bundle, in open_speaker_bundle() 65 if (sd->set_speaker_on == NULL) { in open_speaker_bundle() 70 sd->set_earpiece_on = (set_earpiece_on_t)dlsym(sd->speaker_bundle, in open_speaker_bundle() 72 if (sd->set_earpiece_on == NULL) { in open_speaker_bundle() 77 sd->set_voice_vol = (set_voice_vol_t)dlsym(sd->speaker_bundle, in open_speaker_bundle() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_picklpf.c | 32 static int try_filter_frame(const YV12_BUFFER_CONFIG *sd, VP9_COMP *const cpi, in try_filter_frame() argument 38 filt_err = vp9_calc_ss_err(sd, cm->frame_to_show); in try_filter_frame() 46 static void search_filter_level(const YV12_BUFFER_CONFIG *sd, VP9_COMP *cpi, in search_filter_level() argument 68 best_err = try_filter_frame(sd, cpi, filt_mid, partial_frame); in search_filter_level() 90 filt_err = try_filter_frame(sd, cpi, filt_low, partial_frame); in search_filter_level() 109 filt_err = try_filter_frame(sd, cpi, filt_high, partial_frame); in search_filter_level() 134 void vp9_pick_filter_level(const YV12_BUFFER_CONFIG *sd, VP9_COMP *cpi, in vp9_pick_filter_level() argument 153 search_filter_level(sd, cpi, method == LPF_PICK_FROM_SUBIMAGE); in vp9_pick_filter_level()
|
D | vp9_picklpf.h | 24 void vp9_pick_filter_level(const struct yv12_buffer_config *sd,
|
D | vp9_onyx_int.h | 530 YV12_BUFFER_CONFIG *sd, int64_t time_stamp, 545 YV12_BUFFER_CONFIG *sd); 551 YV12_BUFFER_CONFIG *sd);
|
D | vp9_onyx_if.c | 1771 YV12_BUFFER_CONFIG *sd) { in vp9_copy_reference_enc() argument 1774 vp8_yv12_copy_frame(cfg, sd); in vp9_copy_reference_enc() 1792 YV12_BUFFER_CONFIG *sd) { in vp9_set_reference_enc() argument 1795 vp8_yv12_copy_frame(sd, cfg); in vp9_set_reference_enc() 2903 YV12_BUFFER_CONFIG *sd, int64_t time_stamp, argument 2908 const int subsampling_x = sd->uv_width < sd->y_width; 2909 const int subsampling_y = sd->uv_height < sd->y_height; 2914 sd, time_stamp, end_time, frame_flags))
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/ |
D | onyxd_if.c | 110 …vp8dx_get_reference(VP8D_COMP *pbi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) in vp8dx_get_reference() argument 127 if(cm->yv12_fb[ref_fb_idx].y_height != sd->y_height || in vp8dx_get_reference() 128 cm->yv12_fb[ref_fb_idx].y_width != sd->y_width || in vp8dx_get_reference() 129 cm->yv12_fb[ref_fb_idx].uv_height != sd->uv_height || in vp8dx_get_reference() 130 cm->yv12_fb[ref_fb_idx].uv_width != sd->uv_width){ in vp8dx_get_reference() 135 vp8_yv12_copy_frame(&cm->yv12_fb[ref_fb_idx], sd); in vp8dx_get_reference() 141 …vp8dx_set_reference(VP8D_COMP *pbi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) in vp8dx_set_reference() argument 159 if(cm->yv12_fb[*ref_fb_ptr].y_height != sd->y_height || in vp8dx_set_reference() 160 cm->yv12_fb[*ref_fb_ptr].y_width != sd->y_width || in vp8dx_set_reference() 161 cm->yv12_fb[*ref_fb_ptr].uv_height != sd->uv_height || in vp8dx_set_reference() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
D | vp9_decoder.c | 187 YV12_BUFFER_CONFIG *sd) { in vp9_copy_reference_dec() argument 198 if (!equal_dimensions(cfg, sd)) in vp9_copy_reference_dec() 202 vp8_yv12_copy_frame(cfg, sd); in vp9_copy_reference_dec() 214 YV12_BUFFER_CONFIG *sd) { in vp9_set_reference_dec() argument 233 if (!equal_dimensions(ref_buf->buf, sd)) { in vp9_set_reference_dec() 248 vp8_yv12_copy_frame(sd, ref_buf->buf); in vp9_set_reference_dec() 406 int vp9_get_raw_frame(VP9D_COMP *pbi, YV12_BUFFER_CONFIG *sd, in vp9_get_raw_frame() argument 424 ret = vp9_post_proc_frame(&pbi->common, sd, flags); in vp9_get_raw_frame() 428 *sd = *pbi->common.frame_to_show; in vp9_get_raw_frame() 429 sd->y_width = pbi->common.width; in vp9_get_raw_frame() [all …]
|
D | vp9_decoder.h | 71 YV12_BUFFER_CONFIG *sd, 77 YV12_BUFFER_CONFIG *sd); 81 YV12_BUFFER_CONFIG *sd);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | onyxd.h | 53 …int vp8dx_get_raw_frame(struct VP8D_COMP* comp, YV12_BUFFER_CONFIG *sd, int64_t *time_stamp, int64… 55 …_reference(struct VP8D_COMP* comp, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd); 56 …_reference(struct VP8D_COMP* comp, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd);
|
D | onyx.h | 252 …frame(struct VP8_COMP* comp, unsigned int frame_flags, YV12_BUFFER_CONFIG *sd, int64_t time_stamp,… 258 …t_reference(struct VP8_COMP* comp, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd); 259 …t_reference(struct VP8_COMP* comp, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd);
|
/hardware/ti/omap4-aah/ion/ |
D | ion_test.c | 136 int sd[2]; in ion_share_test() local 143 socketpair(AF_UNIX, SOCK_STREAM, 0, sd); in ion_share_test() 174 sendmsg(sd[0], &msg, 0); in ion_share_test() 175 if (recvmsg(sd[0], &msg, 0) < 0) in ion_share_test() 180 sendmsg(sd[0], &msg, 0); in ion_share_test() 182 if (recvmsg(sd[0], &msg, 0) < 0) in ion_share_test() 203 if (recvmsg(sd[1], &child_msg, 0) < 0) in ion_share_test() 224 sendmsg(sd[1], &child_msg, 0); in ion_share_test()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | picklpf.c | 136 void vp8cx_pick_filter_level_fast(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) in vp8cx_pick_filter_level_fast() argument 179 best_err = calc_partial_ssl_err(sd, cm->frame_to_show); in vp8cx_pick_filter_level_fast() 191 filt_err = calc_partial_ssl_err(sd, cm->frame_to_show); in vp8cx_pick_filter_level_fast() 222 filt_err = calc_partial_ssl_err(sd, cm->frame_to_show); in vp8cx_pick_filter_level_fast() 266 void vp8cx_pick_filter_level(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) in vp8cx_pick_filter_level() argument 321 best_err = vp8_calc_ss_err(sd, cm->frame_to_show); in vp8cx_pick_filter_level() 346 filt_err = vp8_calc_ss_err(sd, cm->frame_to_show); in vp8cx_pick_filter_level() 374 filt_err = vp8_calc_ss_err(sd, cm->frame_to_show); in vp8cx_pick_filter_level()
|
D | onyx_if.c | 52 extern void vp8cx_pick_filter_level_fast(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi); 54 extern void vp8cx_pick_filter_level(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi); 2565 int vp8_get_reference(VP8_COMP *cpi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) in vp8_get_reference() argument 2579 vp8_yv12_copy_frame(&cm->yv12_fb[ref_fb_idx], sd); in vp8_get_reference() 2583 int vp8_set_reference(VP8_COMP *cpi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) in vp8_set_reference() argument 2598 vp8_yv12_copy_frame(sd, &cm->yv12_fb[ref_fb_idx]); in vp8_set_reference() 2650 static void scale_and_extend_source(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) in scale_and_extend_source() argument 2670 vpx_scale_frame(sd, &cpi->scaled_source, cm->temp_scale_frame.y_buffer, in scale_and_extend_source() 2678 cpi->Source = sd; in scale_and_extend_source() 4828 int vp8_receive_raw_frame(VP8_COMP *cpi, unsigned int frame_flags, YV12_BUFFER_CONFIG *sd, int64_t … in vp8_receive_raw_frame() argument [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/ |
D | vp8_cx_iface.c | 828 YV12_BUFFER_CONFIG sd; in vp8e_encode() local 851 res = image2yuvconfig(img, &sd); in vp8e_encode() 854 &sd, dst_time_stamp, dst_end_time_stamp)) in vp8e_encode() 990 YV12_BUFFER_CONFIG sd; in vp8e_set_reference() local 992 image2yuvconfig(&frame->img, &sd); in vp8e_set_reference() 993 vp8_set_reference(ctx->cpi, frame->frame_type, &sd); in vp8e_set_reference() 1011 YV12_BUFFER_CONFIG sd; in vp8e_get_reference() local 1013 image2yuvconfig(&frame->img, &sd); in vp8e_get_reference() 1014 vp8_get_reference(ctx->cpi, frame->frame_type, &sd); in vp8e_get_reference() 1048 YV12_BUFFER_CONFIG sd; in vp8e_get_preview() local [all …]
|
D | vp8_dx_iface.c | 585 YV12_BUFFER_CONFIG sd; in vp8_get_frame() local 610 if (0 == vp8dx_get_raw_frame(ctx->yv12_frame_buffers.pbi[0], &sd, in vp8_get_frame() 613 yuvconfig2image(&ctx->img, &sd, ctx->user_priv); in vp8_get_frame() 739 YV12_BUFFER_CONFIG sd; in vp8_set_reference() local 741 image2yuvconfig(&frame->img, &sd); in vp8_set_reference() 744 frame->frame_type, &sd); in vp8_set_reference() 761 YV12_BUFFER_CONFIG sd; in vp8_get_reference() local 763 image2yuvconfig(&frame->img, &sd); in vp8_get_reference() 766 frame->frame_type, &sd); in vp8_get_reference()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
D | vp9_dx_iface.c | 237 YV12_BUFFER_CONFIG sd; in decode_one() local 264 if (!res && 0 == vp9_get_raw_frame(pbi, &sd, &time_stamp, in decode_one() 266 yuvconfig2image(&ctx->img, &sd, user_priv); in decode_one() 412 YV12_BUFFER_CONFIG sd; in set_reference() local 414 image2yuvconfig(&frame->img, &sd); in set_reference() 416 (VP9_REFFRAME)frame->frame_type, &sd); in set_reference() 428 YV12_BUFFER_CONFIG sd; in copy_reference() local 430 image2yuvconfig(&frame->img, &sd); in copy_reference() 433 (VP9_REFFRAME)frame->frame_type, &sd); in copy_reference()
|
D | vp9_cx_iface.c | 726 YV12_BUFFER_CONFIG sd; in vp9e_encode() local 745 res = image2yuvconfig(img, &sd); in vp9e_encode() 748 &sd, dst_time_stamp, dst_end_time_stamp)) { in vp9e_encode() 864 YV12_BUFFER_CONFIG sd; in vp9e_set_reference() local 866 image2yuvconfig(&frame->img, &sd); in vp9e_set_reference() 868 &sd); in vp9e_set_reference() 881 YV12_BUFFER_CONFIG sd; in vp9e_copy_reference() local 883 image2yuvconfig(&frame->img, &sd); in vp9e_copy_reference() 885 ref_frame_to_vp9_reframe(frame->frame_type), &sd); in vp9e_copy_reference() 931 YV12_BUFFER_CONFIG sd; in vp9e_get_preview() local [all …]
|
/hardware/qcom/media/msm8974/mm-core/omxcore/src/common/ |
D | qc_omx_core.c | 430 struct stat sd; in OMX_GetHandle() local 433 if(stat("/dev/pmem_adsp",&sd) != 0) in OMX_GetHandle()
|
/hardware/qcom/media/msm8974/mm-core/src/common/ |
D | qc_omx_core.c | 410 struct stat sd; in OMX_GetHandle() local
|
/hardware/qcom/media/msm8996/mm-core/src/common/ |
D | qc_omx_core.c | 415 struct stat sd; in OMX_GetHandle() local
|