/third_party/ffmpeg/tests/checkasm/ |
H A D | h264pred.c | 143 int codec, int chroma_format, int bit_depth) in check_pred4x4() 145 if (chroma_format == 1) { in check_pred4x4() 164 int codec, int chroma_format, int bit_depth) in check_pred8x8() 170 if (check_pred_func(h->pred8x8[pred_mode], (chroma_format == 2) ? "8x16" : "8x8", in check_pred8x8() 183 int codec, int chroma_format, int bit_depth) in check_pred16x16() 185 if (chroma_format == 1) { in check_pred16x16() 203 int codec, int chroma_format, int bit_depth) in check_pred8x8l() 205 if (chroma_format == 1 && codec_ids[codec] == AV_CODEC_ID_H264) { in check_pred8x8l() 248 int test, codec, chroma_format, bit_depth; in checkasm_check_h264pred() local 254 for (chroma_format in checkasm_check_h264pred() 142 check_pred4x4(H264PredContext *h, uint8_t *buf0, uint8_t *buf1, int codec, int chroma_format, int bit_depth) check_pred4x4() argument 163 check_pred8x8(H264PredContext *h, uint8_t *buf0, uint8_t *buf1, int codec, int chroma_format, int bit_depth) check_pred8x8() argument 182 check_pred16x16(H264PredContext *h, uint8_t *buf0, uint8_t *buf1, int codec, int chroma_format, int bit_depth) check_pred16x16() argument 202 check_pred8x8l(H264PredContext *h, uint8_t *buf0, uint8_t *buf1, int codec, int chroma_format, int bit_depth) check_pred8x8l() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_video_buffer.h | 53 enum pipe_video_chroma_format chroma_format, in vl_video_buffer_adjust_size() 60 if (chroma_format == PIPE_VIDEO_CHROMA_FORMAT_420) { in vl_video_buffer_adjust_size() 63 } else if (chroma_format == PIPE_VIDEO_CHROMA_FORMAT_422) { in vl_video_buffer_adjust_size() 123 enum pipe_video_chroma_format chroma_format); 140 enum pipe_video_chroma_format chroma_format); 52 vl_video_buffer_adjust_size(unsigned *width, unsigned *height, unsigned plane, enum pipe_video_chroma_format chroma_format, bool interlaced) vl_video_buffer_adjust_size() argument
|
H A D | vl_video_buffer.c | 175 enum pipe_video_chroma_format chroma_format) in vl_video_buffer_template() 194 chroma_format, false); in vl_video_buffer_template() 395 enum pipe_video_chroma_format chroma_format) in vl_video_buffer_create_ex() 406 usage, 0, chroma_format); in vl_video_buffer_create_ex() 417 usage, 1, chroma_format); in vl_video_buffer_create_ex() 426 usage, 2, chroma_format); in vl_video_buffer_create_ex() 170 vl_video_buffer_template(struct pipe_resource *templ, const struct pipe_video_buffer *tmpl, enum pipe_format resource_format, unsigned depth, unsigned array_size, unsigned usage, unsigned plane, enum pipe_video_chroma_format chroma_format) vl_video_buffer_template() argument 391 vl_video_buffer_create_ex(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl, const enum pipe_format resource_formats[VL_NUM_COMPONENTS], unsigned depth, unsigned array_size, unsigned usage, enum pipe_video_chroma_format chroma_format) vl_video_buffer_create_ex() argument
|
H A D | vl_stubs.c | 89 enum pipe_video_chroma_format chroma_format) in vl_video_buffer_template() 84 vl_video_buffer_template(struct pipe_resource *templ, const struct pipe_video_buffer *tmpl, enum pipe_format resource_format, unsigned depth, unsigned array_size, unsigned usage, unsigned plane, enum pipe_video_chroma_format chroma_format) vl_video_buffer_template() argument
|
/third_party/mesa3d/src/gallium/frontends/xvmc/ |
H A D | context.c | 47 bool *found_port, int *screen, int *chroma_format, in Validate() 62 assert(chroma_format); in Validate() 97 *chroma_format = surface_info[l].chroma_format; in Validate() 112 i, port, surface_type_id, max_width, max_height, *chroma_format, in Validate() 186 int chroma_format = 0; in XvMCCreateContext() local 206 &found_port, &scrn, &chroma_format, &mc_type, &surface_flags, in XvMCCreateContext() 214 if (chroma_format != XVMC_CHROMA_FORMAT_420) { in XvMCCreateContext() 252 templat.chroma_format = FormatToPipe(chroma_format); in XvMCCreateContext() 45 Validate(Display *dpy, XvPortID port, int surface_type_id, unsigned int width, unsigned int height, int flags, bool *found_port, int *screen, int *chroma_format, int *mc_type, int *surface_flags, unsigned short *subpic_max_w, unsigned short *subpic_max_h) Validate() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dirac.c | 40 uint8_t chroma_format; ///< 0: 444 1: 422 2: 420 member 162 dsh->chroma_format = get_interleaved_ue_golomb(gb); in parse_source_parameters() 163 if (dsh->chroma_format > 2U) { in parse_source_parameters() 166 dsh->chroma_format); in parse_source_parameters() 270 dsh->pix_fmt = dirac_pix_fmt[dsh->chroma_format][dsh->pixel_range_index-2]; in parse_source_parameters() 362 dsh->chroma_format = dirac_source_parameters_defaults[video_format].chroma_format; in av_dirac_parse_sequence_header()
|
H A D | mpegvideo_xvmc.c | 67 const int mb_block_count = 4 + (1 << s->chroma_format); in ff_xvmc_pack_pblocks() 91 const int mb_block_count = 4 + (1 << s->chroma_format); in ff_xvmc_field_start() 289 if (s->chroma_format >= 2) { in ff_xvmc_decode_mb() 290 blocks_per_mb = 4 + (1 << s->chroma_format); in ff_xvmc_decode_mb()
|
H A D | mpegvideo_parser.c | 118 int chroma_format; in mpegvideo_extract_headers() local 165 chroma_format = (buf[1] >> 1) & 3; in mpegvideo_extract_headers() 166 switch (chroma_format) { in mpegvideo_extract_headers()
|
H A D | mjpegenc.c | 276 switch (s->chroma_format) { in alloc_huffman() 527 if (s->chroma_format == CHROMA_444) { in ff_mjpeg_encode_mb() 547 if (s->chroma_format == CHROMA_420) { in ff_mjpeg_encode_mb() 556 if (s->chroma_format == CHROMA_444) { in ff_mjpeg_encode_mb() 576 if (s->chroma_format == CHROMA_420) { in ff_mjpeg_encode_mb()
|
H A D | cuviddec.c | 98 cudaVideoChromaFormat chroma_format; member 169 chroma_444 = format->chroma_format == cudaVideoChromaFormat_444; in cuvid_handle_video_sequence() 259 && ctx->chroma_format == format->chroma_format in cuvid_handle_video_sequence() 286 ctx->chroma_format = format->chroma_format; in cuvid_handle_video_sequence() 289 cuinfo.ChromaFormat = format->chroma_format; in cuvid_handle_video_sequence()
|
H A D | dirac.h | 84 uint8_t chroma_format; ///< 0: 444 1: 422 2: 420 member
|
H A D | speedhqenc.c | 246 if (s->chroma_format == CHROMA_444) { in ff_speedhq_encode_mb() 255 } else if (s->chroma_format == CHROMA_422) { in ff_speedhq_encode_mb()
|
H A D | vaapi_encode_h265.c | 261 int chroma_format, bit_depth; in vaapi_encode_h265_init_sequence_params() local 272 chroma_format = 0; in vaapi_encode_h265_init_sequence_params() 275 chroma_format = 1; in vaapi_encode_h265_init_sequence_params() 277 chroma_format = 2; in vaapi_encode_h265_init_sequence_params() 279 chroma_format = 3; in vaapi_encode_h265_init_sequence_params() 328 ptl->general_max_422chroma_constraint_flag = chroma_format <= 2; in vaapi_encode_h265_init_sequence_params() 329 ptl->general_max_420chroma_constraint_flag = chroma_format <= 1; in vaapi_encode_h265_init_sequence_params() 330 ptl->general_max_monochrome_constraint_flag = chroma_format == 0; in vaapi_encode_h265_init_sequence_params() 398 sps->chroma_format_idc = chroma_format; in vaapi_encode_h265_init_sequence_params()
|
H A D | vaapi_encode_mpeg2.c | 277 se->chroma_format = 1; in vaapi_encode_mpeg2_init_sequence_params() 370 .chroma_format = se->chroma_format, in vaapi_encode_mpeg2_init_sequence_params()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_uvd.c | 69 enum pipe_video_chroma_format chroma_format = in r600_video_buffer_create() local 83 PIPE_USAGE_DEFAULT, 0, chroma_format); in r600_video_buffer_create() 93 PIPE_USAGE_DEFAULT, 1, chroma_format); in r600_video_buffer_create() 104 PIPE_USAGE_DEFAULT, 2, chroma_format); in r600_video_buffer_create()
|
H A D | radeon_uvd.h | 139 uint8_t chroma_format; member 189 uint8_t chroma_format; member 260 uint32_t chroma_format; member 274 uint8_t chroma_format; member
|
H A D | radeon_uvd.c | 410 switch (dec->base.chroma_format) { in get_h264_msg() 415 result.chroma_format = 0; in get_h264_msg() 418 result.chroma_format = 1; in get_h264_msg() 421 result.chroma_format = 2; in get_h264_msg() 424 result.chroma_format = 3; in get_h264_msg() 527 result.chroma_format = 1; in get_vc1_msg() 581 result.chroma_format = 0x1; in get_mpeg2_msg()
|
/third_party/mesa3d/src/gallium/frontends/xvmc/tests/ |
H A D | testlib.c | 48 unsigned int chroma_format, in GetPort() 81 surface_info[j].chroma_format == chroma_format && in GetPort() 43 GetPort( Display *display, unsigned int width, unsigned int height, unsigned int chroma_format, const unsigned int *mc_types, unsigned int num_mc_types, XvPortID *port_id, int *surface_type_id, unsigned int *is_overlay, unsigned int *intra_unsigned ) GetPort() argument
|
H A D | testlib.h | 44 * chroma_format: IN Chroma format that the port must display 56 unsigned int chroma_format,
|
/third_party/mesa3d/src/amd/common/ |
H A D | ac_uvd_dec.h | 138 uint8_t chroma_format; member 188 uint8_t chroma_format; member 259 uint32_t chroma_format; member 273 uint8_t chroma_format; member
|
H A D | ac_vcn_dec.h | 583 unsigned char chroma_format; member 636 unsigned int chroma_format; member 656 unsigned char chroma_format; member 767 unsigned char chroma_format; member 854 unsigned char chroma_format; member 959 unsigned char chroma_format; member
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
H A D | mixer.c | 125 vmixer->chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420; in vlVdpVideoMixerCreate() 136 vmixer->chroma_format = ChromaToPipe(*(VdpChromaType*)parameter_values[i]); in vlVdpVideoMixerCreate() 275 vmixer->chroma_format != pipe_format_to_chroma_format(video_buffer->buffer_format)) in vlVdpVideoMixerRender() 477 if (vmixer->deint.enabled && vmixer->chroma_format == PIPE_VIDEO_CHROMA_FORMAT_420) { in vlVdpVideoMixerUpdateDeinterlaceFilter() 928 *(VdpChromaType*)parameter_values[i] = PipeToChroma(vmixer->chroma_format); in vlVdpVideoMixerGetParameterValues()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
H A D | p_video_codec.h | 53 enum pipe_video_chroma_format chroma_format; member
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_nir_lower_ycbcr_textures.c | 88 enum pipe_video_chroma_format chroma_format = in implicit_downsampled_coords() local 90 const unsigned divisors[2] = {chroma_format <= PIPE_VIDEO_CHROMA_FORMAT_422 ? 2 : 1, in implicit_downsampled_coords() 91 chroma_format <= PIPE_VIDEO_CHROMA_FORMAT_420 ? 2 : 1}; in implicit_downsampled_coords()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeon_uvd.c | 526 switch (dec->base.chroma_format) { in get_h264_msg() 531 result.chroma_format = 0; in get_h264_msg() 534 result.chroma_format = 1; in get_h264_msg() 537 result.chroma_format = 2; in get_h264_msg() 540 result.chroma_format = 3; in get_h264_msg() 609 result.chroma_format = pic->pps->sps->chroma_format_idc; in get_h265_msg() 829 result.chroma_format = 1; in get_vc1_msg() 888 result.chroma_format = 0x1; in get_mpeg2_msg()
|