Searched refs:context (Results 1 - 25 of 1279) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/core/core/
H A Dcontext.cpp23 #include "core/context.hpp"
27 context::context(const property_list &props, function in class:context
34 context::operator==(const context &ctx) const {
39 context::operator!=(const context &ctx) const {
43 const context::property_list &
44 context::properties() const {
48 context
[all...]
H A Dcontext.hpp31 class context : public ref_counter, public _cl_context { class in namespace:clover
41 context(const property_list &props, const ref_vector<device> &devs,
44 context(const context &ctx) = delete;
45 context &
46 operator=(const context &ctx) = delete;
49 operator==(const context &ctx) const;
51 operator!=(const context &ctx) const;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/tegra/
H A Dtegra_context.c38 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_destroy
40 if (context->base.stream_uploader)
41 u_upload_destroy(context->base.stream_uploader);
43 context->gpu->destroy(context->gpu);
44 free(context);
51 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_draw_vbo
70 context->gpu->draw_vbo(context->gpu, pinfo);
79 struct tegra_context *context local in function:tegra_render_condition
88 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_query
98 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_batch_query
107 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_destroy_query
115 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_begin_query
123 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_end_query
134 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_get_query_result
149 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_get_query_result_resource
159 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_active_query_state
168 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_blend_state
176 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_blend_state
184 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_blend_state
193 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_sampler_state
203 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_sampler_states
212 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_sampler_state
221 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_rasterizer_state
229 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_rasterizer_state
237 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_rasterizer_state
246 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_depth_stencil_alpha_state
254 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_depth_stencil_alpha_state
262 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_depth_stencil_alpha_state
271 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_fs_state
279 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_fs_state
287 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_fs_state
296 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_vs_state
304 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_vs_state
312 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_vs_state
321 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_gs_state
329 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_gs_state
337 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_gs_state
346 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_tcs_state
354 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_tcs_state
362 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_tcs_state
371 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_tes_state
379 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_tes_state
387 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_tes_state
397 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_vertex_elements_state
407 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_vertex_elements_state
415 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_vertex_elements_state
424 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_blend_color
433 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_stencil_ref
441 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_sample_mask
449 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_min_samples
458 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_clip_state
468 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_constant_buffer
484 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_framebuffer_state
509 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_polygon_stipple
519 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_scissor_states
530 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_window_rectangles
541 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_viewport_states
553 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_sampler_views
568 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_tess_state
578 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_debug_callback
589 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_shader_buffers
600 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_shader_images
611 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_vertex_buffers
637 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_stream_output_target
649 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_stream_output_target_destroy
660 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_stream_output_targets
677 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_resource_copy_region
689 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_blit
707 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_clear
722 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_clear_render_target
741 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_clear_depth_stencil
757 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_clear_texture
771 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_clear_buffer
781 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_flush
791 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_fence_fd
801 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_fence_server_sync
812 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_sampler_view
849 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_surface
893 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_transfer_map
918 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_transfer_flush_region
928 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_transfer_unmap
942 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_buffer_subdata
959 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_texture_subdata
968 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_texture_barrier
976 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_memory_barrier
988 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_video_codec
997 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_video_buffer
1006 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_compute_state
1014 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_compute_state
1022 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_compute_state
1032 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_compute_resources
1044 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_global_binding
1056 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_launch_grid
1067 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_get_sample_position
1075 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_get_timestamp
1085 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_flush_resource
1095 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_invalidate_resource
1103 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_get_device_reset_status
1112 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_device_reset_callback
1121 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_dump_debug_state
1130 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_emit_string_marker
1145 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_generate_mipmap
1157 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_texture_handle
1165 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_texture_handle
1173 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_make_texture_handle_resident
1181 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_image_handle
1189 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_image_handle
1198 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_make_image_handle_resident
1209 struct tegra_context *context; local in function:tegra_screen_context_create
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/va/
H A Dpicture_h264_enc.c33 vlVaHandleVAEncPictureParameterBufferTypeH264(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) argument
39 context->desc.h264enc.frame_num = h264->frame_num;
40 context->desc.h264enc.not_referenced = false;
41 context->desc.h264enc.pic_order_cnt = h264->CurrPic.TopFieldOrderCnt;
42 if (context->desc.h264enc.gop_cnt == 0)
43 context->desc.h264enc.i_remain = context->gop_coeff;
44 else if (context->desc.h264enc.frame_num == 1)
45 context->desc.h264enc.i_remain--;
47 context
75 vlVaHandleVAEncSliceParameterBufferTypeH264(vlVaDriver * drv,vlVaContext * context,vlVaBuffer * buf) argument
112 vlVaHandleVAEncSequenceParameterBufferTypeH264(vlVaDriver * drv,vlVaContext * context,vlVaBuffer * buf) argument
142 vlVaHandleVAEncMiscParameterTypeRateControlH264(vlVaContext * context,VAEncMiscParameterBuffer * misc) argument
160 vlVaHandleVAEncMiscParameterTypeFrameRateH264(vlVaContext * context,VAEncMiscParameterBuffer * misc) argument
173 getEncParamPresetH264(vlVaContext * context) argument
[all...]
H A Dpicture.c43 vlVaContext *context; local in function:vlVaBeginPicture
54 context = handle_table_get(drv->htab, context_id);
55 if (!context) {
60 if (u_reduce_video_profile(context->templat.profile) == PIPE_VIDEO_FORMAT_MPEG12) {
61 context->desc.mpeg12.intra_matrix = NULL;
62 context->desc.mpeg12.non_intra_matrix = NULL;
70 context->target_id = render_target;
72 context->target = surf->buffer;
73 context->mjpeg.sampling_factor = 0;
75 if (!context
108 handlePictureParameterBuffer(vlVaDriver * drv,vlVaContext * context,vlVaBuffer * buf) argument
174 handleIQMatrixBuffer(vlVaContext * context,vlVaBuffer * buf) argument
203 handleSliceParameterBuffer(vlVaContext * context,vlVaBuffer * buf) argument
258 handleVASliceDataBufferType(vlVaContext * context,vlVaBuffer * buf) argument
335 handleVAEncMiscParameterTypeRateControl(vlVaContext * context,VAEncMiscParameterBuffer * misc) argument
356 handleVAEncMiscParameterTypeFrameRate(vlVaContext * context,VAEncMiscParameterBuffer * misc) argument
377 handleVAEncSequenceParameterBufferType(vlVaDriver * drv,vlVaContext * context,vlVaBuffer * buf) argument
398 handleVAEncMiscParameterBufferType(vlVaContext * context,vlVaBuffer * buf) argument
421 handleVAEncPictureParameterBufferType(vlVaDriver * drv,vlVaContext * context,vlVaBuffer * buf) argument
442 handleVAEncSliceParameterBufferType(vlVaDriver * drv,vlVaContext * context,vlVaBuffer * buf) argument
466 vlVaContext *context; local in function:vlVaRenderPicture
545 vlVaContext *context; local in function:vlVaEndPicture
[all...]
H A Dpicture_mpeg4.c30 void vlVaHandlePictureParameterBufferMPEG4(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) argument
40 context->mpeg4.pps = *mpeg4;
46 context->desc.mpeg4.short_video_header =
49 context->desc.mpeg4.interlaced = mpeg4->vol_fields.bits.interlaced;
53 context->desc.mpeg4.quant_type = mpeg4->vol_fields.bits.quant_type;
54 context->desc.mpeg4.quarter_sample = mpeg4->vol_fields.bits.quarter_sample;
57 context->desc.mpeg4.resync_marker_disable =
63 context->desc.mpeg4.vop_coding_type = mpeg4->vop_fields.bits.vop_coding_type;
67 context->desc.mpeg4.top_field_first =
69 context
97 vlVaHandleIQMatrixBufferMPEG4(vlVaContext * context,vlVaBuffer * buf) argument
113 vlVaHandleSliceParameterBufferMPEG4(vlVaContext * context,vlVaBuffer * buf) argument
145 vlVaDecoderFixMPEG4Startcode(vlVaContext * context) argument
[all...]
H A Dpicture_mpeg12.c43 void vlVaHandlePictureParameterBufferMPEG12(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) argument
48 context->desc.mpeg12.num_slices = 0;
51 vlVaGetReferenceFrame(drv, mpeg2->forward_reference_picture, &context->desc.mpeg12.ref[0]);
52 vlVaGetReferenceFrame(drv, mpeg2->backward_reference_picture, &context->desc.mpeg12.ref[1]);
53 context->desc.mpeg12.picture_coding_type = mpeg2->picture_coding_type;
54 context->desc.mpeg12.f_code[0][0] = ((mpeg2->f_code >> 12) & 0xf) - 1;
55 context->desc.mpeg12.f_code[0][1] = ((mpeg2->f_code >> 8) & 0xf) - 1;
56 context->desc.mpeg12.f_code[1][0] = ((mpeg2->f_code >> 4) & 0xf) - 1;
57 context->desc.mpeg12.f_code[1][1] = (mpeg2->f_code & 0xf) - 1;
58 context
79 vlVaHandleIQMatrixBufferMPEG12(vlVaContext * context,vlVaBuffer * buf) argument
108 vlVaHandleSliceParameterBufferMPEG12(vlVaContext * context,vlVaBuffer * buf) argument
[all...]
H A Dpicture_vc1.c30 void vlVaHandlePictureParameterBufferVC1(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) argument
35 context->desc.vc1.slice_count = 0;
36 vlVaGetReferenceFrame(drv, vc1->forward_reference_picture, &context->desc.vc1.ref[0]);
37 vlVaGetReferenceFrame(drv, vc1->backward_reference_picture, &context->desc.vc1.ref[1]);
38 context->desc.vc1.picture_type = vc1->picture_fields.bits.picture_type;
39 context->desc.vc1.frame_coding_mode = vc1->picture_fields.bits.frame_coding_mode;
40 context->desc.vc1.postprocflag = vc1->post_processing != 0;
41 context->desc.vc1.pulldown = vc1->sequence_fields.bits.pulldown;
42 context->desc.vc1.interlace = vc1->sequence_fields.bits.interlace;
43 context
70 vlVaHandleSliceParameterBufferVC1(vlVaContext * context,vlVaBuffer * buf) argument
[all...]
H A Dpicture_hevc_enc.c33 vlVaHandleVAEncPictureParameterBufferTypeHEVC(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) argument
40 context->desc.h265enc.decoded_curr_pic = h265->decoded_curr_pic.picture_id;
43 context->desc.h265enc.reference_frames[i] = h265->reference_frames[i].picture_id;
45 context->desc.h265enc.pic_order_cnt = h265->decoded_curr_pic.pic_order_cnt;
52 context->coded_buf = coded_buf;
53 context->desc.h265enc.pic.log2_parallel_merge_level_minus2 = h265->log2_parallel_merge_level_minus2;
54 context->desc.h265enc.pic.nal_unit_type = h265->nal_unit_type;
55 context->desc.h265enc.rc.quant_i_frames = h265->pic_init_qp;
60 context->desc.h265enc.picture_type = PIPE_H265_ENC_PICTURE_TYPE_IDR;
62 context
84 vlVaHandleVAEncSliceParameterBufferTypeHEVC(vlVaDriver * drv,vlVaContext * context,vlVaBuffer * buf) argument
118 vlVaHandleVAEncSequenceParameterBufferTypeHEVC(vlVaDriver * drv,vlVaContext * context,vlVaBuffer * buf) argument
157 vlVaHandleVAEncMiscParameterTypeRateControlHEVC(vlVaContext * context,VAEncMiscParameterBuffer * misc) argument
176 vlVaHandleVAEncMiscParameterTypeFrameRateHEVC(vlVaContext * context,VAEncMiscParameterBuffer * misc) argument
191 getEncParamPresetH265(vlVaContext * context) argument
[all...]
H A Dpicture_hevc.c31 void vlVaHandlePictureParameterBufferHEVC(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) argument
37 context->desc.h265.pps->sps->chroma_format_idc = hevc->pic_fields.bits.chroma_format_idc;
38 context->desc.h265.pps->sps->separate_colour_plane_flag =
40 context->desc.h265.pps->sps->pic_width_in_luma_samples = hevc->pic_width_in_luma_samples;
41 context->desc.h265.pps->sps->pic_height_in_luma_samples = hevc->pic_height_in_luma_samples;
42 context->desc.h265.pps->sps->bit_depth_luma_minus8 = hevc->bit_depth_luma_minus8;
43 context->desc.h265.pps->sps->bit_depth_chroma_minus8 = hevc->bit_depth_chroma_minus8;
44 context->desc.h265.pps->sps->log2_max_pic_order_cnt_lsb_minus4 =
46 context->desc.h265.pps->sps->sps_max_dec_pic_buffering_minus1 =
48 context
180 vlVaHandleIQMatrixBufferHEVC(vlVaContext * context,vlVaBuffer * buf) argument
211 vlVaHandleSliceParameterBufferHEVC(vlVaContext * context,vlVaBuffer * buf) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/
H A Dcontext.cpp23 #include "core/context.hpp"
27 context::context(const property_list &props, function in class:context
33 context::~context() {
41 context::operator==(const context &ctx) const {
46 context::operator!=(const context &ctx) const {
51 context
[all...]
H A Dcontext.hpp34 class context : public ref_counter, public _cl_context { class in namespace:clover
42 ~context();
47 context(const property_list &props, const ref_vector<device> &devs,
50 context(const context &ctx) = delete;
51 context &
52 operator=(const context &ctx) = delete;
55 operator==(const context &ctx) const;
57 operator!=(const context &ctx) const;
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/va/
H A Dpicture_h264_enc.c33 vlVaHandleVAEncPictureParameterBufferTypeH264(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) argument
39 context->desc.h264enc.frame_num = h264->frame_num;
40 context->desc.h264enc.not_referenced = false;
41 context->desc.h264enc.pic_order_cnt = h264->CurrPic.TopFieldOrderCnt;
42 if (context->desc.h264enc.gop_cnt == 0)
43 context->desc.h264enc.i_remain = context->gop_coeff;
44 else if (context->desc.h264enc.frame_num == 1)
45 context->desc.h264enc.i_remain--;
47 context
75 vlVaHandleVAEncSliceParameterBufferTypeH264(vlVaDriver * drv,vlVaContext * context,vlVaBuffer * buf) argument
112 vlVaHandleVAEncSequenceParameterBufferTypeH264(vlVaDriver * drv,vlVaContext * context,vlVaBuffer * buf) argument
142 vlVaHandleVAEncMiscParameterTypeRateControlH264(vlVaContext * context,VAEncMiscParameterBuffer * misc) argument
176 vlVaHandleVAEncMiscParameterTypeFrameRateH264(vlVaContext * context,VAEncMiscParameterBuffer * misc) argument
202 vlVaHandleVAEncMiscParameterTypeTemporalLayerH264(vlVaContext * context,VAEncMiscParameterBuffer * misc) argument
211 getEncParamPresetH264(vlVaContext * context) argument
[all...]
H A Dpicture_hevc_enc.c42 vlVaHandleVAEncPictureParameterBufferTypeHEVC(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) argument
49 context->desc.h265enc.decoded_curr_pic = h265->decoded_curr_pic.picture_id;
52 context->desc.h265enc.reference_frames[i] = h265->reference_frames[i].picture_id;
54 context->desc.h265enc.pic_order_cnt = h265->decoded_curr_pic.pic_order_cnt;
61 context->coded_buf = coded_buf;
62 context->desc.h265enc.pic.log2_parallel_merge_level_minus2 = h265->log2_parallel_merge_level_minus2;
63 context->desc.h265enc.pic.nal_unit_type = h265->nal_unit_type;
64 context->desc.h265enc.rc.quant_i_frames = h265->pic_init_qp;
69 context->desc.h265enc.picture_type = PIPE_H2645_ENC_PICTURE_TYPE_IDR;
71 context
93 vlVaHandleVAEncSliceParameterBufferTypeHEVC(vlVaDriver * drv,vlVaContext * context,vlVaBuffer * buf) argument
127 vlVaHandleVAEncSequenceParameterBufferTypeHEVC(vlVaDriver * drv,vlVaContext * context,vlVaBuffer * buf) argument
166 vlVaHandleVAEncMiscParameterTypeRateControlHEVC(vlVaContext * context,VAEncMiscParameterBuffer * misc) argument
185 vlVaHandleVAEncMiscParameterTypeFrameRateHEVC(vlVaContext * context,VAEncMiscParameterBuffer * misc) argument
252 parseEncSpsParamsH265(vlVaContext * context,struct vl_rbsp * rbsp) argument
282 vlVaHandleVAEncPackedHeaderDataBufferTypeHEVC(vlVaContext * context,vlVaBuffer * buf) argument
322 getEncParamPresetH265(vlVaContext * context) argument
[all...]
H A Dpicture_mpeg4.c30 void vlVaHandlePictureParameterBufferMPEG4(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) argument
40 context->mpeg4.pps = *mpeg4;
46 context->desc.mpeg4.short_video_header =
49 context->desc.mpeg4.interlaced = mpeg4->vol_fields.bits.interlaced;
53 context->desc.mpeg4.quant_type = mpeg4->vol_fields.bits.quant_type;
54 context->desc.mpeg4.quarter_sample = mpeg4->vol_fields.bits.quarter_sample;
57 context->desc.mpeg4.resync_marker_disable =
63 context->desc.mpeg4.vop_coding_type = mpeg4->vop_fields.bits.vop_coding_type;
67 context->desc.mpeg4.top_field_first =
69 context
97 vlVaHandleIQMatrixBufferMPEG4(vlVaContext * context,vlVaBuffer * buf) argument
113 vlVaHandleSliceParameterBufferMPEG4(vlVaContext * context,vlVaBuffer * buf) argument
145 vlVaDecoderFixMPEG4Startcode(vlVaContext * context) argument
[all...]
H A Dpicture_mpeg12.c43 void vlVaHandlePictureParameterBufferMPEG12(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) argument
48 context->desc.mpeg12.num_slices = 0;
51 vlVaGetReferenceFrame(drv, mpeg2->forward_reference_picture, &context->desc.mpeg12.ref[0]);
52 vlVaGetReferenceFrame(drv, mpeg2->backward_reference_picture, &context->desc.mpeg12.ref[1]);
53 context->desc.mpeg12.picture_coding_type = mpeg2->picture_coding_type;
54 context->desc.mpeg12.f_code[0][0] = ((mpeg2->f_code >> 12) & 0xf) - 1;
55 context->desc.mpeg12.f_code[0][1] = ((mpeg2->f_code >> 8) & 0xf) - 1;
56 context->desc.mpeg12.f_code[1][0] = ((mpeg2->f_code >> 4) & 0xf) - 1;
57 context->desc.mpeg12.f_code[1][1] = (mpeg2->f_code & 0xf) - 1;
58 context
79 vlVaHandleIQMatrixBufferMPEG12(vlVaContext * context,vlVaBuffer * buf) argument
108 vlVaHandleSliceParameterBufferMPEG12(vlVaContext * context,vlVaBuffer * buf) argument
[all...]
H A Dpicture_vc1.c30 void vlVaHandlePictureParameterBufferVC1(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) argument
35 context->desc.vc1.slice_count = 0;
36 vlVaGetReferenceFrame(drv, vc1->forward_reference_picture, &context->desc.vc1.ref[0]);
37 vlVaGetReferenceFrame(drv, vc1->backward_reference_picture, &context->desc.vc1.ref[1]);
38 context->desc.vc1.picture_type = vc1->picture_fields.bits.picture_type;
39 context->desc.vc1.frame_coding_mode = vc1->picture_fields.bits.frame_coding_mode;
40 context->desc.vc1.postprocflag = vc1->post_processing != 0;
41 context->desc.vc1.pulldown = vc1->sequence_fields.bits.pulldown;
42 context->desc.vc1.interlace = vc1->sequence_fields.bits.interlace;
43 context
70 vlVaHandleSliceParameterBufferVC1(vlVaContext * context,vlVaBuffer * buf) argument
[all...]
H A Dpicture_hevc.c31 void vlVaHandlePictureParameterBufferHEVC(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) argument
37 context->desc.h265.pps->sps->chroma_format_idc = hevc->pic_fields.bits.chroma_format_idc;
38 context->desc.h265.pps->sps->separate_colour_plane_flag =
40 context->desc.h265.pps->sps->pic_width_in_luma_samples = hevc->pic_width_in_luma_samples;
41 context->desc.h265.pps->sps->pic_height_in_luma_samples = hevc->pic_height_in_luma_samples;
42 context->desc.h265.pps->sps->bit_depth_luma_minus8 = hevc->bit_depth_luma_minus8;
43 context->desc.h265.pps->sps->bit_depth_chroma_minus8 = hevc->bit_depth_chroma_minus8;
44 context->desc.h265.pps->sps->log2_max_pic_order_cnt_lsb_minus4 =
46 context->desc.h265.pps->sps->sps_max_dec_pic_buffering_minus1 =
48 context
182 vlVaHandleIQMatrixBufferHEVC(vlVaContext * context,vlVaBuffer * buf) argument
213 vlVaHandleSliceParameterBufferHEVC(vlVaContext * context,vlVaBuffer * buf) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/tegra/
H A Dtegra_context.c39 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_destroy
41 if (context->base.stream_uploader)
42 u_upload_destroy(context->base.stream_uploader);
44 context->gpu->destroy(context->gpu);
45 free(context);
64 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_draw_vbo
84 context->gpu->draw_vbo(context->gpu, pinfo, drawid_offset, pindirect, draws, num_draws);
93 struct tegra_context *context local in function:tegra_render_condition
102 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_query
112 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_batch_query
121 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_destroy_query
129 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_begin_query
137 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_end_query
148 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_get_query_result
163 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_get_query_result_resource
173 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_active_query_state
182 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_blend_state
190 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_blend_state
198 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_blend_state
207 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_sampler_state
217 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_sampler_states
226 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_sampler_state
235 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_rasterizer_state
243 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_rasterizer_state
251 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_rasterizer_state
260 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_depth_stencil_alpha_state
268 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_depth_stencil_alpha_state
276 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_depth_stencil_alpha_state
285 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_fs_state
293 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_fs_state
301 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_fs_state
310 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_vs_state
318 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_vs_state
326 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_vs_state
335 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_gs_state
343 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_gs_state
351 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_gs_state
360 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_tcs_state
368 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_tcs_state
376 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_tcs_state
385 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_tes_state
393 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_tes_state
401 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_tes_state
411 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_vertex_elements_state
421 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_vertex_elements_state
429 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_vertex_elements_state
438 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_blend_color
447 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_stencil_ref
455 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_sample_mask
463 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_min_samples
472 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_clip_state
482 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_constant_buffer
498 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_framebuffer_state
523 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_polygon_stipple
533 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_scissor_states
544 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_window_rectangles
555 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_viewport_states
569 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_sampler_views
597 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_tess_state
607 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_debug_callback
618 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_shader_buffers
630 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_shader_images
642 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_vertex_buffers
669 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_stream_output_target
681 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_stream_output_target_destroy
692 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_stream_output_targets
709 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_resource_copy_region
721 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_blit
739 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_clear
754 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_clear_render_target
773 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_clear_depth_stencil
789 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_clear_texture
803 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_clear_buffer
813 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_flush
823 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_fence_fd
833 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_fence_server_sync
844 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_sampler_view
887 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_surface
931 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_transfer_map
962 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_transfer_flush_region
972 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_transfer_unmap
989 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_buffer_subdata
1006 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_texture_subdata
1015 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_texture_barrier
1023 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_memory_barrier
1035 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_video_codec
1044 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_video_buffer
1053 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_compute_state
1061 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_bind_compute_state
1069 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_compute_state
1079 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_compute_resources
1091 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_global_binding
1103 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_launch_grid
1114 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_get_sample_position
1122 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_get_timestamp
1132 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_flush_resource
1142 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_invalidate_resource
1150 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_get_device_reset_status
1159 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_set_device_reset_callback
1168 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_dump_debug_state
1177 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_emit_string_marker
1192 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_generate_mipmap
1204 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_texture_handle
1212 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_texture_handle
1220 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_make_texture_handle_resident
1228 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_create_image_handle
1236 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_delete_image_handle
1245 struct tegra_context *context = to_tegra_context(pcontext); local in function:tegra_make_image_handle_resident
1256 struct tegra_context *context; local in function:tegra_screen_context_create
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format.c40 LLVMArrayType(LLVMInt32TypeInContext(gallivm->context),
43 LLVMArrayType(LLVMInt64TypeInContext(gallivm->context),
47 LLVMInt64TypeInContext(gallivm->context);
49 LLVMInt64TypeInContext(gallivm->context);
52 s = LLVMStructTypeInContext(gallivm->context, elem_types,
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format.c40 LLVMArrayType(LLVMInt32TypeInContext(gallivm->context),
43 LLVMArrayType(LLVMInt64TypeInContext(gallivm->context),
47 LLVMInt64TypeInContext(gallivm->context);
49 LLVMInt64TypeInContext(gallivm->context);
52 s = LLVMStructTypeInContext(gallivm->context, elem_types,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xvmc/tests/
H A Dtest_context.c45 XvMCContext context = {0}; local in function:main
74 /* Test NULL context */
79 assert(XvMCCreateContext(display, -1, surface_type_id, width, height, XVMC_DIRECT, &context) == XvBadPort);
81 assert(XvMCCreateContext(display, port_num, -1, width, height, XVMC_DIRECT, &context) == BadMatch);
83 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, -1, &context) == BadValue);
85 assert(XvMCCreateContext(display, port_num, surface_type_id, 16384, height, XVMC_DIRECT, &context) == BadValue);
87 assert(XvMCCreateContext(display, port_num, surface_type_id, width, 16384, XVMC_DIRECT, &context) == BadValue);
89 assert(XvMCCreateContext(display, port_num, surface_type_id, 16384, 16384, XVMC_DIRECT, &context) == BadValue);
91 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success);
92 /* Test context i
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xvmc/tests/
H A Dtest_context.c45 XvMCContext context = {0}; local in function:main
74 /* Test NULL context */
79 assert(XvMCCreateContext(display, -1, surface_type_id, width, height, XVMC_DIRECT, &context) == XvBadPort);
81 assert(XvMCCreateContext(display, port_num, -1, width, height, XVMC_DIRECT, &context) == BadMatch);
83 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, -1, &context) == BadValue);
85 assert(XvMCCreateContext(display, port_num, surface_type_id, 16384, height, XVMC_DIRECT, &context) == BadValue);
87 assert(XvMCCreateContext(display, port_num, surface_type_id, width, 16384, XVMC_DIRECT, &context) == BadValue);
89 assert(XvMCCreateContext(display, port_num, surface_type_id, 16384, 16384, XVMC_DIRECT, &context) == BadValue);
91 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success);
92 /* Test context i
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_resource.c44 r300->context.buffer_map = r300_buffer_transfer_map;
45 r300->context.texture_map = r300_texture_transfer_map;
46 r300->context.transfer_flush_region = u_default_transfer_flush_region;
47 r300->context.buffer_unmap = r300_buffer_transfer_unmap;
48 r300->context.texture_unmap = r300_texture_transfer_unmap;
49 r300->context.buffer_subdata = u_default_buffer_subdata;
50 r300->context.texture_subdata = u_default_texture_subdata;
51 r300->context.create_surface = r300_create_surface;
52 r300->context.surface_destroy = r300_surface_destroy;
/xsrc/external/mit/brotli/dist/c/tools/
H A Dbrotli.c679 static BROTLI_BOOL NextFile(Context* context) { argument
684 context->iterator++;
686 context->input_file_length = -1;
689 if (context->input_count == 0) {
690 if (context->iterator > 1) return BROTLI_FALSE;
691 context->current_input_path = NULL;
693 context->current_output_path = context->output_path;
698 while (context->iterator == context
752 OpenFiles(Context * context) argument
761 CloseFiles(Context * context,BROTLI_BOOL success) argument
802 InitializeBuffers(Context * context) argument
813 HasMoreInput(Context * context) argument
817 ProvideInput(Context * context) argument
831 WriteOutput(Context * context) argument
846 ProvideOutput(Context * context) argument
853 FlushOutput(Context * context) argument
871 PrintFileProcessingProgress(Context * context) argument
878 DecompressFile(Context * context,BrotliDecoderState * s) argument
917 DecompressFiles(Context * context) argument
943 CompressFile(Context * context,BrotliEncoderState * s) argument
978 CompressFiles(Context * context) argument
1031 Context context; local in function:main
[all...]

Completed in 18 milliseconds

1234567891011>>